summaryrefslogtreecommitdiff
path: root/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'stdio')
-rw-r--r--stdio/internals.c2
-rw-r--r--stdio/stdio.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/stdio/internals.c b/stdio/internals.c
index 8ec731fa62..68aee34ae6 100644
--- a/stdio/internals.c
+++ b/stdio/internals.c
@@ -680,7 +680,7 @@ __invalidate (stream)
/* Save its link. */
register FILE *next = stream->__next;
- /* Pulverize the fucker. */
+ /* Pulverize the deceased. */
memset((void *) stream, 0, sizeof(FILE));
/* Restore the deceased's link. */
diff --git a/stdio/stdio.h b/stdio/stdio.h
index 705fd832d0..8e913ccbd9 100644
--- a/stdio/stdio.h
+++ b/stdio/stdio.h
@@ -270,7 +270,7 @@ extern int __stdio_check_offset __P ((FILE *__stream));
or tempnam (the two are separate).
L_ctermid How long an array to pass to `ctermid'.
L_cuserid How long an array to pass to `cuserid'.
- FOPEN_MAX Mininum number of files that can be open at once.
+ FOPEN_MAX Minimum number of files that can be open at once.
FILENAME_MAX Maximum length of a filename. */
#include <stdio_lim.h>
@@ -671,6 +671,10 @@ extern int pclose __P ((FILE *__stream));
#ifdef __USE_POSIX
/* Return the name of the controlling terminal. */
extern char *ctermid __P ((char *__s));
+#endif
+
+
+#ifdef __USE_XOPEN
/* Return the name of the current user. */
extern char *cuserid __P ((char *__s));
#endif