about summary refs log tree commit diff
path: root/conform/data
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-25 09:33:04 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-25 09:33:04 +0000
commit7287c36dd8896ba1ddf72b0e5dc4b7baebee1b60 (patch)
tree9f25c731907fd0e482968d4ed9f93b9283c2ae4f /conform/data
parent49833554e36f76cb29991d1ca8bca5ae3669ce20 (diff)
downloadglibc-7287c36dd8896ba1ddf72b0e5dc4b7baebee1b60.tar.gz
glibc-7287c36dd8896ba1ddf72b0e5dc4b7baebee1b60.tar.xz
glibc-7287c36dd8896ba1ddf72b0e5dc4b7baebee1b60.zip
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.
Diffstat (limited to 'conform/data')
-rw-r--r--conform/data/unistd.h-data15
1 files changed, 8 insertions, 7 deletions
diff --git a/conform/data/unistd.h-data b/conform/data/unistd.h-data
index 5bec906ebd..70f598b3e4 100644
--- a/conform/data/unistd.h-data
+++ b/conform/data/unistd.h-data
@@ -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)