Adding upstream version 1.65.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
5189956325
commit
32b8eb3fd7
4153 changed files with 2487292 additions and 0 deletions
30
testdata/nsz.repo.hu/libc-test/src/api/sys_time.c
vendored
Normal file
30
testdata/nsz.repo.hu/libc-test/src/api/sys_time.c
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
#include <sys/time.h>
|
||||
#define T(t) (t*)0;
|
||||
#define F(t,n) {t *y = &x.n;}
|
||||
#define C(n) switch(n){case n:;}
|
||||
static void f()
|
||||
{
|
||||
T(time_t)
|
||||
T(suseconds_t)
|
||||
T(fd_set)
|
||||
{
|
||||
struct timeval x;
|
||||
F(time_t, tv_sec)
|
||||
F(suseconds_t,tv_usec)
|
||||
}
|
||||
C(FD_SETSIZE)
|
||||
#ifndef FD_CLR
|
||||
{void(*p)(int,fd_set*) = FD_CLR;}
|
||||
#endif
|
||||
#ifndef FD_ISSET
|
||||
{int(*p)(int,fd_set*) = FD_ISSET;}
|
||||
#endif
|
||||
#ifndef FD_SET
|
||||
{void(*p)(int,fd_set*) = FD_SET;}
|
||||
#endif
|
||||
#ifndef FD_ZERO
|
||||
{void(*p)(fd_set*) = FD_ZERO;}
|
||||
#endif
|
||||
{int(*p)(int,fd_set*restrict,fd_set*restrict,fd_set*restrict,struct timeval*restrict) = select;}
|
||||
{int(*p)(const char*,const struct timeval[]) = utimes;}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue