mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 06:10:10 +00:00
98cbe360d9
* misc/sys/cdefs.h: Define __restrict_arr. * include/sys/time.h: Add restrict where required by AGd4. * inet/arpa/inet.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statvfs.h: Likewise. * misc/search.h: Likewise. * misc/sys/select.h: Likewise. * posix/glob.h: Likewise. * posix/regex.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/ucontext.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. * time/sys/time.h: Likewise. * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam and posix_spawnattr_setscheparam. * libio/stdio.h: Make cuserid prototype again available for all XPG versions.
18 lines
665 B
C
18 lines
665 B
C
#ifndef _SYS_TIME_H
|
|
#include <time/sys/time.h>
|
|
|
|
/* Now document the internal interfaces. */
|
|
extern int __gettimeofday (struct timeval *__tv,
|
|
struct timezone *__tz);
|
|
extern int __settimeofday (__const struct timeval *__tv,
|
|
__const struct timezone *__tz);
|
|
extern int __adjtime (__const struct timeval *__delta,
|
|
struct timeval *__olddelta);
|
|
extern int __getitimer (enum __itimer_which __which,
|
|
struct itimerval *__value);
|
|
extern int __setitimer (enum __itimer_which __which,
|
|
__const struct itimerval *__restrict __new,
|
|
struct itimerval *__restrict __old);
|
|
extern int __utimes (__const char *__file, const struct timeval __tvp[2]);
|
|
#endif
|