aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/libc/stdio/clearerr.c12
-rw-r--r--newlib/libc/stdio/diprintf.c2
-rw-r--r--newlib/libc/stdio/dprintf.c2
-rw-r--r--newlib/libc/stdio/fclose.c11
-rw-r--r--newlib/libc/stdio/fcloseall.c9
-rw-r--r--newlib/libc/stdio/fdopen.c13
-rw-r--r--newlib/libc/stdio/feof.c12
-rw-r--r--newlib/libc/stdio/ferror.c12
-rw-r--r--newlib/libc/stdio/fflush.c2
-rw-r--r--newlib/libc/stdio/fgetc.c23
-rw-r--r--newlib/libc/stdio/fgetpos.c13
-rw-r--r--newlib/libc/stdio/fgets.c30
-rw-r--r--newlib/libc/stdio/fgetwc.c49
-rw-r--r--newlib/libc/stdio/fgetws.c30
-rw-r--r--newlib/libc/stdio/fileno.c12
-rw-r--r--newlib/libc/stdio/fmemopen.c2
-rw-r--r--newlib/libc/stdio/fopen.c13
-rw-r--r--newlib/libc/stdio/fopencookie.c2
-rw-r--r--newlib/libc/stdio/fpurge.c2
-rw-r--r--newlib/libc/stdio/fputc.c26
-rw-r--r--newlib/libc/stdio/fputs.c26
-rw-r--r--newlib/libc/stdio/fputwc.c57
-rw-r--r--newlib/libc/stdio/fputws.c26
-rw-r--r--newlib/libc/stdio/fread.c34
-rw-r--r--newlib/libc/stdio/freopen.c15
-rw-r--r--newlib/libc/stdio/fseek.c26
-rw-r--r--newlib/libc/stdio/fseeko.c26
-rw-r--r--newlib/libc/stdio/fsetlocking.c2
-rw-r--r--newlib/libc/stdio/fsetpos.c13
-rw-r--r--newlib/libc/stdio/ftell.c18
-rw-r--r--newlib/libc/stdio/ftello.c18
-rw-r--r--newlib/libc/stdio/funopen.c2
-rw-r--r--newlib/libc/stdio/fwide.c13
-rw-r--r--newlib/libc/stdio/fwrite.c34
-rw-r--r--newlib/libc/stdio/getc.c12
-rw-r--r--newlib/libc/stdio/getchar.c9
-rw-r--r--newlib/libc/stdio/getdelim.c10
-rw-r--r--newlib/libc/stdio/getline.c9
-rw-r--r--newlib/libc/stdio/gets.c12
-rw-r--r--newlib/libc/stdio/getw.c7
-rw-r--r--newlib/libc/stdio/getwchar.c18
-rw-r--r--newlib/libc/stdio/mktemp.c2
-rw-r--r--newlib/libc/stdio/nano-vfprintf.c2
-rw-r--r--newlib/libc/stdio/nano-vfscanf.c36
-rw-r--r--newlib/libc/stdio/open_memstream.c2
-rw-r--r--newlib/libc/stdio/perror.c11
-rw-r--r--newlib/libc/stdio/putc.c14
-rw-r--r--newlib/libc/stdio/putchar.c11
-rw-r--r--newlib/libc/stdio/puts.c11
-rw-r--r--newlib/libc/stdio/putw.c8
-rw-r--r--newlib/libc/stdio/putwchar.c21
-rw-r--r--newlib/libc/stdio/remove.c11
-rw-r--r--newlib/libc/stdio/rename.c8
-rw-r--r--newlib/libc/stdio/rewind.c11
-rw-r--r--newlib/libc/stdio/setbuf.c8
-rw-r--r--newlib/libc/stdio/setbuffer.c9
-rw-r--r--newlib/libc/stdio/setlinebuf.c7
-rw-r--r--newlib/libc/stdio/setvbuf.c10
-rw-r--r--newlib/libc/stdio/siprintf.c2
-rw-r--r--newlib/libc/stdio/siscanf.c32
-rw-r--r--newlib/libc/stdio/sprintf.c2
-rw-r--r--newlib/libc/stdio/sscanf.c32
-rw-r--r--newlib/libc/stdio/stdio_ext.c2
-rw-r--r--newlib/libc/stdio/swprintf.c2
-rw-r--r--newlib/libc/stdio/swscanf.c32
-rw-r--r--newlib/libc/stdio/tmpfile.c9
-rw-r--r--newlib/libc/stdio/tmpnam.c20
-rw-r--r--newlib/libc/stdio/ungetc.c2
-rw-r--r--newlib/libc/stdio/ungetwc.c2
-rw-r--r--newlib/libc/stdio/vfprintf.c2
-rw-r--r--newlib/libc/stdio/vfscanf.c36
-rw-r--r--newlib/libc/stdio/vfwprintf.c2
-rw-r--r--newlib/libc/stdio/vfwscanf.c36
-rw-r--r--newlib/libc/stdio/viprintf.c2
-rw-r--r--newlib/libc/stdio/viscanf.c36
75 files changed, 75 insertions, 1022 deletions
diff --git a/newlib/libc/stdio/clearerr.c b/newlib/libc/stdio/clearerr.c
index 9bf0837..4174a74 100644
--- a/newlib/libc/stdio/clearerr.c
+++ b/newlib/libc/stdio/clearerr.c
@@ -24,7 +24,7 @@ INDEX
INDEX
clearerr_unlocked
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void clearerr(FILE *<[fp]>);
@@ -32,16 +32,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
void clearerr_unlocked(FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void clearerr(<[fp]>)
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- void clearerr_unlocked(<[fp]>)
- FILE *<[fp]>;
-
DESCRIPTION
The <<stdio>> functions maintain an error indicator with each file
pointer <[fp]>, to record whether any read or write errors have
diff --git a/newlib/libc/stdio/diprintf.c b/newlib/libc/stdio/diprintf.c
index e0a5595..fde6ea4 100644
--- a/newlib/libc/stdio/diprintf.c
+++ b/newlib/libc/stdio/diprintf.c
@@ -16,7 +16,7 @@ INDEX
INDEX
_vdiprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int diprintf(int <[fd]>, const char *<[format]>, ...);
diff --git a/newlib/libc/stdio/dprintf.c b/newlib/libc/stdio/dprintf.c
index 2925ceb..7389eef 100644
--- a/newlib/libc/stdio/dprintf.c
+++ b/newlib/libc/stdio/dprintf.c
@@ -16,7 +16,7 @@ INDEX
INDEX
_vdprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int dprintf(int <[fd]>, const char *restrict <[format]>, ...);
diff --git a/newlib/libc/stdio/fclose.c b/newlib/libc/stdio/fclose.c
index 0ce1123..3325a89 100644
--- a/newlib/libc/stdio/fclose.c
+++ b/newlib/libc/stdio/fclose.c
@@ -24,20 +24,11 @@ INDEX
INDEX
_fclose_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fclose(FILE *<[fp]>);
int _fclose_r(struct _reent *<[reent]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fclose(<[fp]>)
- FILE *<[fp]>;
-
- int fclose(<[fp]>)
- struct _reent *<[reent]>
- FILE *<[fp]>;
-
DESCRIPTION
If the file or stream identified by <[fp]> is open, <<fclose>> closes
it, after first ensuring that any pending data is written (by calling
diff --git a/newlib/libc/stdio/fcloseall.c b/newlib/libc/stdio/fcloseall.c
index 090f3f2..a578e8a 100644
--- a/newlib/libc/stdio/fcloseall.c
+++ b/newlib/libc/stdio/fcloseall.c
@@ -24,18 +24,11 @@ INDEX
INDEX
_fcloseall_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fcloseall(void);
int _fcloseall_r (struct _reent *<[ptr]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fcloseall()
-
- int _fcloseall_r (<[ptr]>)
- struct _reent *<[ptr]>;
-
DESCRIPTION
<<fcloseall>> closes all files in the current reentrancy struct's domain.
The function <<_fcloseall_r>> is the same function, except the reentrancy
diff --git a/newlib/libc/stdio/fdopen.c b/newlib/libc/stdio/fdopen.c
index 77f599b..e0268ed 100644
--- a/newlib/libc/stdio/fdopen.c
+++ b/newlib/libc/stdio/fdopen.c
@@ -24,23 +24,12 @@ INDEX
INDEX
_fdopen_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *fdopen(int <[fd]>, const char *<[mode]>);
FILE *_fdopen_r(struct _reent *<[reent]>,
int <[fd]>, const char *<[mode]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- FILE *fdopen(<[fd]>, <[mode]>)
- int <[fd]>;
- char *<[mode]>;
-
- FILE *_fdopen_r(<[reent]>, <[fd]>, <[mode]>)
- struct _reent *<[reent]>;
- int <[fd]>;
- char *<[mode]>);
-
DESCRIPTION
<<fdopen>> produces a file descriptor of type <<FILE *>>, from a
descriptor for an already-open file (returned, for example, by the
diff --git a/newlib/libc/stdio/feof.c b/newlib/libc/stdio/feof.c
index 7aadd82..617ce58 100644
--- a/newlib/libc/stdio/feof.c
+++ b/newlib/libc/stdio/feof.c
@@ -24,7 +24,7 @@ INDEX
INDEX
feof_unlocked
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int feof(FILE *<[fp]>);
@@ -32,16 +32,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
int feof_unlocked(FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int feof(<[fp]>)
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- int feof_unlocked(<[fp]>)
- FILE *<[fp]>;
-
DESCRIPTION
<<feof>> tests whether or not the end of the file identified by <[fp]>
has been reached.
diff --git a/newlib/libc/stdio/ferror.c b/newlib/libc/stdio/ferror.c
index f93063d..f99df23 100644
--- a/newlib/libc/stdio/ferror.c
+++ b/newlib/libc/stdio/ferror.c
@@ -24,7 +24,7 @@ INDEX
INDEX
ferror_unlocked
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int ferror(FILE *<[fp]>);
@@ -32,16 +32,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
int ferror_unlocked(FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int ferror(<[fp]>)
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- int ferror_unlocked(<[fp]>)
- FILE *<[fp]>;
-
DESCRIPTION
The <<stdio>> functions maintain an error indicator with each file
pointer <[fp]>, to record whether any read or write errors have
diff --git a/newlib/libc/stdio/fflush.c b/newlib/libc/stdio/fflush.c
index a4e639e..199acbd 100644
--- a/newlib/libc/stdio/fflush.c
+++ b/newlib/libc/stdio/fflush.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fflush_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fflush(FILE *<[fp]>);
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
diff --git a/newlib/libc/stdio/fgetpos.c b/newlib/libc/stdio/fgetpos.c
index 20dd108..3074526 100644
--- a/newlib/libc/stdio/fgetpos.c
+++ b/newlib/libc/stdio/fgetpos.c
@@ -24,22 +24,11 @@ INDEX
INDEX
_fgetpos_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fgetpos(FILE *restrict <[fp]>, fpos_t *restrict <[pos]>);
int _fgetpos_r(struct _reent *<[ptr]>, FILE *restrict <[fp]>, fpos_t *restrict <[pos]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fgetpos(<[fp]>, <[pos]>)
- FILE *<[fp]>;
- fpos_t *<[pos]>;
-
- int _fgetpos_r(<[ptr]>, <[fp]>, <[pos]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- fpos_t *<[pos]>;
-
DESCRIPTION
Objects of type <<FILE>> can have a ``position'' that records how much
of the file your program has already read. Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio/fgets.c b/newlib/libc/stdio/fgets.c
index f7c8a03..5409751 100644
--- a/newlib/libc/stdio/fgets.c
+++ b/newlib/libc/stdio/fgets.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fgets_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
char *fgets(char *restrict <[buf]>, int <[n]>, FILE *restrict <[fp]>);
@@ -42,34 +42,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
char *_fgets_unlocked_r(struct _reent *<[ptr]>, char *restrict <[buf]>, int <[n]>, FILE *restrict <[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- char *fgets(<[buf]>,<[n]>,<[fp]>)
- char *<[buf]>;
- int <[n]>;
- FILE *<[fp]>;
-
- #define _GNU_SOURCE
- #include <stdio.h>
- char *fgets_unlocked(<[buf]>,<[n]>,<[fp]>)
- char *<[buf]>;
- int <[n]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- char *_fgets_r(<[ptr]>, <[buf]>,<[n]>,<[fp]>)
- struct _reent *<[ptr]>;
- char *<[buf]>;
- int <[n]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- char *_fgets_unlocked_r(<[ptr]>, <[buf]>,<[n]>,<[fp]>)
- struct _reent *<[ptr]>;
- char *<[buf]>;
- int <[n]>;
- FILE *<[fp]>;
-
DESCRIPTION
Reads at most <[n-1]> characters from <[fp]> until a newline
is found. The characters including to the newline are stored
diff --git a/newlib/libc/stdio/fgetwc.c b/newlib/libc/stdio/fgetwc.c
index d6de4b6..0773148 100644
--- a/newlib/libc/stdio/fgetwc.c
+++ b/newlib/libc/stdio/fgetwc.c
@@ -45,7 +45,7 @@ INDEX
INDEX
_getwc_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <wchar.h>
wint_t fgetwc(FILE *<[fp]>);
@@ -80,53 +80,6 @@ ANSI_SYNOPSIS
#include <wchar.h>
wint_t _getwc_unlocked_r(struct _reent *<[ptr]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- #include <wchar.h>
- wint_t fgetwc(<[fp]>)
- FILE *<[fp]>;
-
- #define _GNU_SOURCE
- #include <stdio.h>
- #include <wchar.h>
- wint_t fgetwc_unlocked(<[fp]>)
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _fgetwc_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _fgetwc_unlocked_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t getwc(<[fp]>)
- FILE *<[fp]>;
-
- #define _GNU_SOURCE
- #include <stdio.h>
- #include <wchar.h>
- wint_t getwc_unlocked(<[fp]>)
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _getwc_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _getwc_unlocked_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
DESCRIPTION
Use <<fgetwc>> to get the next wide character from the file or stream
identified by <[fp]>. As a side effect, <<fgetwc>> advances the file's
diff --git a/newlib/libc/stdio/fgetws.c b/newlib/libc/stdio/fgetws.c
index ae1f48e..3dbf3ef 100644
--- a/newlib/libc/stdio/fgetws.c
+++ b/newlib/libc/stdio/fgetws.c
@@ -37,7 +37,7 @@ INDEX
INDEX
_fgetws_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <wchar.h>
wchar_t *fgetws(wchar_t *__restrict <[ws]>, int <[n]>,
FILE *__restrict <[fp]>);
@@ -55,34 +55,6 @@ ANSI_SYNOPSIS
wchar_t *_fgetws_unlocked_r(struct _reent *<[ptr]>, wchar_t *<[ws]>,
int <[n]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <wchar.h>
- wchar_t *fgetws(<[ws]>,<[n]>,<[fp]>)
- wchar_t *__restrict <[ws]>;
- int <[n]>;
- FILE *__restrict <[fp]>;
-
- #define _GNU_SOURCE
- #include <wchar.h>
- wchar_t *fgetws_unlocked(<[ws]>,<[n]>,<[fp]>)
- wchar_t *__restrict <[ws]>;
- int <[n]>;
- FILE *__restrict <[fp]>;
-
- #include <wchar.h>
- wchar_t *_fgetws_r(<[ptr]>, <[ws]>,<[n]>,<[fp]>)
- struct _reent *<[ptr]>;
- wchar_t *<[ws]>;
- int <[n]>;
- FILE *<[fp]>;
-
- #include <wchar.h>
- wchar_t *_fgetws_unlocked_r(<[ptr]>, <[ws]>,<[n]>,<[fp]>)
- struct _reent *<[ptr]>;
- wchar_t *<[ws]>;
- int <[n]>;
- FILE *<[fp]>;
-
DESCRIPTION
Reads at most <[n-1]> wide characters from <[fp]> until a newline
is found. The wide characters including to the newline are stored
diff --git a/newlib/libc/stdio/fileno.c b/newlib/libc/stdio/fileno.c
index 7b50582..949a381 100644
--- a/newlib/libc/stdio/fileno.c
+++ b/newlib/libc/stdio/fileno.c
@@ -24,7 +24,7 @@ INDEX
INDEX
fileno_unlocked
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fileno(FILE *<[fp]>);
@@ -32,16 +32,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
int fileno_unlocked(FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fileno(<[fp]>)
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- int fileno_unlocked(<[fp]>)
- FILE *<[fp]>;
-
DESCRIPTION
You can use <<fileno>> to return the file descriptor identified by <[fp]>.
diff --git a/newlib/libc/stdio/fmemopen.c b/newlib/libc/stdio/fmemopen.c
index 17a3c9b..520ba1b 100644
--- a/newlib/libc/stdio/fmemopen.c
+++ b/newlib/libc/stdio/fmemopen.c
@@ -10,7 +10,7 @@ FUNCTION
INDEX
fmemopen
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *fmemopen(void *restrict <[buf]>, size_t <[size]>,
const char *restrict <[mode]>);
diff --git a/newlib/libc/stdio/fopen.c b/newlib/libc/stdio/fopen.c
index 6d07561..2551bef 100644
--- a/newlib/libc/stdio/fopen.c
+++ b/newlib/libc/stdio/fopen.c
@@ -24,24 +24,13 @@ INDEX
INDEX
_fopen_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *fopen(const char *<[file]>, const char *<[mode]>);
FILE *_fopen_r(struct _reent *<[reent]>,
const char *<[file]>, const char *<[mode]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- FILE *fopen(<[file]>, <[mode]>)
- char *<[file]>;
- char *<[mode]>;
-
- FILE *_fopen_r(<[reent]>, <[file]>, <[mode]>)
- struct _reent *<[reent]>;
- char *<[file]>;
- char *<[mode]>;
-
DESCRIPTION
<<fopen>> initializes the data structures needed to read or write a
file. Specify the file's name as the string at <[file]>, and the kind
diff --git a/newlib/libc/stdio/fopencookie.c b/newlib/libc/stdio/fopencookie.c
index 3697b48..eb98613 100644
--- a/newlib/libc/stdio/fopencookie.c
+++ b/newlib/libc/stdio/fopencookie.c
@@ -10,7 +10,7 @@ FUNCTION
INDEX
fopencookie
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *fopencookie(const void *<[cookie]>, const char *<[mode]>,
cookie_io_functions_t <[functions]>);
diff --git a/newlib/libc/stdio/fpurge.c b/newlib/libc/stdio/fpurge.c
index dc052e8..de621fe 100644
--- a/newlib/libc/stdio/fpurge.c
+++ b/newlib/libc/stdio/fpurge.c
@@ -14,7 +14,7 @@ INDEX
INDEX
__fpurge
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fpurge(FILE *<[fp]>);
diff --git a/newlib/libc/stdio/fputc.c b/newlib/libc/stdio/fputc.c
index 0aad0a9..f9273d6 100644
--- a/newlib/libc/stdio/fputc.c
+++ b/newlib/libc/stdio/fputc.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fputc_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fputc(int <[ch]>, FILE *<[fp]>);
@@ -42,30 +42,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
int _fputc_unlocked_r(struct _rent *<[ptr]>, int <[ch]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fputc(<[ch]>, <[fp]>)
- int <[ch]>;
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- int fputc_unlocked(<[ch]>, <[fp]>)
- int <[ch]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _fputc_r(<[ptr]>, <[ch]>, <[fp]>)
- struct _reent *<[ptr]>;
- int <[ch]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _fputc_unlocked_r(<[ptr]>, <[ch]>, <[fp]>)
- struct _reent *<[ptr]>;
- int <[ch]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<fputc>> converts the argument <[ch]> from an <<int>> to an
<<unsigned char>>, then writes it to the file or stream identified by
diff --git a/newlib/libc/stdio/fputs.c b/newlib/libc/stdio/fputs.c
index 75f65d9..c458826 100644
--- a/newlib/libc/stdio/fputs.c
+++ b/newlib/libc/stdio/fputs.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fputs_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fputs(const char *restrict <[s]>, FILE *restrict <[fp]>);
@@ -42,30 +42,6 @@ ANSI_SYNOPSIS
#include <stdio.h>
int _fputs_unlocked_r(struct _reent *<[ptr]>, const char *restrict <[s]>, FILE *restrict <[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fputs(<[s]>, <[fp]>)
- char *<[s]>;
- FILE *<[fp]>;
-
- #define _GNU_SOURCE
- #include <stdio.h>
- int fputs_unlocked(<[s]>, <[fp]>)
- char *<[s]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _fputs_r(<[ptr]>, <[s]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[s]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _fputs_unlocked_r(<[ptr]>, <[s]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[s]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<fputs>> writes the string at <[s]> (but without the trailing null)
to the file or stream identified by <[fp]>.
diff --git a/newlib/libc/stdio/fputwc.c b/newlib/libc/stdio/fputwc.c
index 9c2ef6c..5e2a9e3 100644
--- a/newlib/libc/stdio/fputwc.c
+++ b/newlib/libc/stdio/fputwc.c
@@ -45,7 +45,7 @@ INDEX
INDEX
_putwc_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <wchar.h>
wint_t fputwc(wchar_t <[wc]>, FILE *<[fp]>);
@@ -80,61 +80,6 @@ ANSI_SYNOPSIS
#include <wchar.h>
wint_t _putwc_unlocked_r(struct _reent *<[ptr]>, wchar_t <[wc]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- #include <wchar.h>
- wint_t fputwc(<[wc]>, <[fp]>)
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #define _GNU_SOURCE
- #include <stdio.h>
- #include <wchar.h>
- wint_t fputwc_unlocked(<[wc]>, <[fp]>)
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _fputwc_r(<[ptr]>, <[wc]>, <[fp]>)
- struct _reent *<[ptr]>;
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _fputwc_unlocked_r(<[ptr]>, <[wc]>, <[fp]>)
- struct _reent *<[ptr]>;
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t putwc(<[wc]>, <[fp]>)
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #define _GNU_SOURCE
- #include <stdio.h>
- #include <wchar.h>
- wint_t putwc_unlocked(<[wc]>, <[fp]>)
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _putwc_r(<[ptr]>, <[wc]>, <[fp]>)
- struct _reent *<[ptr]>;
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- #include <wchar.h>
- wint_t _putwc_unlocked_r(<[ptr]>, <[wc]>, <[fp]>)
- struct _reent *<[ptr]>;
- wchar_t <[wc]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<fputwc>> writes the wide character argument <[wc]> to the file or
stream identified by <[fp]>.
diff --git a/newlib/libc/stdio/fputws.c b/newlib/libc/stdio/fputws.c
index bb2fa6d..c68241c 100644
--- a/newlib/libc/stdio/fputws.c
+++ b/newlib/libc/stdio/fputws.c
@@ -37,7 +37,7 @@ INDEX
INDEX
_fputws_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <wchar.h>
int fputws(const wchar_t *__restrict <[ws]>, FILE *__restrict <[fp]>);
@@ -53,30 +53,6 @@ ANSI_SYNOPSIS
int _fputws_unlocked_r(struct _reent *<[ptr]>, const wchar_t *<[ws]>,
FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <wchar.h>
- int fputws(<[ws]>, <[fp]>)
- wchar_t *__restrict <[ws]>;
- FILE *__restrict <[fp]>;
-
- #define _GNU_SOURCE
- #include <wchar.h>
- int fputws_unlocked(<[ws]>, <[fp]>)
- wchar_t *__restrict <[ws]>;
- FILE *__restrict <[fp]>;
-
- #include <wchar.h>
- int _fputws_r(<[ptr]>, <[ws]>, <[fp]>)
- struct _reent *<[ptr]>;
- wchar_t *<[ws]>;
- FILE *<[fp]>;
-
- #include <wchar.h>
- int _fputws_unlocked_r(<[ptr]>, <[ws]>, <[fp]>)
- struct _reent *<[ptr]>;
- wchar_t *<[ws]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<fputws>> writes the wide character string at <[ws]> (but without the
trailing null) to the file or stream identified by <[fp]>.
diff --git a/newlib/libc/stdio/fread.c b/newlib/libc/stdio/fread.c
index c683947..c2e60be 100644
--- a/newlib/libc/stdio/fread.c
+++ b/newlib/libc/stdio/fread.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fread_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
size_t fread(void *restrict <[buf]>, size_t <[size]>, size_t <[count]>,
FILE *restrict <[fp]>);
@@ -46,38 +46,6 @@ ANSI_SYNOPSIS
size_t _fread_unlocked_r(struct _reent *<[ptr]>, void *restrict <[buf]>,
size_t <[size]>, size_t <[count]>, FILE *restrict <[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- size_t fread(<[buf]>, <[size]>, <[count]>, <[fp]>)
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- size_t fread_unlocked(<[buf]>, <[size]>, <[count]>, <[fp]>)
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- size_t _fread_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- size_t _fread_unlocked_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<fread>> attempts to copy, from the file or stream identified by
<[fp]>, <[count]> elements (each of size <[size]>) into memory,
diff --git a/newlib/libc/stdio/freopen.c b/newlib/libc/stdio/freopen.c
index fb1f6c4..e5bb73a 100644
--- a/newlib/libc/stdio/freopen.c
+++ b/newlib/libc/stdio/freopen.c
@@ -24,26 +24,13 @@ INDEX
INDEX
_freopen_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *freopen(const char *restrict <[file]>, const char *restrict <[mode]>,
FILE *restrict <[fp]>);
FILE *_freopen_r(struct _reent *<[ptr]>, const char *restrict <[file]>,
const char *restrict <[mode]>, FILE *restrict <[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- FILE *freopen(<[file]>, <[mode]>, <[fp]>)
- char *<[file]>;
- char *<[mode]>;
- FILE *<[fp]>;
-
- FILE *_freopen_r(<[ptr]>, <[file]>, <[mode]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[file]>;
- char *<[mode]>;
- FILE *<[fp]>;
-
DESCRIPTION
Use this variant of <<fopen>> if you wish to specify a particular file
descriptor <[fp]> (notably <<stdin>>, <<stdout>>, or <<stderr>>) for
diff --git a/newlib/libc/stdio/fseek.c b/newlib/libc/stdio/fseek.c
index b8fc36a..b5bd979 100644
--- a/newlib/libc/stdio/fseek.c
+++ b/newlib/libc/stdio/fseek.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fseeko_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fseek(FILE *<[fp]>, long <[offset]>, int <[whence]>);
int fseeko(FILE *<[fp]>, off_t <[offset]>, int <[whence]>);
@@ -37,30 +37,6 @@ ANSI_SYNOPSIS
int _fseeko_r(struct _reent *<[ptr]>, FILE *<[fp]>,
off_t <[offset]>, int <[whence]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fseek(<[fp]>, <[offset]>, <[whence]>);
- FILE *<[fp]>;
- long <[offset]>;
- int <[whence]>;
-
- int fseeko(<[fp]>, <[offset]>, <[whence]>);
- FILE *<[fp]>;
- off_t <[offset]>;
- int <[whence]>;
-
- int _fseek_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>);
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- long <[offset]>;
- int <[whence]>;
-
- int _fseeko_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>);
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- off_t <[offset]>;
- int <[whence]>;
-
DESCRIPTION
Objects of type <<FILE>> can have a ``position'' that records how much
of the file your program has already read. Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio/fseeko.c b/newlib/libc/stdio/fseeko.c
index 2c9419d..52f9789 100644
--- a/newlib/libc/stdio/fseeko.c
+++ b/newlib/libc/stdio/fseeko.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fseeko_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fseek(FILE *<[fp]>, long <[offset]>, int <[whence]>)
int fseeko(FILE *<[fp]>, off_t <[offset]>, int <[whence]>)
@@ -37,30 +37,6 @@ ANSI_SYNOPSIS
int _fseeko_r(struct _reent *<[ptr]>, FILE *<[fp]>,
off_t <[offset]>, int <[whence]>)
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fseek(<[fp]>, <[offset]>, <[whence]>)
- FILE *<[fp]>;
- long <[offset]>;
- int <[whence]>;
-
- int fseeko(<[fp]>, <[offset]>, <[whence]>)
- FILE *<[fp]>;
- off_t <[offset]>;
- int <[whence]>;
-
- int _fseek_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- long <[offset]>;
- int <[whence]>;
-
- int _fseeko_r(<[ptr]>, <[fp]>, <[offset]>, <[whence]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- off_t <[offset]>;
- int <[whence]>;
-
DESCRIPTION
Objects of type <<FILE>> can have a ``position'' that records how much
of the file your program has already read. Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio/fsetlocking.c b/newlib/libc/stdio/fsetlocking.c
index 3c489f5..d62aef3 100644
--- a/newlib/libc/stdio/fsetlocking.c
+++ b/newlib/libc/stdio/fsetlocking.c
@@ -30,7 +30,7 @@ FUNCTION
INDEX
__fsetlocking
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdio_ext.h>
int __fsetlocking(FILE *<[fp]>, int <[type]>);
diff --git a/newlib/libc/stdio/fsetpos.c b/newlib/libc/stdio/fsetpos.c
index d159629..a2a5d7b 100644
--- a/newlib/libc/stdio/fsetpos.c
+++ b/newlib/libc/stdio/fsetpos.c
@@ -24,23 +24,12 @@ INDEX
INDEX
_fsetpos_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int fsetpos(FILE *<[fp]>, const fpos_t *<[pos]>);
int _fsetpos_r(struct _reent *<[ptr]>, FILE *<[fp]>,
const fpos_t *<[pos]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int fsetpos(<[fp]>, <[pos]>)
- FILE *<[fp]>;
- fpos_t *<[pos]>;
-
- int _fsetpos_r(<[ptr]>, <[fp]>, <[pos]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- fpos_t *<[pos]>;
-
DESCRIPTION
Objects of type <<FILE>> can have a ``position'' that records how much
of the file your program has already read. Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio/ftell.c b/newlib/libc/stdio/ftell.c
index 5af0709..70eed84 100644
--- a/newlib/libc/stdio/ftell.c
+++ b/newlib/libc/stdio/ftell.c
@@ -28,29 +28,13 @@ INDEX
INDEX
_ftello_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
long ftell(FILE *<[fp]>);
off_t ftello(FILE *<[fp]>);
long _ftell_r(struct _reent *<[ptr]>, FILE *<[fp]>);
off_t _ftello_r(struct _reent *<[ptr]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- long ftell(<[fp]>)
- FILE *<[fp]>;
-
- off_t ftello(<[fp]>)
- FILE *<[fp]>;
-
- long _ftell_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
- off_t _ftello_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
DESCRIPTION
Objects of type <<FILE>> can have a ``position'' that records how much
of the file your program has already read. Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio/ftello.c b/newlib/libc/stdio/ftello.c
index 3a1885e..c120c26 100644
--- a/newlib/libc/stdio/ftello.c
+++ b/newlib/libc/stdio/ftello.c
@@ -28,29 +28,13 @@ INDEX
INDEX
_ftello_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
long ftell(FILE *<[fp]>);
off_t ftello(FILE *<[fp]>);
long _ftell_r(struct _reent *<[ptr]>, FILE *<[fp]>);
off_t _ftello_r(struct _reent *<[ptr]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- long ftell(<[fp]>)
- FILE *<[fp]>;
-
- off_t ftello(<[fp]>)
- FILE *<[fp]>;
-
- long _ftell_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
- off_t _ftello_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
DESCRIPTION
Objects of type <<FILE>> can have a ``position'' that records how much
of the file your program has already read. Many of the <<stdio>> functions
diff --git a/newlib/libc/stdio/funopen.c b/newlib/libc/stdio/funopen.c
index e71d231..58b7564 100644
--- a/newlib/libc/stdio/funopen.c
+++ b/newlib/libc/stdio/funopen.c
@@ -14,7 +14,7 @@ INDEX
INDEX
fwopen
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *funopen(const void *<[cookie]>,
int (*<[readfn]>) (void *cookie, char *buf, int n),
diff --git a/newlib/libc/stdio/fwide.c b/newlib/libc/stdio/fwide.c
index b2aaf8a..a57a77c 100644
--- a/newlib/libc/stdio/fwide.c
+++ b/newlib/libc/stdio/fwide.c
@@ -7,23 +7,12 @@ INDEX
INDEX
_fwide_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <wchar.h>
int fwide(FILE *<[fp]>, int <[mode]>);
int _fwide_r(struct _reent *<[ptr]>, FILE *<[fp]>, int <[mode]>);
-TRAD_SYNOPSIS
- #include <wchar.h>
- int fwide(<[fp]>, <[mode]>);
- FILE *<[fp]>;
- int <[mode]>;
-
- int _fwide_r(<[ptr]>, <[fp]>, <[mode]>);
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
- int <[mode]>;
-
DESCRIPTION
When <[mode]> is zero, the <<fwide>> function determines the current
orientation of <[fp]>. It returns a value > 0 if <[fp]> is
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c
index 6b3ff90..2ba71f3 100644
--- a/newlib/libc/stdio/fwrite.c
+++ b/newlib/libc/stdio/fwrite.c
@@ -28,7 +28,7 @@ INDEX
INDEX
_fwrite_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
size_t fwrite(const void *restrict <[buf]>, size_t <[size]>,
size_t <[count]>, FILE *restrict <[fp]>);
@@ -46,38 +46,6 @@ ANSI_SYNOPSIS
size_t _fwrite_unlocked_r(struct _reent *<[ptr]>, const void *restrict <[buf]>, size_t <[size]>,
size_t <[count]>, FILE *restrict <[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- size_t fwrite(<[buf]>, <[size]>, <[count]>, <[fp]>)
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
- #define _BSD_SOURCE
- #include <stdio.h>
- size_t fwrite_unlocked(<[buf]>, <[size]>, <[count]>, <[fp]>)
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- size_t _fwrite_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- size_t _fwrite_unlocked_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>)
- struct _reent *<[ptr]>;
- char *<[buf]>;
- size_t <[size]>;
- size_t <[count]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<fwrite>> attempts to copy, starting from the memory location
<[buf]>, <[count]> elements (each of size <[size]>) into the file or
diff --git a/newlib/libc/stdio/getc.c b/newlib/libc/stdio/getc.c
index 7951cdc..37e3458 100644
--- a/newlib/libc/stdio/getc.c
+++ b/newlib/libc/stdio/getc.c
@@ -24,23 +24,13 @@ INDEX
INDEX
_getc_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int getc(FILE *<[fp]>);
#include <stdio.h>
int _getc_r(struct _reent *<[ptr]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int getc(<[fp]>)
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _getc_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<getc>> is a macro, defined in <<stdio.h>>. You can use <<getc>>
to get the next single character from the file or stream
diff --git a/newlib/libc/stdio/getchar.c b/newlib/libc/stdio/getchar.c
index 7f3ceac..07ba9e6 100644
--- a/newlib/libc/stdio/getchar.c
+++ b/newlib/libc/stdio/getchar.c
@@ -24,19 +24,12 @@ INDEX
INDEX
_getchar_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int getchar(void);
int _getchar_r(struct _reent *<[reent]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int getchar();
-
- int _getchar_r(<[reent]>)
- char * <[reent]>;
-
DESCRIPTION
<<getchar>> is a macro, defined in <<stdio.h>>. You can use <<getchar>>
to get the next single character from the standard input stream.
diff --git a/newlib/libc/stdio/getdelim.c b/newlib/libc/stdio/getdelim.c
index 63a579a..d806c02 100644
--- a/newlib/libc/stdio/getdelim.c
+++ b/newlib/libc/stdio/getdelim.c
@@ -6,19 +6,11 @@ FUNCTION
INDEX
getdelim
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int getdelim(char **<[bufptr]>, size_t *<[n]>,
int <[delim]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int getdelim(<[bufptr]>, <[n]>, <[delim]>, <[fp]>)
- char **<[bufptr]>;
- size_t *<[n]>;
- int <[delim]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<getdelim>> reads a file <[fp]> up to and possibly including a specified
delimiter <[delim]>. The line is read into a buffer pointed to
diff --git a/newlib/libc/stdio/getline.c b/newlib/libc/stdio/getline.c
index c758ae9..66ffd19 100644
--- a/newlib/libc/stdio/getline.c
+++ b/newlib/libc/stdio/getline.c
@@ -6,17 +6,10 @@ FUNCTION
INDEX
getline
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
ssize_t getline(char **<[bufptr]>, size_t *<[n]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- ssize_t getline(<[bufptr]>, <[n]>, <[fp]>)
- char **<[bufptr]>;
- size_t *<[n]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<getline>> reads a file <[fp]> up to and possibly including the
newline character. The line is read into a buffer pointed to
diff --git a/newlib/libc/stdio/gets.c b/newlib/libc/stdio/gets.c
index 6c21f3e..a78d06b 100644
--- a/newlib/libc/stdio/gets.c
+++ b/newlib/libc/stdio/gets.c
@@ -24,23 +24,13 @@ INDEX
INDEX
_gets_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
char *gets(char *<[buf]>);
char *_gets_r(struct _reent *<[reent]>, char *<[buf]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
-
- char *gets(<[buf]>)
- char *<[buf]>;
-
- char *_gets_r(<[reent]>, <[buf]>)
- struct _reent *<[reent]>;
- char *<[buf]>;
-
DESCRIPTION
Reads characters from standard input until a newline is found.
The characters up to the newline are stored in <[buf]>. The
diff --git a/newlib/libc/stdio/getw.c b/newlib/libc/stdio/getw.c
index 210c593..4585d9f 100644
--- a/newlib/libc/stdio/getw.c
+++ b/newlib/libc/stdio/getw.c
@@ -22,15 +22,10 @@ FUNCTION
INDEX
getw
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int getw(FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int getw(<[fp]>)
- FILE *<[fp]>;
-
DESCRIPTION
<<getw>> is a function, defined in <<stdio.h>>. You can use <<getw>>
to get the next word from the file or stream identified by <[fp]>. As
diff --git a/newlib/libc/stdio/getwchar.c b/newlib/libc/stdio/getwchar.c
index 7ab230a..61031e5 100644
--- a/newlib/libc/stdio/getwchar.c
+++ b/newlib/libc/stdio/getwchar.c
@@ -37,7 +37,7 @@ INDEX
INDEX
_getwchar_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <wchar.h>
wint_t getwchar(void);
@@ -51,22 +51,6 @@ ANSI_SYNOPSIS
#include <wchar.h>
wint_t _getwchar_unlocked_r(struct _reent *<[reent]>);
-TRAD_SYNOPSIS
- #include <wchar.h>
- wint_t getwchar();
-
- #define _GNU_SOURCE
- #include <wchar.h>
- wint_t getwchar_unlocked();
-
- #include <wchar.h>
- wint_t _getwchar_r(<[reent]>)
- char * <[reent]>;
-
- #include <wchar.h>
- wint_t _getwchar_unlocked_r(<[reent]>)
- char * <[reent]>;
-
DESCRIPTION
<<getwchar>> function or macro is the wide character equivalent of
the <<getchar>> function. You can use <<getwchar>> to get the next
diff --git a/newlib/libc/stdio/mktemp.c b/newlib/libc/stdio/mktemp.c
index ecbc7af..3ece9ab 100644
--- a/newlib/libc/stdio/mktemp.c
+++ b/newlib/libc/stdio/mktemp.c
@@ -52,7 +52,7 @@ INDEX
INDEX
_mkostemps_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdlib.h>
char *mktemp(char *<[path]>);
char *mkdtemp(char *<[path]>);
diff --git a/newlib/libc/stdio/nano-vfprintf.c b/newlib/libc/stdio/nano-vfprintf.c
index f106a41..e6604e7 100644
--- a/newlib/libc/stdio/nano-vfprintf.c
+++ b/newlib/libc/stdio/nano-vfprintf.c
@@ -87,7 +87,7 @@ INDEX
INDEX
_vasnprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vprintf(const char *<[fmt]>, va_list <[list]>);
diff --git a/newlib/libc/stdio/nano-vfscanf.c b/newlib/libc/stdio/nano-vfscanf.c
index 5ba00f7..564f291 100644
--- a/newlib/libc/stdio/nano-vfscanf.c
+++ b/newlib/libc/stdio/nano-vfscanf.c
@@ -60,7 +60,7 @@ INDEX
INDEX
_vsscanf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vscanf(const char *<[fmt]>, va_list <[list]>);
@@ -74,40 +74,6 @@ ANSI_SYNOPSIS
int _vsscanf_r(struct _reent *<[reent]>, const char *<[str]>,
const char *<[fmt]>, va_list <[list]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- #include <varargs.h>
- int vscanf( <[fmt]>, <[ist]>)
- char *<[fmt]>;
- va_list <[list]>;
-
- int vfscanf( <[fp]>, <[fmt]>, <[list]>)
- FILE *<[fp]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int vsscanf( <[str]>, <[fmt]>, <[list]>)
- char *<[str]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vscanf_r( <[reent]>, <[fmt]>, <[ist]>)
- struct _reent *<[reent]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vfscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- FILE *<[fp]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vsscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- char *<[str]>;
- char *<[fmt]>;
- va_list <[list]>;
-
DESCRIPTION
<<vscanf>>, <<vfscanf>>, and <<vsscanf>> are (respectively) variants
of <<scanf>>, <<fscanf>>, and <<sscanf>>. They differ only in
diff --git a/newlib/libc/stdio/open_memstream.c b/newlib/libc/stdio/open_memstream.c
index 5de9947..9e6736f 100644
--- a/newlib/libc/stdio/open_memstream.c
+++ b/newlib/libc/stdio/open_memstream.c
@@ -12,7 +12,7 @@ INDEX
INDEX
open_wmemstream
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *open_memstream(char **restrict <[buf]>,
size_t *restrict <[size]>);
diff --git a/newlib/libc/stdio/perror.c b/newlib/libc/stdio/perror.c
index 14b4d21..0f02596 100644
--- a/newlib/libc/stdio/perror.c
+++ b/newlib/libc/stdio/perror.c
@@ -24,21 +24,12 @@ INDEX
INDEX
_perror_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void perror(char *<[prefix]>);
void _perror_r(struct _reent *<[reent]>, char *<[prefix]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void perror(<[prefix]>)
- char *<[prefix]>;
-
- void _perror_r(<[reent]>, <[prefix]>)
- struct _reent *<[reent]>;
- char *<[prefix]>;
-
DESCRIPTION
Use <<perror>> to print (on standard error) an error message
corresponding to the current value of the global variable <<errno>>.
diff --git a/newlib/libc/stdio/putc.c b/newlib/libc/stdio/putc.c
index 2b1fd1b..a00aaad 100644
--- a/newlib/libc/stdio/putc.c
+++ b/newlib/libc/stdio/putc.c
@@ -24,25 +24,13 @@ INDEX
INDEX
_putc_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int putc(int <[ch]>, FILE *<[fp]>);
#include <stdio.h>
int _putc_r(struct _reent *<[ptr]>, int <[ch]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int putc(<[ch]>, <[fp]>)
- int <[ch]>;
- FILE *<[fp]>;
-
- #include <stdio.h>
- int _putc_r(<[ptr]>, <[ch]>, <[fp]>)
- struct _reent *<[ptr]>;
- int <[ch]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<putc>> is a macro, defined in <<stdio.h>>. <<putc>>
writes the argument <[ch]> to the file or stream identified by
diff --git a/newlib/libc/stdio/putchar.c b/newlib/libc/stdio/putchar.c
index bb27dc4..a4b6698 100644
--- a/newlib/libc/stdio/putchar.c
+++ b/newlib/libc/stdio/putchar.c
@@ -24,21 +24,12 @@ INDEX
INDEX
_putchar_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int putchar(int <[ch]>);
int _putchar_r(struct _reent *<[reent]>, int <[ch]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int putchar(<[ch]>)
- int <[ch]>;
-
- int _putchar_r(<[reent]>, <[ch]>)
- struct _reent *<[reent]>;
- int <[ch]>;
-
DESCRIPTION
<<putchar>> is a macro, defined in <<stdio.h>>. <<putchar>>
writes its argument to the standard output stream,
diff --git a/newlib/libc/stdio/puts.c b/newlib/libc/stdio/puts.c
index 7467371..72f929e 100644
--- a/newlib/libc/stdio/puts.c
+++ b/newlib/libc/stdio/puts.c
@@ -24,21 +24,12 @@ INDEX
INDEX
_puts_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int puts(const char *<[s]>);
int _puts_r(struct _reent *<[reent]>, const char *<[s]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int puts(<[s]>)
- char *<[s]>;
-
- int _puts_r(<[reent]>, <[s]>)
- struct _reent *<[reent]>;
- char *<[s]>;
-
DESCRIPTION
<<puts>> writes the string at <[s]> (followed by a newline, instead of
the trailing null) to the standard output stream.
diff --git a/newlib/libc/stdio/putw.c b/newlib/libc/stdio/putw.c
index 682015c..d4f7858 100644
--- a/newlib/libc/stdio/putw.c
+++ b/newlib/libc/stdio/putw.c
@@ -22,16 +22,10 @@ FUNCTION
INDEX
putw
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int putw(int <[w]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int putw(<w>, <[fp]>)
- int <w>;
- FILE *<[fp]>;
-
DESCRIPTION
<<putw>> is a function, defined in <<stdio.h>>. You can use <<putw>>
to write a word to the file or stream identified by <[fp]>. As a side
diff --git a/newlib/libc/stdio/putwchar.c b/newlib/libc/stdio/putwchar.c
index cdd2542..248d592 100644
--- a/newlib/libc/stdio/putwchar.c
+++ b/newlib/libc/stdio/putwchar.c
@@ -37,7 +37,7 @@ INDEX
INDEX
_putwchar_unlocked_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <wchar.h>
wint_t putwchar(wchar_t <[wc]>);
@@ -50,25 +50,6 @@ ANSI_SYNOPSIS
#include <wchar.h>
wint_t _putwchar_unlocked_r(struct _reent *<[reent]>, wchar_t <[wc]>);
-TRAD_SYNOPSIS
- #include <wchar.h>
- wint_t putwchar(<[wc]>)
- wchar_t <[wc]>;
-
- #include <wchar.h>
- wint_t putwchar_unlocked(<[wc]>)
- wchar_t <[wc]>;
-
- #include <wchar.h>
- wint_t _putwchar_r(<[reent]>, <[wc]>)
- struct _reent *<[reent]>;
- wchar_t <[wc]>;
-
- #include <wchar.h>
- wint_t _putwchar_unlocked_r(<[reent]>, <[wc]>)
- struct _reent *<[reent]>;
- wchar_t <[wc]>;
-
DESCRIPTION
The <<putwchar>> function or macro is the wide-character equivalent of
the <<putchar>> function. It writes the wide character wc to stdout.
diff --git a/newlib/libc/stdio/remove.c b/newlib/libc/stdio/remove.c
index 5a3e16b..7b8d306 100644
--- a/newlib/libc/stdio/remove.c
+++ b/newlib/libc/stdio/remove.c
@@ -24,21 +24,12 @@ INDEX
INDEX
_remove_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int remove(char *<[filename]>);
int _remove_r(struct _reent *<[reent]>, char *<[filename]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int remove(<[filename]>)
- char *<[filename]>;
-
- int _remove_r(<[reent]>, <[filename]>)
- struct _reent *<[reent]>;
- char *<[filename]>;
-
DESCRIPTION
Use <<remove>> to dissolve the association between a particular
filename (the string at <[filename]>) and the file it represents.
diff --git a/newlib/libc/stdio/rename.c b/newlib/libc/stdio/rename.c
index 6eb1f7d..1b807f8 100644
--- a/newlib/libc/stdio/rename.c
+++ b/newlib/libc/stdio/rename.c
@@ -22,16 +22,10 @@ FUNCTION
INDEX
rename
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int rename(const char *<[old]>, const char *<[new]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int rename(<[old]>, <[new]>)
- char *<[old]>;
- char *<[new]>;
-
DESCRIPTION
Use <<rename>> to establish a new name (the string at <[new]>) for a
file now known by the string at <[old]>. After a successful
diff --git a/newlib/libc/stdio/rewind.c b/newlib/libc/stdio/rewind.c
index fb03e5b..417a596 100644
--- a/newlib/libc/stdio/rewind.c
+++ b/newlib/libc/stdio/rewind.c
@@ -24,20 +24,11 @@ INDEX
INDEX
_rewind_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void rewind(FILE *<[fp]>);
void _rewind_r(struct _reent *<[ptr]>, FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void rewind(<[fp]>)
- FILE *<[fp]>;
-
- void _rewind_r(<[ptr]>, <[fp]>)
- struct _reent *<[ptr]>;
- FILE *<[fp]>;
-
DESCRIPTION
<<rewind>> returns the file position indicator (if any) for the file
or stream identified by <[fp]> to the beginning of the file. It also
diff --git a/newlib/libc/stdio/setbuf.c b/newlib/libc/stdio/setbuf.c
index cffb6fb..29f5377 100644
--- a/newlib/libc/stdio/setbuf.c
+++ b/newlib/libc/stdio/setbuf.c
@@ -22,16 +22,10 @@ FUNCTION
INDEX
setbuf
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void setbuf(FILE *<[fp]>, char *<[buf]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void setbuf(<[fp]>, <[buf]>)
- FILE *<[fp]>;
- char *<[buf]>;
-
DESCRIPTION
<<setbuf>> specifies that output to the file or stream identified by <[fp]>
should be fully buffered. All output for this file will go to a
diff --git a/newlib/libc/stdio/setbuffer.c b/newlib/libc/stdio/setbuffer.c
index e881874..880779d 100644
--- a/newlib/libc/stdio/setbuffer.c
+++ b/newlib/libc/stdio/setbuffer.c
@@ -27,17 +27,10 @@ FUNCTION
INDEX
setbuffer
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void setbuffer(FILE *<[fp]>, char *<[buf]>, int <[size]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void setbuffer(<[fp]>, <[buf]>, <[size]>)
- FILE *<[fp]>;
- char *<[buf]>;
- int <[size]>;
-
DESCRIPTION
<<setbuffer>> specifies that output to the file or stream identified by
<[fp]> should be fully buffered. All output for this file will go to a
diff --git a/newlib/libc/stdio/setlinebuf.c b/newlib/libc/stdio/setlinebuf.c
index 0df6a57..d8cb013 100644
--- a/newlib/libc/stdio/setlinebuf.c
+++ b/newlib/libc/stdio/setlinebuf.c
@@ -27,15 +27,10 @@ FUNCTION
INDEX
setlinebuf
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
void setlinebuf(FILE *<[fp]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- void setlinebuf(<[fp]>)
- FILE *<[fp]>;
-
DESCRIPTION
<<setlinebuf>> specifies that output to the file or stream identified by
<[fp]> should be line buffered. This causes the file or stream to pass
diff --git a/newlib/libc/stdio/setvbuf.c b/newlib/libc/stdio/setvbuf.c
index a8e46a5..6fa0252 100644
--- a/newlib/libc/stdio/setvbuf.c
+++ b/newlib/libc/stdio/setvbuf.c
@@ -22,19 +22,11 @@ FUNCTION
INDEX
setvbuf
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int setvbuf(FILE *<[fp]>, char *<[buf]>,
int <[mode]>, size_t <[size]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- int setvbuf(<[fp]>, <[buf]>, <[mode]>, <[size]>)
- FILE *<[fp]>;
- char *<[buf]>;
- int <[mode]>;
- size_t <[size]>;
-
DESCRIPTION
Use <<setvbuf>> to specify what kind of buffering you want for the
file or stream identified by <[fp]>, by using one of the following
diff --git a/newlib/libc/stdio/siprintf.c b/newlib/libc/stdio/siprintf.c
index f0a8098..d9559c3 100644
--- a/newlib/libc/stdio/siprintf.c
+++ b/newlib/libc/stdio/siprintf.c
@@ -44,7 +44,7 @@ INDEX
INDEX
_asniprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int iprintf(const char *<[format]>, ...);
diff --git a/newlib/libc/stdio/siscanf.c b/newlib/libc/stdio/siscanf.c
index a6a8126..c89eb7c 100644
--- a/newlib/libc/stdio/siscanf.c
+++ b/newlib/libc/stdio/siscanf.c
@@ -32,7 +32,7 @@ INDEX
INDEX
_siscanf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int iscanf(const char *<[format]>, ...);
@@ -45,36 +45,6 @@ ANSI_SYNOPSIS
int _siscanf_r(struct _reent *<[ptr]>, const char *<[str]>,
const char *<[format]>, ...);
-
-TRAD_SYNOPSIS
- #include <stdio.h>
-
- int iscanf(<[format]> [, <[arg]>, ...])
- char *<[format]>;
-
- int fiscanf(<[fd]>, <[format]> [, <[arg]>, ...]);
- FILE *<[fd]>;
- char *<[format]>;
-
- int siscanf(<[str]>, <[format]> [, <[arg]>, ...]);
- char *<[str]>;
- char *<[format]>;
-
- int _iscanf_r(<[ptr]>, <[format]> [, <[arg]>, ...])
- struct _reent *<[ptr]>;
- char *<[format]>;
-
- int _fiscanf_r(<[ptr]>, <[fd]>, <[format]> [, <[arg]>, ...]);
- struct _reent *<[ptr]>;
- FILE *<[fd]>;
- char *<[format]>;
-
- int _siscanf_r(<[ptr]>, <[str]>, <[format]> [, <[arg]>, ...]);
- struct _reent *<[ptr]>;
- char *<[str]>;
- char *<[format]>;
-
-
DESCRIPTION
<<iscanf>>, <<fiscanf>>, and <<siscanf>> are the same as
<<scanf>>, <<fscanf>>, and <<sscanf>> respectively, only that
diff --git a/newlib/libc/stdio/sprintf.c b/newlib/libc/stdio/sprintf.c
index d74c6f8..7fc9e68 100644
--- a/newlib/libc/stdio/sprintf.c
+++ b/newlib/libc/stdio/sprintf.c
@@ -44,7 +44,7 @@ INDEX
INDEX
_asnprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int printf(const char *restrict <[format]>, ...);
diff --git a/newlib/libc/stdio/sscanf.c b/newlib/libc/stdio/sscanf.c
index 7961294..d2d9dfe 100644
--- a/newlib/libc/stdio/sscanf.c
+++ b/newlib/libc/stdio/sscanf.c
@@ -32,7 +32,7 @@ INDEX
INDEX
_sscanf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int scanf(const char *restrict <[format]>, ...);
@@ -45,36 +45,6 @@ ANSI_SYNOPSIS
int _sscanf_r(struct _reent *<[ptr]>, const char *restrict <[str]>,
const char *restrict <[format]>, ...);
-
-TRAD_SYNOPSIS
- #include <stdio.h>
-
- int scanf(<[format]> [, <[arg]>, ...])
- char *<[format]>;
-
- int fscanf(<[fd]>, <[format]> [, <[arg]>, ...]);
- FILE *<[fd]>;
- char *<[format]>;
-
- int sscanf(<[str]>, <[format]> [, <[arg]>, ...]);
- char *<[str]>;
- char *<[format]>;
-
- int _scanf_r(<[ptr]>, <[format]> [, <[arg]>, ...])
- struct _reent *<[ptr]>;
- char *<[format]>;
-
- int _fscanf_r(<[ptr]>, <[fd]>, <[format]> [, <[arg]>, ...]);
- struct _reent *<[ptr]>;
- FILE *<[fd]>;
- char *<[format]>;
-
- int _sscanf_r(<[ptr]>, <[str]>, <[format]> [, <[arg]>, ...]);
- struct _reent *<[ptr]>;
- char *<[str]>;
- char *<[format]>;
-
-
DESCRIPTION
<<scanf>> scans a series of input fields from standard input,
one character at a time. Each field is interpreted according to
diff --git a/newlib/libc/stdio/stdio_ext.c b/newlib/libc/stdio/stdio_ext.c
index 588209d..98f2cca 100644
--- a/newlib/libc/stdio/stdio_ext.c
+++ b/newlib/libc/stdio/stdio_ext.c
@@ -17,7 +17,7 @@ INDEX
INDEX
__fwriting
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdio_ext.h>
size_t __fbufsize(FILE *<[fp]>);
diff --git a/newlib/libc/stdio/swprintf.c b/newlib/libc/stdio/swprintf.c
index 2233b3b..fe106f0 100644
--- a/newlib/libc/stdio/swprintf.c
+++ b/newlib/libc/stdio/swprintf.c
@@ -32,7 +32,7 @@ INDEX
INDEX
_swprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <wchar.h>
int wprintf(const wchar_t *<[format]>, ...);
diff --git a/newlib/libc/stdio/swscanf.c b/newlib/libc/stdio/swscanf.c
index 6a469ac..d52d826 100644
--- a/newlib/libc/stdio/swscanf.c
+++ b/newlib/libc/stdio/swscanf.c
@@ -32,7 +32,7 @@ INDEX
INDEX
_swscanf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int wscanf(const wchar_t *__restrict <[format]>, ...);
@@ -47,36 +47,6 @@ ANSI_SYNOPSIS
int _swscanf_r(struct _reent *<[ptr]>, const wchar_t *<[str]>,
const wchar_t *<[format]>, ...);
-
-TRAD_SYNOPSIS
- #include <stdio.h>
-
- int wscanf(<[format]> [, <[arg]>, ...])
- wchar_t *__restrict <[format]>;
-
- int fwscanf(<[fd]>, <[format]> [, <[arg]>, ...]);
- FILE *<[fd]>;
- wchar_t *<[format]>;
-
- int swscanf(<[str]>, <[format]> [, <[arg]>, ...]);
- wchar_t *__restrict <[str]>;
- wchar_t *__restrict <[format]>;
-
- int _wscanf_r(<[ptr]>, <[format]> [, <[arg]>, ...])
- struct _reent *<[ptr]>;
- wchar_t *<[format]>;
-
- int _fwscanf_r(<[ptr]>, <[fd]>, <[format]> [, <[arg]>, ...]);
- struct _reent *<[ptr]>;
- FILE *<[fd]>;
- wchar_t *<[format]>;
-
- int _swscanf_r(<[ptr]>, <[str]>, <[format]> [, <[arg]>, ...]);
- struct _reent *<[ptr]>;
- wchar_t *<[str]>;
- wchar_t *<[format]>;
-
-
DESCRIPTION
<<wscanf>> scans a series of input fields from standard input,
one wide character at a time. Each field is interpreted according to
diff --git a/newlib/libc/stdio/tmpfile.c b/newlib/libc/stdio/tmpfile.c
index eca4ec7..6145ad0 100644
--- a/newlib/libc/stdio/tmpfile.c
+++ b/newlib/libc/stdio/tmpfile.c
@@ -7,19 +7,12 @@ INDEX
INDEX
_tmpfile_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
FILE *tmpfile(void);
FILE *_tmpfile_r(struct _reent *<[reent]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- FILE *tmpfile();
-
- FILE *_tmpfile_r(<[reent]>)
- struct _reent *<[reent]>;
-
DESCRIPTION
Create a temporary file (a file which will be deleted automatically),
using a name generated by <<tmpnam>>. The temporary file is opened with
diff --git a/newlib/libc/stdio/tmpnam.c b/newlib/libc/stdio/tmpnam.c
index ee722e6..765d27a 100644
--- a/newlib/libc/stdio/tmpnam.c
+++ b/newlib/libc/stdio/tmpnam.c
@@ -15,31 +15,13 @@ INDEX
INDEX
_tempnam_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
char *tmpnam(char *<[s]>);
char *tempnam(char *<[dir]>, char *<[pfx]>);
char *_tmpnam_r(struct _reent *<[reent]>, char *<[s]>);
char *_tempnam_r(struct _reent *<[reent]>, char *<[dir]>, char *<[pfx]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- char *tmpnam(<[s]>)
- char *<[s]>;
-
- char *tempnam(<[dir]>, <[pfx]>)
- char *<[dir]>;
- char *<[pfx]>;
-
- char *_tmpnam_r(<[reent]>, <[s]>)
- struct _reent *<[reent]>;
- char *<[s]>;
-
- char *_tempnam_r(<[reent]>, <[dir]>, <[pfx]>)
- struct *<[reent]>;
- char *<[dir]>;
- char *<[pfx]>;
-
DESCRIPTION
Use either of these functions to generate a name for a temporary file.
The generated name is guaranteed to avoid collision with other files
diff --git a/newlib/libc/stdio/ungetc.c b/newlib/libc/stdio/ungetc.c
index e385ce8..da4b19d 100644
--- a/newlib/libc/stdio/ungetc.c
+++ b/newlib/libc/stdio/ungetc.c
@@ -23,7 +23,7 @@ INDEX
INDEX
_ungetc_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
int ungetc(int <[c]>, FILE *<[stream]>);
diff --git a/newlib/libc/stdio/ungetwc.c b/newlib/libc/stdio/ungetwc.c
index a69449e..000d4bd 100644
--- a/newlib/libc/stdio/ungetwc.c
+++ b/newlib/libc/stdio/ungetwc.c
@@ -33,7 +33,7 @@ INDEX
INDEX
_ungetwc_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <wchar.h>
wint_t ungetwc(wint_t <[wc]>, FILE *<[stream]>);
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c
index 3585423..50a3478 100644
--- a/newlib/libc/stdio/vfprintf.c
+++ b/newlib/libc/stdio/vfprintf.c
@@ -63,7 +63,7 @@ INDEX
INDEX
_vasnprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vprintf(const char *<[fmt]>, va_list <[list]>);
diff --git a/newlib/libc/stdio/vfscanf.c b/newlib/libc/stdio/vfscanf.c
index 2d59405..23d7391 100644
--- a/newlib/libc/stdio/vfscanf.c
+++ b/newlib/libc/stdio/vfscanf.c
@@ -32,7 +32,7 @@ INDEX
INDEX
_vsscanf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vscanf(const char *<[fmt]>, va_list <[list]>);
@@ -46,40 +46,6 @@ ANSI_SYNOPSIS
int _vsscanf_r(struct _reent *<[reent]>, const char *<[str]>,
const char *<[fmt]>, va_list <[list]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- #include <varargs.h>
- int vscanf( <[fmt]>, <[ist]>)
- char *<[fmt]>;
- va_list <[list]>;
-
- int vfscanf( <[fp]>, <[fmt]>, <[list]>)
- FILE *<[fp]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int vsscanf( <[str]>, <[fmt]>, <[list]>)
- char *<[str]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vscanf_r( <[reent]>, <[fmt]>, <[ist]>)
- struct _reent *<[reent]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vfscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- FILE *<[fp]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vsscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- char *<[str]>;
- char *<[fmt]>;
- va_list <[list]>;
-
DESCRIPTION
<<vscanf>>, <<vfscanf>>, and <<vsscanf>> are (respectively) variants
of <<scanf>>, <<fscanf>>, and <<sscanf>>. They differ only in
diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c
index 4786ed6..9c421d2 100644
--- a/newlib/libc/stdio/vfwprintf.c
+++ b/newlib/libc/stdio/vfwprintf.c
@@ -47,7 +47,7 @@ INDEX
INDEX
_vswprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
#include <wchar.h>
diff --git a/newlib/libc/stdio/vfwscanf.c b/newlib/libc/stdio/vfwscanf.c
index e2b63c5..46c1566 100644
--- a/newlib/libc/stdio/vfwscanf.c
+++ b/newlib/libc/stdio/vfwscanf.c
@@ -32,7 +32,7 @@ INDEX
INDEX
_vswscanf
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int vwscanf(const wchar_t *__restrict <[fmt]>, va_list <[list]>);
@@ -48,40 +48,6 @@ ANSI_SYNOPSIS
int _vswscanf(struct _reent *<[reent]>, const wchar_t *<[str]>,
const wchar_t *<[fmt]>, va_list <[list]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- #include <varargs.h>
- int vwscanf( <[fmt]>, <[ist]>)
- wchar_t *__restrict <[fmt]>;
- va_list <[list]>;
-
- int vfwscanf( <[fp]>, <[fmt]>, <[list]>)
- FILE *__restrict <[fp]>;
- wchar_t *__restrict <[fmt]>;
- va_list <[list]>;
-
- int vswscanf( <[str]>, <[fmt]>, <[list]>)
- wchar_t *__restrict <[str]>;
- wchar_t *__restrict <[fmt]>;
- va_list <[list]>;
-
- int _vwscanf( <[reent]>, <[fmt]>, <[ist]>)
- struct _reent *<[reent]>;
- wchar_t *<[fmt]>;
- va_list <[list]>;
-
- int _vfwscanf( <[reent]>, <[fp]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- FILE *<[fp]>;
- wchar_t *<[fmt]>;
- va_list <[list]>;
-
- int _vswscanf( <[reent]>, <[str]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- wchar_t *<[str]>;
- wchar_t *<[fmt]>;
- va_list <[list]>;
-
DESCRIPTION
<<vwscanf>>, <<vfwscanf>>, and <<vswscanf>> are (respectively) variants
of <<wscanf>>, <<fwscanf>>, and <<swscanf>>. They differ only in
diff --git a/newlib/libc/stdio/viprintf.c b/newlib/libc/stdio/viprintf.c
index fec92fa..85ae286 100644
--- a/newlib/libc/stdio/viprintf.c
+++ b/newlib/libc/stdio/viprintf.c
@@ -44,7 +44,7 @@ INDEX
INDEX
_vasniprintf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int viprintf(const char *<[fmt]>, va_list <[list]>);
diff --git a/newlib/libc/stdio/viscanf.c b/newlib/libc/stdio/viscanf.c
index 9a7d0c5..379daa2 100644
--- a/newlib/libc/stdio/viscanf.c
+++ b/newlib/libc/stdio/viscanf.c
@@ -34,7 +34,7 @@ INDEX
INDEX
_vsiscanf_r
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdio.h>
#include <stdarg.h>
int viscanf(const char *<[fmt]>, va_list <[list]>);
@@ -48,40 +48,6 @@ ANSI_SYNOPSIS
int _vsiscanf_r(struct _reent *<[reent]>, const char *<[str]>,
const char *<[fmt]>, va_list <[list]>);
-TRAD_SYNOPSIS
- #include <stdio.h>
- #include <varargs.h>
- int viscanf( <[fmt]>, <[ist]>)
- char *<[fmt]>;
- va_list <[list]>;
-
- int vfiscanf( <[fp]>, <[fmt]>, <[list]>)
- FILE *<[fp]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int vsiscanf( <[str]>, <[fmt]>, <[list]>)
- char *<[str]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _viscanf_r( <[reent]>, <[fmt]>, <[ist]>)
- struct _reent *<[reent]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vfiscanf_r( <[reent]>, <[fp]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- FILE *<[fp]>;
- char *<[fmt]>;
- va_list <[list]>;
-
- int _vsiscanf_r( <[reent]>, <[str]>, <[fmt]>, <[list]>)
- struct _reent *<[reent]>;
- char *<[str]>;
- char *<[fmt]>;
- va_list <[list]>;
-
DESCRIPTION
<<viscanf>>, <<vfiscanf>>, and <<vsiscanf>> are (respectively) variants
of <<iscanf>>, <<fiscanf>>, and <<siscanf>>. They differ only in