mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-03 04:01:43 +08:00
8be918b7bb
* conform/data/sys/time.h-data: Allow sys/select.h. * conform/data/sys/un.h-data: Fix typo. * time/sys/time.h: Don't include all of <time.h>, just struct timeval. * sysdeps/posix/clock_getres.c: Include <time.h> instead of <sys/time.h>. * sysdeps/unix/clock_nanosleep.c: Likewise. * sysdeps/unix/i386/clock_getcpuclockid.c: Likewise. * sysdeps/unix/i386/i586/clock_getres.c: Likewise. * sysdeps/unix/clock_gettime.c: Also include <time.h>. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/generic/pselect.c: Include <stddef.h> for NULL. * login/getutent.c: Likewise. * login/getutid.c: Likewise. * login/getutline.c: Likewise. * socket/sys/un.h: Define SUN_LEN only if __USE_MISC.
44 lines
881 B
Plaintext
44 lines
881 B
Plaintext
#ifndef ISO
|
|
type {struct timeval}
|
|
|
|
element {struct timeval} time_t tv_sec
|
|
element {struct timeval} suseconds_t tv_usec
|
|
|
|
type {struct itimerval}
|
|
|
|
element {struct itimerval} {struct timeval} it_interval
|
|
element {struct itimerval} {struct timeval} it_value
|
|
|
|
type time_t
|
|
type suseconds_t
|
|
|
|
type fd_set
|
|
element fd_set long fds_bits []
|
|
|
|
constant ITIMER_REAL
|
|
constant ITIMER_VIRTUAL
|
|
constant ITIMER_PROF
|
|
|
|
macro FD_CLR
|
|
macro FD_ISSET
|
|
macro FD_SET
|
|
macro FD_ZERO
|
|
|
|
constant FD_SETSIZE
|
|
|
|
function int getitimer (int, struct itimerval*)
|
|
function int setitimer (int, const struct itimerval*, struct itimerval*)
|
|
function int gettimeofday (struct timeval*, void*)
|
|
function int select (int, fd_set*, fd_set*, fd_set*, struct timeval*)
|
|
function int utimes (const char*, const struct timeval [2])
|
|
|
|
allow fds_*
|
|
allow it_*
|
|
allow tv_*
|
|
allow FD_*
|
|
allow ITIMER_*
|
|
allow *_t
|
|
|
|
allow-header sys/select.h
|
|
#endif
|