2000-02-24 01:37:20 +08:00
|
|
|
macro EXIT_FAILURE
|
2000-05-03 03:09:48 +08:00
|
|
|
constant EXIT_SUCCESS 0
|
2000-02-24 01:37:20 +08:00
|
|
|
macro NULL
|
2000-05-03 03:09:48 +08:00
|
|
|
constant RAND_MAX >= 32767
|
2000-02-24 01:37:20 +08:00
|
|
|
macro MB_CUR_MAX
|
|
|
|
|
|
|
|
type div_t
|
2001-01-27 15:07:07 +08:00
|
|
|
element div_t int quot
|
|
|
|
element div_t int rem
|
2000-02-24 01:37:20 +08:00
|
|
|
type ldiv_t
|
2001-01-27 15:07:07 +08:00
|
|
|
element ldiv_t long quot
|
|
|
|
element ldiv_t long rem
|
2010-01-10 02:56:41 +08:00
|
|
|
#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
|
2001-01-27 15:07:07 +08:00
|
|
|
type lldiv_t
|
|
|
|
element lldiv_t {long long} quot
|
|
|
|
element lldiv_t {long long} rem
|
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
type size_t
|
|
|
|
type wchar_t
|
|
|
|
|
|
|
|
constant WNOHANG
|
|
|
|
constant WUNTRACED
|
|
|
|
|
|
|
|
macro WEXITSTATUS
|
|
|
|
macro WIFEXITED
|
|
|
|
macro WIFSIGNALED
|
|
|
|
macro WIFSTOPPED
|
|
|
|
macro WSTOPSIG
|
|
|
|
macro WTERMSIG
|
|
|
|
|
2001-01-29 06:59:44 +08:00
|
|
|
function void _Exit (int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function long a64l (const char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function void abort (void)
|
|
|
|
function int abs (int)
|
|
|
|
function int atexit (void(*)(void))
|
|
|
|
function double atof (const char*)
|
|
|
|
function int atoi (const char*)
|
|
|
|
function {long int} atol (const char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
|
2001-01-27 15:07:07 +08:00
|
|
|
function {long long} atoll (const char*)
|
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function {void*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
|
|
|
|
function {void*} calloc (size_t, size_t)
|
|
|
|
function div_t div (int, int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function double drand48 (void)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
|
|
|
#if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} ecvt (double, int, int*, int*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function double erand48 (unsigned short int[3])
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function void exit (int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} fcvt (double, int, int*, int*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function void free (void*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} gcvt (double, int, char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} getenv (const char*)
|
|
|
|
function int getsubopt (char**, char *const*, char**)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function int grantpt (int)
|
|
|
|
function {char*} initstate (unsigned int, char*, size_t)
|
|
|
|
function {long int} jrand48 (unsigned short int[3])
|
|
|
|
function {char*} l64a (long)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function {long int} labs (long int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function void lcong48 (unsigned short int[7])
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function ldiv_t ldiv (long int, long int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
|
2001-01-27 15:07:07 +08:00
|
|
|
function {long long} llabs (long long)
|
|
|
|
function lldiv_t lldiv (long long, long long)
|
|
|
|
#endif
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {long int} lrand48 (void)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function {void*} malloc (size_t)
|
|
|
|
function int mblen (const char*, size_t)
|
|
|
|
function size_t mbstowcs (wchar_t*, const char*, size_t)
|
|
|
|
function int mbtowc (wchar_t*, const char*, size_t)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if defined XOPEN2K8 || defined POSIX2008
|
|
|
|
function {char*} mkdtemp (char*)
|
|
|
|
#endif
|
|
|
|
#if !defined XOPEN2K8 && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} mktemp (char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function int mkstemp (char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {long int} mrand48 (void)
|
|
|
|
function {long int} nrand48 (unsigned short int[3])
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
Update.
* conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
arpa/inet.h.
* conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
posix_fallocate, and posix_madvise.
* conform/data/netdb.h-data: New file.
* conform/data/pthread.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, pthread_barrier_destroy,
pthread_barrier_init, pthread_barrier_wait,
pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
pthread_barrierattr_init, pthread_barrierattr_setpshared,
pthread_condattr_getclock, pthread_condattr_setclock,
pthread_getcpuclockid, pthread_mutex_timedlock,
pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
* conform/data/sched.h-data: Add sched_ss_low_priority,
sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
SCHED_SPORADIC.
* conform/data/semaphore.h-data: Add sem_timedwait.
* conform/data/signal.h-data: Add SIGIO.
* conform/data/spawn.h-data: New file.
* conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
* conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
Fix typo in gmtime_r definition.
* conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
_POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
_POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
_POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
_POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
_XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
_POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
_POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
_SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
_SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
_SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
_SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
_SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
_SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
_SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
_SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
_SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
_SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
typo in off_t definition.
* conform/data/net/if.h-data: New file.
* conform/data/netinet/in.h-data: New file.
* conform/data/netinet/tcp.h-data: New file.
* conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
and posix_typed_mem_open.
* conform/data/sys/socket.h-data: New file.
* conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
* conform/data/sys/types.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, and pthread_spinlock_t.
* conform/data/sys/un.h-data: New file.
* conform/data/sys/utsname.h-data: New file.
* include/netdb.h (__gethostbyaddr_r): Fix types of first and second
parameter.
* inet/gethstbyad.c (gethostbyname): Likewise.
* inet/gethstbyad_t.c (gethostbyname_r): Likewise.
* inet/getipnodebyad.c (getipnodebyad): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
Likewise.
* nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
* nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyname): Likewise.
* resolv/netdb.h (struct hostent): Fix type of h_length member.
(gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
and second parameter.
2000-04-29 Andreas Jaeger <aj@suse.de>
* conform/data/arpa/inet.h-data: New file.
2000-04-30 12:17:35 +08:00
|
|
|
function int posix_memalign (void**, size_t, size_t)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if defined XOPEN2K || defined XOPEN2K8
|
2001-01-27 15:07:07 +08:00
|
|
|
function int posix_openpt (int)
|
|
|
|
#endif
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} ptsname (int)
|
|
|
|
function int putenv (char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
|
|
|
|
function int rand (void)
|
|
|
|
function int rand_r (unsigned int*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function long random (void)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function {void*} realloc (void*, size_t)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {char*} realpath (const char*, char*)
|
|
|
|
function {unsigned short int*} seed48 (unsigned short int[3])
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
Update.
* conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
arpa/inet.h.
* conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
posix_fallocate, and posix_madvise.
* conform/data/netdb.h-data: New file.
* conform/data/pthread.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, pthread_barrier_destroy,
pthread_barrier_init, pthread_barrier_wait,
pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
pthread_barrierattr_init, pthread_barrierattr_setpshared,
pthread_condattr_getclock, pthread_condattr_setclock,
pthread_getcpuclockid, pthread_mutex_timedlock,
pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
* conform/data/sched.h-data: Add sched_ss_low_priority,
sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
SCHED_SPORADIC.
* conform/data/semaphore.h-data: Add sem_timedwait.
* conform/data/signal.h-data: Add SIGIO.
* conform/data/spawn.h-data: New file.
* conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
* conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
Fix typo in gmtime_r definition.
* conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
_POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
_POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
_POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
_POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
_XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
_POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
_POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
_SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
_SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
_SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
_SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
_SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
_SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
_SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
_SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
_SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
_SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
typo in off_t definition.
* conform/data/net/if.h-data: New file.
* conform/data/netinet/in.h-data: New file.
* conform/data/netinet/tcp.h-data: New file.
* conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
and posix_typed_mem_open.
* conform/data/sys/socket.h-data: New file.
* conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
* conform/data/sys/types.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, and pthread_spinlock_t.
* conform/data/sys/un.h-data: New file.
* conform/data/sys/utsname.h-data: New file.
* include/netdb.h (__gethostbyaddr_r): Fix types of first and second
parameter.
* inet/gethstbyad.c (gethostbyname): Likewise.
* inet/gethstbyad_t.c (gethostbyname_r): Likewise.
* inet/getipnodebyad.c (getipnodebyad): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
Likewise.
* nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
* nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyname): Likewise.
* resolv/netdb.h (struct hostent): Fix type of h_length member.
(gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
and second parameter.
2000-04-29 Andreas Jaeger <aj@suse.de>
* conform/data/arpa/inet.h-data: New file.
2000-04-30 12:17:35 +08:00
|
|
|
function int setenv (const char*, const char*, int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function void setkey (const char*)
|
2008-01-16 18:11:18 +08:00
|
|
|
function {char*} setstate (char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function void srand (unsigned int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function void srand48 (long int)
|
|
|
|
function void srandom (unsigned)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function double strtod (const char*, char**)
|
|
|
|
function {long int} strtol (const char*, char**, int)
|
|
|
|
function {unsigned long int} strtoul (const char*, char**, int)
|
|
|
|
function int system (const char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function int ttyslot (void)
|
2001-01-27 15:07:07 +08:00
|
|
|
#endif
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function int unlockpt (int)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
Update.
* conform/conformtest.pl (@headers): Add sys/utsname.h, sys/un.h,
sys/socket.h, spawn.h, netinet/tcp.h, netinet/in.h, net/if.h, and
arpa/inet.h.
* conform/data/fcntl.h-data: Add F_GETOWN, F_SETOWN,
SEEK_SET, SEEK_CUR, SEEK_END, S_IFMT, S_IFBLK, S_IFCHR, S_IFIFO,
S_IFREG, S_IFDIR, S_IFLNK, S_IFSOCK, S_IRWXU, S_IRUSR S_IWUSR,
S_IXUSR, S_IRWXG, S_IRGRP, S_IWGRP, S_IXGRP, S_IRWXO, S_IROTH,
S_IWOTH, S_IXOTH, S_ISUID, S_ISGID, S_ISVTX, POSIX_FADV_NORMAL,
POSIX_FADV_SEQUENTIAL, POSIX_FADV_RANDOM, POSIX_FADV_WILLNEED,
POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE, posix_fadvise,
posix_fallocate, and posix_madvise.
* conform/data/netdb.h-data: New file.
* conform/data/pthread.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, pthread_barrier_destroy,
pthread_barrier_init, pthread_barrier_wait,
pthread_barrierattr_destroy, pthread_barrierattr_getpshared,
pthread_barrierattr_init, pthread_barrierattr_setpshared,
pthread_condattr_getclock, pthread_condattr_setclock,
pthread_getcpuclockid, pthread_mutex_timedlock,
pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlock,
pthread_sigmask, pthread_spin_destroy, pthread_spin_init,
pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock.
* conform/data/sched.h-data: Add sched_ss_low_priority,
sched_ss_repl_period, sched_ss_init_budget, sched_ss_max_repl, and
SCHED_SPORADIC.
* conform/data/semaphore.h-data: Add sem_timedwait.
* conform/data/signal.h-data: Add SIGIO.
* conform/data/spawn.h-data: New file.
* conform/data/stdlib.h-data: Add posix_memalign, setenv, and unsetenv.
* conform/data/time.h-data: Add CLOCK_PROCESS_CPUTIME_ID,
CLOCK_THREAD_CPUTIME_ID, clock_getcpuclockid, and clock_nanosleep.
Fix typo in gmtime_r definition.
* conform/data/unistd.h-data: Add _POSIX_ADVISORY_INFO,
_POSIX_ASYNCHRONOUS_IO, _POSIX_BARRIERS, _POSIX_MONOTONIC_CLOCK,
_POSIX_READER_WRITER_LOCKS, _POSIX_SHELL, _POSIX_SPAWN,
_POSIX_SPIN_LOCKS, _POSIX_SPORADIC_SERVER, _POSIX_THREAD_CPUTIME,
_POSIX_TYPED_MEMORY_OBJECTS, _POSIX_THREAD_SPORADIC_SERVER,
_XOPEN_STREAMS, _POSIX_TIMEOUTS, _POSIX2_PBS,
_POSIX2_PBS_ACCOUNTING, _POSIX2_PBS_CHECKPOINT,
_POSIX2_PBS_LOCATE, _POSIX2_PBS_MESSAGE, _POSIX2_PBS_TRACK,
_SC_2_PBS, _SC_2_PBS_ACCOUNTING, _SC_2_PBS_CHECKPOINT,
_SC_2_PBS_LOCATE, _SC_2_PBS_MESSAGE, _SC_2_PBS_TRACK,
_SC_BARRIERS, _SC_BASE, _SC_CLOCK_SELECTION, _SC_DEVICE_IO,
_SC_DEVICE_SPECIFIC, _SC_DEVICE_SPECIFIC_R, _SC_FD_MGMT, _SC_FIFO,
_SC_FILE_ATTRIBUTES, _SC_FILE_LOCKING, _SC_FILE_SYSTEM,
_SC_MEMORY_PROTECTION, _SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK,
_SC_MESSAGE_PASSING, _SC_MONOTONIC_CLOCK, _SC_MULTIPLE_PROCESS,
_SC_NETWORKING, _SC_PIPE, _SC_READER_WRITER_LOCKS, _SC_REGEXP,
_SC_SHELL, _SC_SIGNALS, _SC_SINGLE_PROCESS, _SC_SPIN_LOCKS,
_SC_TYPED_MEMORY_OBJECTS, _SC_USER_GROUPS, _SC_USER_GROUPS_R,
_SC_STREAMS, _PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE, _PC_REC_XFER_ALIGN, setegid, seteuid. Fix
typo in off_t definition.
* conform/data/net/if.h-data: New file.
* conform/data/netinet/in.h-data: New file.
* conform/data/netinet/tcp.h-data: New file.
* conform/data/sys/mman.h-data: Add POSIX_MADV_NORMAL,
POSIX_MADV_SEQUENTIAL, POSIX_MADV_RANDOM, POSIX_MADV_WILLNEED,
POSIX_MADV_DONTNEED, POSIX_TYPED_MEM_ALLOCATE,
POSIX_TYPED_MEM_ALLOCATE_CONTIG, POSIX_TYPED_MEM_MAP_ALLOCATABLE,
posix_typedmem_info, posix_mem_offset, posix_typed_mem_get_info,
and posix_typed_mem_open.
* conform/data/sys/socket.h-data: New file.
* conform/data/sys/stat.h-data: Add S_TYPEISTMO and isfdtype.
* conform/data/sys/types.h-data: Add pthread_barrier_t,
pthread_barrierattr_t, and pthread_spinlock_t.
* conform/data/sys/un.h-data: New file.
* conform/data/sys/utsname.h-data: New file.
* include/netdb.h (__gethostbyaddr_r): Fix types of first and second
parameter.
* inet/gethstbyad.c (gethostbyname): Likewise.
* inet/gethstbyad_t.c (gethostbyname_r): Likewise.
* inet/getipnodebyad.c (getipnodebyad): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyaddr_r): Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_gethostbyaddr_r):
Likewise.
* nscd/gethstbyad_r.c (gethostbyaddr_r): Likewise.
* nscd/nscd_gethst_r.c (__nscd_gethostbyaddr_r): Likewise.
* nscd/nscd_proto.h (__nscd_gethostbyaddr_r): Likewise.
* nss/nss_files/files-hosts.c (_nss_files_gethostbyaddr_r): Likewise.
* resolv/gethnamaddr.c (gethostbyname): Likewise.
* resolv/netdb.h (struct hostent): Fix type of h_length member.
(gethostbyaddr, getipnodebyaddr, gethostbyaddr_r): Fix types of first
and second parameter.
2000-04-29 Andreas Jaeger <aj@suse.de>
* conform/data/arpa/inet.h-data: New file.
2000-04-30 12:17:35 +08:00
|
|
|
function int unsetenv (const char*)
|
2010-01-10 02:56:41 +08:00
|
|
|
#if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX && !defined POSIX2008
|
2000-02-24 01:37:20 +08:00
|
|
|
function {void*} valloc (size_t)
|
2010-01-10 02:56:41 +08:00
|
|
|
#endif
|
2000-02-24 01:37:20 +08:00
|
|
|
function size_t wcstombs (char*, const wchar_t*, size_t)
|
|
|
|
function int wctomb (char*, wchar_t)
|
|
|
|
|
|
|
|
allow-header stddef.h
|
|
|
|
allow-header limits.h
|
|
|
|
allow-header math.h
|
|
|
|
allow-header sys/wait.h
|
Update.
2000-02-27 Ulrich Drepper <drepper@redhat.com>
* conform/conformtest.pl (@headers): Add wordexp.h, wctype.h, wchar.h,
varargs.h, utmpx.h, utime.h, unistd.h, ulimit.h, ucontext.h, time.h,
termios.h, tar.h, sys/wait.h, sys/uio.h, sys/types.h, sys/times.h,
sys/timeb.h, sys/time.h, sys/statvfs.h, sys/stat.h, sys/shm.h,
sys/sem.h, and sys/resource.h.
Implement handling of allow-header.
* conform/data/fcntl.h-data: Correct various bugs.
* conform/data/fnmatch.h-data: Likewise.
* conform/data/math.h-data: Likewise.
* conform/data/ndbm.h-data: Likewise.
* conform/data/nl_types.h-data: Likewise.
* conform/data/poll.h-data: Likewise.
* conform/data/pthread.h-data: Likewise.
* conform/data/semaphore.h-data: Likewise.
* conform/data/setjmp.h-data: Likewise.
* conform/data/signal.h-data: Likewise.
* conform/data/stdarg.h-data: Likewise.
* conform/data/stddef.h-data: Likewise.
* conform/data/stdio.h-data: Likewise.
* conform/data/stdlib.h-data: Likewise.
* conform/data/string.h-data: Likewise.
* conform/data/strings.h-data: Likewise.
* conform/data/stropts.h-data: Likewise.
* conform/data/syslog.h-data: Likewise.
* conform/data/sys/ipc.h-data: Likewise.
* conform/data/sys/mman.h-data: Likewise.
* conform/data/sys/msg.h-data: Likewise.
* conform/data/tar.h-data: New file.
* conform/data/termios.h-data: New file.
* conform/data/time.h-data: New file.
* conform/data/ucontext.h-data: New file.
* conform/data/ulimit.h-data: New file.
* conform/data/unistd.h-data: New file.
* conform/data/utime.h-data: New file.
* conform/data/utmpx.h-data: New file.
* conform/data/varargs.h-data: New file.
* conform/data/wchar.h-data: New file.
* conform/data/wctype.h-data: New file.
* conform/data/wordexp.h-data: New file.
* conform/data/sys/resource.h-data: New file.
* conform/data/sys/sem.h-data: New file.
* conform/data/sys/shm.h-data: New file.
* conform/data/sys/stat.h-data: New file.
* conform/data/sys/statvfs.h-data: New file.
* conform/data/sys/time.h-data: New file.
* conform/data/sys/timeb.h-data: New file.
* conform/data/sys/times.h-data: New file.
* conform/data/sys/types.h-data: New file.
* conform/data/sys/uio.h-data: New file.
* conform/data/sys/wait.h-data: New file.
* grp/grp.h (getgrent_r): Declare only if __USE_GNU.
* include/sys/time.h (__itimes): Fix type of second parameter.
* io/sys/stat.h (S_IFLNK): Define also if __USE_XOPEN.
(S_ISVTX): Likewise.
* io/sys/statvfs.h: Define fsblkcnt_t and fsfilcnt_t.
* locale/langindo.h: Make ERA_YEAR, INT_CURR_SYMBOL, CURRENCY_SYMBOL,
MON_DECIMAL_POINT, MON_THOUSANDS_SEP, MON_GROUPING, POSITIVE_SIGN,
NEGATIVE_SIGN, INT_FRAC_DIGITS, FRAC_DIGITS, P_CS_PRECEDES,
P_SEP_BY_SPACE, N_CS_PRECEDES, N_SEP_BY_SPACE, P_SIGN_POSN,
N_SIGN_POSN, DECIMAL_POINT, THOUSANDS_SEP, GROUPING, YESEXPR,
NOEXPR, YESSTR, and NOSTR only available if __USE_GNU.
* math/bits/mathcalls.h: Don't declare tgamma and scalbn if only
__USE_XOPEN.
* posix/unistd.h: Don't define ptrdiff_t.
(sbrk): Correct type of parameter.
* sysdeps/generic/sbrk.c: Likewise.
* sysdeps/mach/hurd/sbrk.c: Likewise.
* posix/sys/types.h: Allow id_t, suseconds_t, fsblkcnt_t, and
fsfilcnt_t being defined elsewhere.
* resource/sys/resource.h: Define id_t.
If __USE_XOPEN use int for type of first parameter if getrlimit,
getrlimit64, setrlimit, setrlimit64, getrusage, getpriority, and
setpriority.
* sysdeps/generic/getpriority.c: Fix type of second parameter.
* sysdeps/generic/setpriority.c: Likewise.
* sysdeps/mach/hurd/getpriority.c: Likewise.
* sysdeps/mach/hurd/setpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
* sysdeps/unix/sysv/irix4/setpriority.c: Likewise.
* sysdeps/unix/sysv/linux/getpriority.c: Likewise.
* sysdeps/generic/utimes.c: Fix parameter of third parameter.
* sysdeps/mach/hurd/utimes.c: Likewise.
* sysdeps/posix/utimes.c: Likewise.
* sysdeps/generic/bits/shm.h: Define shmatt_t type and use it in
struct shmid_ds definition.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysvipc/sys/shm.h: Define time_t.
* sysvipc/sys/sem.h (struct sembuf): Make sem_num field unsigned.
* sysdeps/gnu/bits/sem.h: Rename anonymous type struct sem_queue and
struct sem_undo to struct __sem_queue and struct __sem_undo resp.
* time/time.h: Define suseconds_t if not already done.
* sysdeps/unix/sysv/linux/bits/statvfs.h: Rename f_spare to __f_spare.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/statvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Likewise.
* intl/bindtextdom.c: Use rwlock to avoid surprising results in
multithreaded applications.
* intl/dcigettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/*.c: Update copyright.
* sysdeps/generic/bits/libc-lock.h: Define __libc_rwlock_* stubs.
2000-02-27 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Treat also "/usr/" as
prefix especially.
2000-02-27 Ulrich Drepper <drepper@redhat.com>
* po/de.po: Update from translation team.
* po/ko.po: Likewise.
2000-02-28 13:08:01 +08:00
|
|
|
|
|
|
|
allow str*
|
|
|
|
allow *_t
|