aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fgetc.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-11-30 02:05:02 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2017-12-01 03:41:51 -0600
commitc7ef9668cff35d1d7b60c9881e786010177b4a22 (patch)
tree98e13141e1d75c088732755ec8068a6bf3e3140a /newlib/libc/stdio/fgetc.c
parentb88cfbc1e56810282303eb4edaa6d79a8c100643 (diff)
downloadnewlib-c7ef9668cff35d1d7b60c9881e786010177b4a22.zip
newlib-c7ef9668cff35d1d7b60c9881e786010177b4a22.tar.gz
newlib-c7ef9668cff35d1d7b60c9881e786010177b4a22.tar.bz2
stdio: remove TRAD_SYNOPSIS
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/stdio/fgetc.c')
-rw-r--r--newlib/libc/stdio/fgetc.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/newlib/libc/stdio/fgetc.c b/newlib/libc/stdio/fgetc.c
index 34447a2..54322a0 100644
--- a/newlib/libc/stdio/fgetc.c
+++ b/newlib/libc/stdio/fgetc.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fgetc_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fgetc(FILE *<[fp]>);
@@ -43,27 +43,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
int _fgetc_unlocked_r(struct _reent *<[ptr]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fgetc(<[fp]>)
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- int fgetc_unlocked(<[fp]>)
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _fgetc_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- int _fgetc_unlocked_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
DESCRIPTION
Use <<fgetc>> to get the next single character from the file or stream
identified by <[fp]>. As a side effect, <<fgetc>> advances the file's