Differences between current version and predecessor to the previous major change of fgets(3).
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Tuesday, July 22, 2003 5:38:34 pm | by JohnMcPherson | |
Older page: | version 1 | Last edited on Tuesday, June 4, 2002 12:24:18 am | by perry | Revert |
@@ -1,29 +1,17 @@
-GETS
-!!!GETS
-NAME
-SYNOPSIS
-DESCRIPTION
-RETURN VALUE
-CONFORMING TO
-BUGS
-SEE ALSO
-----
!!NAME
-
-
fgetc, fgets, getc, getchar, gets, ungetc - input of characters and strings
!!SYNOPSIS
+ __#include <stdio.h>__
+
+ __int fgetc(FILE *__''stream''__);__
+ __char *fgets(char *__''s''__, int__ ''size''__, FILE *__''stream''__);__
+ __int getc(FILE *__''stream''__);__
+ __int getchar(void);__
+ __char *gets(char *__''s''__);__
+ __int ungetc(int__ ''c''__, FILE *__''stream''__);__
-__#include
-__''stream''__);
-char *fgets(char *__''s''__, int__ ''size''__, FILE *__''stream''__);
-int getc(FILE *__''stream''__);
-int getchar(void);
-char *gets(char *__''s''__);
-int ungetc(int__ ''c''__, FILE *__''stream''__);
-__
!!DESCRIPTION
__fgetc()__ reads the next character from ''stream''
@@ -84,9 +72,9 @@
on error.
!!CONFORMING TO
-ANSI - C, POSIX.1
+[
ANSI]
- C, [
POSIX]
.1
!!BUGS
Never use __gets()__. Because it is impossible to tell