diff options
Diffstat (limited to 'posix/unistd.h')
-rw-r--r-- | posix/unistd.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h index 405638c..4722f7f 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -1138,11 +1138,15 @@ extern void swab (const void *__restrict __from, void *__restrict __to, #endif -/* The Single Unix specification demands this prototype to be here. - It is also found in <stdio.h>. */ +/* Prior to Issue 6, the Single Unix Specification required these + prototypes to appear in this header. They are also found in + <stdio.h>. */ #if defined __USE_XOPEN && !defined __USE_XOPEN2K /* Return the name of the controlling terminal. */ extern char *ctermid (char *__s) __THROW; + +/* Return the name of the current user. */ +extern char *cuserid (char *__s); #endif |