2001-01-25 Ulrich Drepper <drepper@redhat.com>
- * posix/unistd.h: Make functions removed in XPG6 not available if
+ * conform/data/unistd.h-data: Mark functions removed in XPG6
+ correctly.
+
+ * posix/unistd.h: Don't make functions removed in XPG6 available if
__USE_XOPEN2K.
* conform/conformtest.pl: Implement optional-constant.
+#ifndef ISO
optional-constant _POSIX_VERSION
optional-constant _POSIX2_C_VERSION
optional-constant _XOPEN_VERSION
function {unsigned int} alarm (unsigned int)
function int brk (void*)
function int chdir (const char*)
+#if defined XPG3 || defined XPG4 || defined UNIX98
function int chroot (const char*)
+#endif
function int chown (const char*, uid_t, gid_t)
function int close (int)
function size_t confstr (int, char*, size_t)
function {char*} crypt (const char*, const char*)
function {char*} ctermid (char*)
-// cuserid got removed in XPG6
-allow cuserid
+#if defined XPG3 || defined XPG4 || defined UNIX98
+function {char*} cuserid (char*)
+#endif
function int dup (int)
function int dup2 (int, int)
function void encrypt (char[64], int)
function int getlogin_r (char*, size_t)
function int getopt (int, char*const[], const char*)
function int getpagesize (void)
+#if defined XPG3 || defined XPG4 || defined UNIX98
function {char*} getpass (const char*)
+#endif
function pid_t getpgid (pid_t)
function pid_t getpgrp (void)
function pid_t getpid (void)
variable int optopt
allow *_t
+#endif