From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75681 invoked by alias); 1 Dec 2017 09:43:24 -0000 Mailing-List: contact newlib-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-cvs-owner@sourceware.org Received: (qmail 75657 invoked by uid 9642); 1 Dec 2017 09:43:24 -0000 Date: Fri, 01 Dec 2017 09:43:00 -0000 Message-ID: <20171201094324.75655.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Yaakov Selkowitz To: newlib-cvs@sourceware.org Subject: [newlib-cygwin] stdio: remove TRAD_SYNOPSIS X-Act-Checkin: newlib-cygwin X-Git-Author: Yaakov Selkowitz X-Git-Refname: refs/heads/master X-Git-Oldrev: b88cfbc1e56810282303eb4edaa6d79a8c100643 X-Git-Newrev: c7ef9668cff35d1d7b60c9881e786010177b4a22 X-SW-Source: 2017-q4/txt/msg00059.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c7ef9668cff35d1d7b60c9881e786010177b4a22 commit c7ef9668cff35d1d7b60c9881e786010177b4a22 Author: Yaakov Selkowitz Date: Thu Nov 30 02:05:02 2017 -0600 stdio: remove TRAD_SYNOPSIS Signed-off-by: Yaakov Selkowitz Diff: --- newlib/libc/stdio/clearerr.c | 12 +------- newlib/libc/stdio/diprintf.c | 2 +- newlib/libc/stdio/dprintf.c | 2 +- newlib/libc/stdio/fclose.c | 11 +------- newlib/libc/stdio/fcloseall.c | 9 +----- newlib/libc/stdio/fdopen.c | 13 +-------- newlib/libc/stdio/feof.c | 12 +------- newlib/libc/stdio/ferror.c | 12 +------- newlib/libc/stdio/fflush.c | 2 +- newlib/libc/stdio/fgetc.c | 23 +-------------- newlib/libc/stdio/fgetpos.c | 13 +-------- newlib/libc/stdio/fgets.c | 30 +------------------- newlib/libc/stdio/fgetwc.c | 49 +------------------------------- newlib/libc/stdio/fgetws.c | 30 +------------------- newlib/libc/stdio/fileno.c | 12 +------- newlib/libc/stdio/fmemopen.c | 2 +- newlib/libc/stdio/fopen.c | 13 +-------- newlib/libc/stdio/fopencookie.c | 2 +- newlib/libc/stdio/fpurge.c | 2 +- newlib/libc/stdio/fputc.c | 26 +---------------- newlib/libc/stdio/fputs.c | 26 +---------------- newlib/libc/stdio/fputwc.c | 57 +------------------------------------- newlib/libc/stdio/fputws.c | 26 +---------------- newlib/libc/stdio/fread.c | 34 +---------------------- newlib/libc/stdio/freopen.c | 15 +--------- newlib/libc/stdio/fseek.c | 26 +---------------- newlib/libc/stdio/fseeko.c | 26 +---------------- newlib/libc/stdio/fsetlocking.c | 2 +- newlib/libc/stdio/fsetpos.c | 13 +-------- newlib/libc/stdio/ftell.c | 18 +----------- newlib/libc/stdio/ftello.c | 18 +----------- newlib/libc/stdio/funopen.c | 2 +- newlib/libc/stdio/fwide.c | 13 +-------- newlib/libc/stdio/fwrite.c | 34 +---------------------- newlib/libc/stdio/getc.c | 12 +------- newlib/libc/stdio/getchar.c | 9 +----- newlib/libc/stdio/getdelim.c | 10 +------ newlib/libc/stdio/getline.c | 9 +----- newlib/libc/stdio/gets.c | 12 +------- newlib/libc/stdio/getw.c | 7 +---- newlib/libc/stdio/getwchar.c | 18 +----------- newlib/libc/stdio/mktemp.c | 2 +- newlib/libc/stdio/nano-vfprintf.c | 2 +- newlib/libc/stdio/nano-vfscanf.c | 36 +----------------------- newlib/libc/stdio/open_memstream.c | 2 +- newlib/libc/stdio/perror.c | 11 +------- newlib/libc/stdio/putc.c | 14 +--------- newlib/libc/stdio/putchar.c | 11 +------- newlib/libc/stdio/puts.c | 11 +------- newlib/libc/stdio/putw.c | 8 +----- newlib/libc/stdio/putwchar.c | 21 +------------- newlib/libc/stdio/remove.c | 11 +------- newlib/libc/stdio/rename.c | 8 +----- newlib/libc/stdio/rewind.c | 11 +------- newlib/libc/stdio/setbuf.c | 8 +----- newlib/libc/stdio/setbuffer.c | 9 +----- newlib/libc/stdio/setlinebuf.c | 7 +---- newlib/libc/stdio/setvbuf.c | 10 +------ newlib/libc/stdio/siprintf.c | 2 +- newlib/libc/stdio/siscanf.c | 32 +-------------------- newlib/libc/stdio/sprintf.c | 2 +- newlib/libc/stdio/sscanf.c | 32 +-------------------- newlib/libc/stdio/stdio_ext.c | 2 +- newlib/libc/stdio/swprintf.c | 2 +- newlib/libc/stdio/swscanf.c | 32 +-------------------- newlib/libc/stdio/tmpfile.c | 9 +----- newlib/libc/stdio/tmpnam.c | 20 +------------ newlib/libc/stdio/ungetc.c | 2 +- newlib/libc/stdio/ungetwc.c | 2 +- newlib/libc/stdio/vfprintf.c | 2 +- newlib/libc/stdio/vfscanf.c | 36 +----------------------- newlib/libc/stdio/vfwprintf.c | 2 +- newlib/libc/stdio/vfwscanf.c | 36 +----------------------- newlib/libc/stdio/viprintf.c | 2 +- newlib/libc/stdio/viscanf.c | 36 +----------------------- 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 void clearerr(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include void clearerr_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - void clearerr(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - void clearerr_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION The <> 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 #include 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 #include 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 int fclose(FILE *<[fp]>); int _fclose_r(struct _reent *<[reent]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fclose(<[fp]>) - FILE *<[fp]>; - - int fclose(<[fp]>) - struct _reent *<[reent]> - FILE *<[fp]>; - DESCRIPTION If the file or stream identified by <[fp]> is open, <> 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 int fcloseall(void); int _fcloseall_r (struct _reent *<[ptr]>); -TRAD_SYNOPSIS - #include - int fcloseall() - - int _fcloseall_r (<[ptr]>) - struct _reent *<[ptr]>; - DESCRIPTION <> 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 FILE *fdopen(int <[fd]>, const char *<[mode]>); FILE *_fdopen_r(struct _reent *<[reent]>, int <[fd]>, const char *<[mode]>); -TRAD_SYNOPSIS - #include - FILE *fdopen(<[fd]>, <[mode]>) - int <[fd]>; - char *<[mode]>; - - FILE *_fdopen_r(<[reent]>, <[fd]>, <[mode]>) - struct _reent *<[reent]>; - int <[fd]>; - char *<[mode]>); - DESCRIPTION <> produces a file descriptor of type <>, 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 int feof(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include int feof_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int feof(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int feof_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION <> 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 int ferror(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include int ferror_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int ferror(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int ferror_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION The <> 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 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 int fgetc(FILE *<[fp]>); @@ -43,27 +43,6 @@ ANSI_SYNOPSIS #include int _fgetc_unlocked_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fgetc(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int fgetc_unlocked(<[fp]>) - FILE *<[fp]>; - - #include - int _fgetc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int _fgetc_unlocked_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Use <> to get the next single character from the file or stream identified by <[fp]>. As a side effect, <> 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 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 - 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 <> can have a ``position'' that records how much of the file your program has already read. Many of the <> 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 char *fgets(char *restrict <[buf]>, int <[n]>, FILE *restrict <[fp]>); @@ -42,34 +42,6 @@ ANSI_SYNOPSIS #include char *_fgets_unlocked_r(struct _reent *<[ptr]>, char *restrict <[buf]>, int <[n]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - char *fgets(<[buf]>,<[n]>,<[fp]>) - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - char *fgets_unlocked(<[buf]>,<[n]>,<[fp]>) - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - - #include - char *_fgets_r(<[ptr]>, <[buf]>,<[n]>,<[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - int <[n]>; - FILE *<[fp]>; - - #include - 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 #include wint_t fgetwc(FILE *<[fp]>); @@ -80,53 +80,6 @@ ANSI_SYNOPSIS #include wint_t _getwc_unlocked_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - #include - wint_t fgetwc(<[fp]>) - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t fgetwc_unlocked(<[fp]>) - FILE *<[fp]>; - - #include - #include - wint_t _fgetwc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #include - #include - wint_t _fgetwc_unlocked_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #include - #include - wint_t getwc(<[fp]>) - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t getwc_unlocked(<[fp]>) - FILE *<[fp]>; - - #include - #include - wint_t _getwc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - - #include - #include - wint_t _getwc_unlocked_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION Use <> to get the next wide character from the file or stream identified by <[fp]>. As a side effect, <> 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_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_t *fgetws(<[ws]>,<[n]>,<[fp]>) - wchar_t *__restrict <[ws]>; - int <[n]>; - FILE *__restrict <[fp]>; - - #define _GNU_SOURCE - #include - wchar_t *fgetws_unlocked(<[ws]>,<[n]>,<[fp]>) - wchar_t *__restrict <[ws]>; - int <[n]>; - FILE *__restrict <[fp]>; - - #include - wchar_t *_fgetws_r(<[ptr]>, <[ws]>,<[n]>,<[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - int <[n]>; - FILE *<[fp]>; - - #include - 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 int fileno(FILE *<[fp]>); @@ -32,16 +32,6 @@ ANSI_SYNOPSIS #include int fileno_unlocked(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fileno(<[fp]>) - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int fileno_unlocked(<[fp]>) - FILE *<[fp]>; - DESCRIPTION You can use <> 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 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 FILE *fopen(const char *<[file]>, const char *<[mode]>); FILE *_fopen_r(struct _reent *<[reent]>, const char *<[file]>, const char *<[mode]>); -TRAD_SYNOPSIS - #include - FILE *fopen(<[file]>, <[mode]>) - char *<[file]>; - char *<[mode]>; - - FILE *_fopen_r(<[reent]>, <[file]>, <[mode]>) - struct _reent *<[reent]>; - char *<[file]>; - char *<[mode]>; - DESCRIPTION <> 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 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 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 int fputc(int <[ch]>, FILE *<[fp]>); @@ -42,30 +42,6 @@ ANSI_SYNOPSIS #include int _fputc_unlocked_r(struct _rent *<[ptr]>, int <[ch]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int fputc(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - int fputc_unlocked(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - - #include - int _fputc_r(<[ptr]>, <[ch]>, <[fp]>) - struct _reent *<[ptr]>; - int <[ch]>; - FILE *<[fp]>; - - #include - int _fputc_unlocked_r(<[ptr]>, <[ch]>, <[fp]>) - struct _reent *<[ptr]>; - int <[ch]>; - FILE *<[fp]>; - DESCRIPTION <> converts the argument <[ch]> from an <> to an <>, 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 int fputs(const char *restrict <[s]>, FILE *restrict <[fp]>); @@ -42,30 +42,6 @@ ANSI_SYNOPSIS #include int _fputs_unlocked_r(struct _reent *<[ptr]>, const char *restrict <[s]>, FILE *restrict <[fp]>); -TRAD_SYNOPSIS - #include - int fputs(<[s]>, <[fp]>) - char *<[s]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - int fputs_unlocked(<[s]>, <[fp]>) - char *<[s]>; - FILE *<[fp]>; - - #include - int _fputs_r(<[ptr]>, <[s]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[s]>; - FILE *<[fp]>; - - #include - int _fputs_unlocked_r(<[ptr]>, <[s]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[s]>; - FILE *<[fp]>; - DESCRIPTION <> 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 #include wint_t fputwc(wchar_t <[wc]>, FILE *<[fp]>); @@ -80,61 +80,6 @@ ANSI_SYNOPSIS #include wint_t _putwc_unlocked_r(struct _reent *<[ptr]>, wchar_t <[wc]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - #include - wint_t fputwc(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t fputwc_unlocked(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _fputwc_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _fputwc_unlocked_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t putwc(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #define _GNU_SOURCE - #include - #include - wint_t putwc_unlocked(<[wc]>, <[fp]>) - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _putwc_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - - #include - #include - wint_t _putwc_unlocked_r(<[ptr]>, <[wc]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t <[wc]>; - FILE *<[fp]>; - DESCRIPTION <> 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 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 - int fputws(<[ws]>, <[fp]>) - wchar_t *__restrict <[ws]>; - FILE *__restrict <[fp]>; - - #define _GNU_SOURCE - #include - int fputws_unlocked(<[ws]>, <[fp]>) - wchar_t *__restrict <[ws]>; - FILE *__restrict <[fp]>; - - #include - int _fputws_r(<[ptr]>, <[ws]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - FILE *<[fp]>; - - #include - int _fputws_unlocked_r(<[ptr]>, <[ws]>, <[fp]>) - struct _reent *<[ptr]>; - wchar_t *<[ws]>; - FILE *<[fp]>; - DESCRIPTION <> 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 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 - size_t fread(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - size_t fread_unlocked(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fread_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fread_unlocked_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - DESCRIPTION <> 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 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 - 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 <> if you wish to specify a particular file descriptor <[fp]> (notably <>, <>, or <>) 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 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 - 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 <> can have a ``position'' that records how much of the file your program has already read. Many of the <> 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 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 - 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 <> can have a ``position'' that records how much of the file your program has already read. Many of the <> 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 #include 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 int fsetpos(FILE *<[fp]>, const fpos_t *<[pos]>); int _fsetpos_r(struct _reent *<[ptr]>, FILE *<[fp]>, const fpos_t *<[pos]>); -TRAD_SYNOPSIS - #include - 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 <> can have a ``position'' that records how much of the file your program has already read. Many of the <> 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 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 - 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 <> can have a ``position'' that records how much of the file your program has already read. Many of the <> 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 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 - 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 <> can have a ``position'' that records how much of the file your program has already read. Many of the <> 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 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 int fwide(FILE *<[fp]>, int <[mode]>); int _fwide_r(struct _reent *<[ptr]>, FILE *<[fp]>, int <[mode]>); -TRAD_SYNOPSIS - #include - 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 <> 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 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 - size_t fwrite(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #define _BSD_SOURCE - #include - size_t fwrite_unlocked(<[buf]>, <[size]>, <[count]>, <[fp]>) - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fwrite_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - - #include - size_t _fwrite_unlocked_r(<[ptr]>, <[buf]>, <[size]>, <[count]>, <[fp]>) - struct _reent *<[ptr]>; - char *<[buf]>; - size_t <[size]>; - size_t <[count]>; - FILE *<[fp]>; - DESCRIPTION <> 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 int getc(FILE *<[fp]>); #include int _getc_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int getc(<[fp]>) - FILE *<[fp]>; - - #include - int _getc_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION <> is a macro, defined in <>. You can use <> 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 int getchar(void); int _getchar_r(struct _reent *<[reent]>); -TRAD_SYNOPSIS - #include - int getchar(); - - int _getchar_r(<[reent]>) - char * <[reent]>; - DESCRIPTION <> is a macro, defined in <>. You can use <> 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 int getdelim(char **<[bufptr]>, size_t *<[n]>, int <[delim]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int getdelim(<[bufptr]>, <[n]>, <[delim]>, <[fp]>) - char **<[bufptr]>; - size_t *<[n]>; - int <[delim]>; - FILE *<[fp]>; - DESCRIPTION <> 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 ssize_t getline(char **<[bufptr]>, size_t *<[n]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - ssize_t getline(<[bufptr]>, <[n]>, <[fp]>) - char **<[bufptr]>; - size_t *<[n]>; - FILE *<[fp]>; - DESCRIPTION <> 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 char *gets(char *<[buf]>); char *_gets_r(struct _reent *<[reent]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - - 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 int getw(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int getw(<[fp]>) - FILE *<[fp]>; - DESCRIPTION <> is a function, defined in <>. You can use <> 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 wint_t getwchar(void); @@ -51,22 +51,6 @@ ANSI_SYNOPSIS #include wint_t _getwchar_unlocked_r(struct _reent *<[reent]>); -TRAD_SYNOPSIS - #include - wint_t getwchar(); - - #define _GNU_SOURCE - #include - wint_t getwchar_unlocked(); - - #include - wint_t _getwchar_r(<[reent]>) - char * <[reent]>; - - #include - wint_t _getwchar_unlocked_r(<[reent]>) - char * <[reent]>; - DESCRIPTION <> function or macro is the wide character equivalent of the <> function. You can use <> 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 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 #include 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 #include 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 - #include - 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 <>, <>, and <> are (respectively) variants of <>, <>, and <>. 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 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 void perror(char *<[prefix]>); void _perror_r(struct _reent *<[reent]>, char *<[prefix]>); -TRAD_SYNOPSIS - #include - void perror(<[prefix]>) - char *<[prefix]>; - - void _perror_r(<[reent]>, <[prefix]>) - struct _reent *<[reent]>; - char *<[prefix]>; - DESCRIPTION Use <> to print (on standard error) an error message corresponding to the current value of the global variable <>. 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 int putc(int <[ch]>, FILE *<[fp]>); #include int _putc_r(struct _reent *<[ptr]>, int <[ch]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int putc(<[ch]>, <[fp]>) - int <[ch]>; - FILE *<[fp]>; - - #include - int _putc_r(<[ptr]>, <[ch]>, <[fp]>) - struct _reent *<[ptr]>; - int <[ch]>; - FILE *<[fp]>; - DESCRIPTION <> is a macro, defined in <>. <> 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 int putchar(int <[ch]>); int _putchar_r(struct _reent *<[reent]>, int <[ch]>); -TRAD_SYNOPSIS - #include - int putchar(<[ch]>) - int <[ch]>; - - int _putchar_r(<[reent]>, <[ch]>) - struct _reent *<[reent]>; - int <[ch]>; - DESCRIPTION <> is a macro, defined in <>. <> 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 int puts(const char *<[s]>); int _puts_r(struct _reent *<[reent]>, const char *<[s]>); -TRAD_SYNOPSIS - #include - int puts(<[s]>) - char *<[s]>; - - int _puts_r(<[reent]>, <[s]>) - struct _reent *<[reent]>; - char *<[s]>; - DESCRIPTION <> 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 int putw(int <[w]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - int putw(, <[fp]>) - int ; - FILE *<[fp]>; - DESCRIPTION <> is a function, defined in <>. You can use <> 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 wint_t putwchar(wchar_t <[wc]>); @@ -50,25 +50,6 @@ ANSI_SYNOPSIS #include wint_t _putwchar_unlocked_r(struct _reent *<[reent]>, wchar_t <[wc]>); -TRAD_SYNOPSIS - #include - wint_t putwchar(<[wc]>) - wchar_t <[wc]>; - - #include - wint_t putwchar_unlocked(<[wc]>) - wchar_t <[wc]>; - - #include - wint_t _putwchar_r(<[reent]>, <[wc]>) - struct _reent *<[reent]>; - wchar_t <[wc]>; - - #include - wint_t _putwchar_unlocked_r(<[reent]>, <[wc]>) - struct _reent *<[reent]>; - wchar_t <[wc]>; - DESCRIPTION The <> function or macro is the wide-character equivalent of the <> 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 int remove(char *<[filename]>); int _remove_r(struct _reent *<[reent]>, char *<[filename]>); -TRAD_SYNOPSIS - #include - int remove(<[filename]>) - char *<[filename]>; - - int _remove_r(<[reent]>, <[filename]>) - struct _reent *<[reent]>; - char *<[filename]>; - DESCRIPTION Use <> 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 int rename(const char *<[old]>, const char *<[new]>); -TRAD_SYNOPSIS - #include - int rename(<[old]>, <[new]>) - char *<[old]>; - char *<[new]>; - DESCRIPTION Use <> 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 void rewind(FILE *<[fp]>); void _rewind_r(struct _reent *<[ptr]>, FILE *<[fp]>); -TRAD_SYNOPSIS - #include - void rewind(<[fp]>) - FILE *<[fp]>; - - void _rewind_r(<[ptr]>, <[fp]>) - struct _reent *<[ptr]>; - FILE *<[fp]>; - DESCRIPTION <> 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 void setbuf(FILE *<[fp]>, char *<[buf]>); -TRAD_SYNOPSIS - #include - void setbuf(<[fp]>, <[buf]>) - FILE *<[fp]>; - char *<[buf]>; - DESCRIPTION <> 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 void setbuffer(FILE *<[fp]>, char *<[buf]>, int <[size]>); -TRAD_SYNOPSIS - #include - void setbuffer(<[fp]>, <[buf]>, <[size]>) - FILE *<[fp]>; - char *<[buf]>; - int <[size]>; - DESCRIPTION <> 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 void setlinebuf(FILE *<[fp]>); -TRAD_SYNOPSIS - #include - void setlinebuf(<[fp]>) - FILE *<[fp]>; - DESCRIPTION <> 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 int setvbuf(FILE *<[fp]>, char *<[buf]>, int <[mode]>, size_t <[size]>); -TRAD_SYNOPSIS - #include - int setvbuf(<[fp]>, <[buf]>, <[mode]>, <[size]>) - FILE *<[fp]>; - char *<[buf]>; - int <[mode]>; - size_t <[size]>; - DESCRIPTION Use <> 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 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 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 - - 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 <>, <>, and <> are the same as <>, <>, and <> 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 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 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 - - 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 <> 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 #include 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 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 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 - - 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 <> 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 FILE *tmpfile(void); FILE *_tmpfile_r(struct _reent *<[reent]>); -TRAD_SYNOPSIS - #include - 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 <>. 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 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 - 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 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 #include 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 #include 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 #include 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 - #include - 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 <>, <>, and <> are (respectively) variants of <>, <>, and <>. 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 #include #include 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 #include 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 - #include - 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 <>, <>, and <> are (respectively) variants of <>, <>, and <>. 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 #include 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 #include 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 - #include - 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 <>, <>, and <> are (respectively) variants of <>, <>, and <>. They differ only in