about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 18:37:42 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 18:37:42 -0800
commit1bdfadb4cc2a99dd2cb85b38147f1ddadf702874 (patch)
treec3ca7a00ad36bc1b208d14cebccb8ed948651a63 /conform
parent21487cc929b7f3621327e619237bc473222ddb00 (diff)
downloadglibc-1bdfadb4cc2a99dd2cb85b38147f1ddadf702874.tar.gz
glibc-1bdfadb4cc2a99dd2cb85b38147f1ddadf702874.tar.xz
glibc-1bdfadb4cc2a99dd2cb85b38147f1ddadf702874.zip
Fix up unistd.h tests.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/unistd.h-data12
1 files changed, 12 insertions, 0 deletions
diff --git a/conform/data/unistd.h-data b/conform/data/unistd.h-data
index 24fdfa752a..72fbdd62b9 100644
--- a/conform/data/unistd.h-data
+++ b/conform/data/unistd.h-data
@@ -378,7 +378,9 @@ function int fchown (int, uid_t, gid_t)
 # if defined XOPEN2K8 || defined POSIX2008
 function int fchownat (int, const char*, uid_t, gid_t, int)
 # endif
+#ifndef POSIX
 function int fchdir (int)
+#endif
 function int fdatasync (int)
 # if defined XOPEN2K8 || defined POSIX2008
 function int fexecve (int, char *const[], char *const[])
@@ -412,13 +414,17 @@ function pid_t getpgid (pid_t)
 function pid_t getpgrp (void)
 function pid_t getpid (void)
 function pid_t getppid (void)
+#ifndef POSIX
 function pid_t getsid (pid_t)
+#endif
 function uid_t getuid (void)
 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K
 function {char*} getwd (char*)
 #endif
 function int isatty (int)
+#ifndef POSIX
 function int lchown (const char*, uid_t, gid_t)
+#endif
 function int link (const char*, const char*)
 # if defined XOPEN2K8 || defined POSIX2008
 function int linkat (int, const char*, int, const char*, int)
@@ -433,11 +439,15 @@ function int nice (int)
 function {long int} pathconf (const char*, int)
 function int pause (void)
 function int pipe (int[2])
+#ifndef POSIX
 function ssize_t pread (int, void*, size_t, off_t)
+#endif
 #if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 function int pthread_atfork (void(*)(void), void(*)(void), void(*)(void))
 #endif
+#ifndef POSIX
 function ssize_t pwrite (int, const void*, size_t, off_t)
+#endif
 function ssize_t read (int, void*, size_t)
 function ssize_t readlink (const char*, char*, size_t)
 # if defined XOPEN2K8 || defined POSIX2008
@@ -472,7 +482,9 @@ function void sync (void)
 function {long int} sysconf (int)
 function pid_t tcgetpgrp (int)
 function int tcsetpgrp (int, pid_t)
+#ifndef POSIX
 function int truncate (const char*, off_t)
+#endif
 function {char*} ttyname (int)
 function int ttyname_r (int, char*, size_t)
 #if defined XPG3 || defined XPG4 || defined UNIX98 || defined XOPEN2K