mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-04 05:48:12 +08:00
Update.
* conform/conformtest.pl: Run Unix tests for XPG6. Implement handling of known namespace violations. Improve printing of results. * posix/unistd.h (usleep): Correct return type. * sysdeps/unix/sysv/linux/usleep.c: Correct return type. * sysdeps/unix/bsd/usleep.c: Correct return type. * sysdeps/mach/usleep.c: Correct return type. * sysdeps/generic/usleep.c: Correct return type. * posix/unistd.h (sync): Correct return type. * sysdeps/generic/sync.c: Likewise. * sysdeps/mach/hurd/sync.c: Likewise. * sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
This commit is contained in:
@@ -5,7 +5,7 @@ constant _XOPEN_XCU_VERSION
|
||||
|
||||
constant _POSIX2_C_BIND
|
||||
constant _POSIX2_CHAR_TERM
|
||||
constant _POSIX2_LOCALDEF
|
||||
constant _POSIX2_LOCALEDEF
|
||||
constant _POSIX2_UPE
|
||||
constant _POSIX2_VERSION
|
||||
|
||||
@@ -232,8 +232,8 @@ constant _SC_XOPEN_REALTIME_THREADS
|
||||
constant _SC_STREAMS
|
||||
constant _SC_XBS5_ILP32_OFF32
|
||||
constant _SC_XBS5_ILP32_OFFBIG
|
||||
constant _SC_XBS5_ILP64_OFF64
|
||||
constant _SC_XBS5_ILPIBIG_OFFBIG
|
||||
constant _SC_XBS5_LP64_OFF64
|
||||
constant _SC_XBS5_LPBIG_OFFBIG
|
||||
|
||||
constant F_LOCK
|
||||
constant F_ULOCK
|
||||
@@ -283,7 +283,8 @@ function int close (int)
|
||||
function size_t confstr (int, char*, size_t)
|
||||
function {char*} crypt (const char*, const char*)
|
||||
function {char*} ctermid (char*)
|
||||
function {char*} cuserid (char*)
|
||||
// cuserid got removed in XPG6
|
||||
allow cuserid
|
||||
function int dup (int)
|
||||
function int dup2 (int, int)
|
||||
function void encrypt (char[64], int)
|
||||
@@ -291,7 +292,7 @@ function int execl (const char*, const char*, ...)
|
||||
function int execle (const char*, const char*, ...)
|
||||
function int execlp (const char*, const char*, ...)
|
||||
function int execv (const char*, char *const[])
|
||||
function int execve (const char*, char *const[])
|
||||
function int execve (const char*, char *const[], char *const[])
|
||||
function int execvp (const char*, char *const[])
|
||||
function void _exit (int)
|
||||
function int fchown (int, uid_t, gid_t)
|
||||
@@ -317,7 +318,7 @@ function pid_t getpgid (pid_t)
|
||||
function pid_t getpgrp (void)
|
||||
function pid_t getpid (void)
|
||||
function pid_t getppid (void)
|
||||
function pid_t getsid (void)
|
||||
function pid_t getsid (pid_t)
|
||||
function uid_t getuid (void)
|
||||
function {char*} getwd (char*)
|
||||
function int isatty (int)
|
||||
@@ -346,7 +347,7 @@ function int setreuid (uid_t, uid_t)
|
||||
function pid_t setsid (void)
|
||||
function int setuid (uid_t)
|
||||
function {unsigned int} sleep (unsigned int)
|
||||
function void swab (const char*, void*, ssize_t)
|
||||
function void swab (const void*, void*, ssize_t)
|
||||
function int symlink (const char*, const char*)
|
||||
function void sync (void)
|
||||
function {long int} sysconf (int)
|
||||
|
||||
Reference in New Issue
Block a user