about summary refs log tree commit diff
path: root/conform/data/unistd.h-data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-19 22:19:11 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-19 22:19:11 +0000
commit5ba924e3c7b54408050cbf8024279ce837b54e64 (patch)
treed6ff2f69cbcdad0464fedbb4a662640dbcf38109 /conform/data/unistd.h-data
parentee663277dc2e2eeab0ed18ebd9de63576661296f (diff)
downloadglibc-5ba924e3c7b54408050cbf8024279ce837b54e64.tar.gz
glibc-5ba924e3c7b54408050cbf8024279ce837b54e64.tar.xz
glibc-5ba924e3c7b54408050cbf8024279ce837b54e64.zip
conformtest: Fix miscellaneous expectations for XPG4.
Diffstat (limited to 'conform/data/unistd.h-data')
-rw-r--r--conform/data/unistd.h-data10
1 files changed, 7 insertions, 3 deletions
diff --git a/conform/data/unistd.h-data b/conform/data/unistd.h-data
index 18bea5ee21..f8cd02eb63 100644
--- a/conform/data/unistd.h-data
+++ b/conform/data/unistd.h-data
@@ -392,7 +392,9 @@ function int fchownat (int, const char*, uid_t, gid_t, int)
 #ifndef POSIX
 function int fchdir (int)
 #endif
+#if !defined XPG3 && !defined XPG4
 function int fdatasync (int)
+#endif
 # if defined XOPEN2K8 || defined POSIX2008
 function int fexecve (int, char *const[], char *const[])
 # endif
@@ -415,7 +417,9 @@ function long gethostid (void)
 function int gethostname (char*, size_t)
 #endif
 function {char*} getlogin (void)
+#if !defined XPG3 && !defined XPG4
 function int getlogin_r (char*, size_t)
+#endif
 function int getopt (int, char*const[], const char*)
 #if defined XPG3 || defined XPG4 || defined UNIX98
 function int getpagesize (void)
@@ -452,13 +456,13 @@ function int nice (int)
 function {long int} pathconf (const char*, int)
 function int pause (void)
 function int pipe (int[2])
-#ifndef POSIX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
 function ssize_t pread (int, void*, size_t, off_t)
 #endif
-#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
+#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008 && !defined XPG3 && !defined XPG4
 function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
 #endif
-#ifndef POSIX
+#if !defined POSIX && !defined XPG3 && !defined XPG4
 function ssize_t pwrite (int, const void*, size_t, off_t)
 #endif
 function ssize_t read (int, void*, size_t)