2004-09-16 Antony King <antony.king@st.com>
* libc/ctype/ctype.tex: Added missing documentation. * libc/stdio/stdio.tex Ditto. * libc/stdlib/stdlib.tex Ditto. * libc/string/strings.tex Ditto. * libc/time/time.tex: Ditto. * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
This commit is contained in:
parent
368ffbe3d8
commit
14613e5e74
|
@ -1,3 +1,12 @@
|
||||||
|
2004-09-16 Antony King <antony.king@st.com>
|
||||||
|
|
||||||
|
* libc/ctype/ctype.tex: Added missing documentation.
|
||||||
|
* libc/stdio/stdio.tex Ditto.
|
||||||
|
* libc/stdlib/stdlib.tex Ditto.
|
||||||
|
* libc/string/strings.tex Ditto.
|
||||||
|
* libc/time/time.tex: Ditto.
|
||||||
|
* libc/stdio/setbuffer.c: Removed setlinebuf documentation.
|
||||||
|
|
||||||
2004-09-15 Corinna Vinschen <vinschen@redhat.com>
|
2004-09-15 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* libc/reent/impure.c (reent_data): Define as alias to impure_data
|
* libc/reent/impure.c (reent_data): Define as alias to impure_data
|
||||||
|
|
|
@ -23,6 +23,7 @@ The header file @file{ctype.h} defines the macros.
|
||||||
* toupper:: Translate characters to upper case
|
* toupper:: Translate characters to upper case
|
||||||
* iswalnum:: Alphanumeric wide-character predicate
|
* iswalnum:: Alphanumeric wide-character predicate
|
||||||
* iswalpha:: Alphabetic wide-character predicate
|
* iswalpha:: Alphabetic wide-character predicate
|
||||||
|
* iswblank:: Blank wide-character predicate
|
||||||
* iswcntrl:: Control wide-character predicate
|
* iswcntrl:: Control wide-character predicate
|
||||||
* iswdigit:: Decimal digit wide-character predicate
|
* iswdigit:: Decimal digit wide-character predicate
|
||||||
* iswgraph:: Graphic wide-character predicate
|
* iswgraph:: Graphic wide-character predicate
|
||||||
|
@ -91,6 +92,9 @@ The header file @file{ctype.h} defines the macros.
|
||||||
@page
|
@page
|
||||||
@include ctype/iswcntrl.def
|
@include ctype/iswcntrl.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include ctype/iswblank.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include ctype/iswdigit.def
|
@include ctype/iswdigit.def
|
||||||
|
|
||||||
|
|
|
@ -63,41 +63,6 @@ RETURNS
|
||||||
PORTABILITY
|
PORTABILITY
|
||||||
This function comes from BSD not ANSI or POSIX.
|
This function comes from BSD not ANSI or POSIX.
|
||||||
|
|
||||||
Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
|
|
||||||
<<lseek>>, <<read>>, <<sbrk>>, <<write>>.
|
|
||||||
|
|
||||||
|
|
||||||
FUNCTION
|
|
||||||
<<setlinebuf>>---specify line buffering for a file or stream
|
|
||||||
|
|
||||||
INDEX
|
|
||||||
setlinebuf
|
|
||||||
|
|
||||||
ANSI_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
|
|
||||||
on output to the host system at every newline, as well as when the
|
|
||||||
buffer is full, or when an input operation intervenes.
|
|
||||||
|
|
||||||
WARNINGS
|
|
||||||
You may only use <<setlinebuf>> before performing any file operation
|
|
||||||
other than opening the file.
|
|
||||||
|
|
||||||
RETURNS
|
|
||||||
<<setlinebuf>> returns as per setvbuf.
|
|
||||||
|
|
||||||
PORTABILITY
|
|
||||||
This function comes from BSD not ANSI or POSIX.
|
|
||||||
|
|
||||||
Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
|
Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
|
||||||
<<lseek>>, <<read>>, <<sbrk>>, <<write>>.
|
<<lseek>>, <<read>>, <<sbrk>>, <<write>>.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -26,12 +26,14 @@ structure.
|
||||||
@menu
|
@menu
|
||||||
* clearerr:: Clear file or stream error indicator
|
* clearerr:: Clear file or stream error indicator
|
||||||
* fclose:: Close a file
|
* fclose:: Close a file
|
||||||
|
* fcloseall:: Close all files
|
||||||
* feof:: Test for end of file
|
* feof:: Test for end of file
|
||||||
* ferror:: Test whether read/write error has occurred
|
* ferror:: Test whether read/write error has occurred
|
||||||
* fflush:: Flush buffered file output
|
* fflush:: Flush buffered file output
|
||||||
* fgetc:: Get a character from a file or stream
|
* fgetc:: Get a character from a file or stream
|
||||||
* fgetpos:: Record position in a stream or file
|
* fgetpos:: Record position in a stream or file
|
||||||
* fgets:: Get character string from a file or stream
|
* fgets:: Get character string from a file or stream
|
||||||
|
* fileno:: Get file descriptor associated with stream
|
||||||
* fiprintf:: Write formatted output to file (integer only)
|
* fiprintf:: Write formatted output to file (integer only)
|
||||||
* fopen:: Open a file
|
* fopen:: Open a file
|
||||||
* fdopen:: Turn an open file into a stream
|
* fdopen:: Turn an open file into a stream
|
||||||
|
@ -44,20 +46,28 @@ structure.
|
||||||
* ftell:: Return position in a stream or file
|
* ftell:: Return position in a stream or file
|
||||||
* fwrite:: Write array elements from memory to a file or stream
|
* fwrite:: Write array elements from memory to a file or stream
|
||||||
* getc:: Get a character from a file or stream (macro)
|
* getc:: Get a character from a file or stream (macro)
|
||||||
|
* getc_unlocked:: Get a character from a file or stream (macro)
|
||||||
* getchar:: Get a character from standard input (macro)
|
* getchar:: Get a character from standard input (macro)
|
||||||
|
* getchar_unlocked:: Get a character from standard input (macro)
|
||||||
|
* getdelim:: Get character string from a file or stream
|
||||||
|
* getline:: Get character string from a file or stream
|
||||||
* gets:: Get character string from standard input (obsolete)
|
* gets:: Get character string from standard input (obsolete)
|
||||||
* getw:: Get a word (int) from a file or stream
|
* getw:: Get a word (int) from a file or stream
|
||||||
* iprintf:: Write formatted output (integer only)
|
* iprintf:: Write formatted output (integer only)
|
||||||
* mktemp:: Generate unused file name
|
* mktemp:: Generate unused file name
|
||||||
* perror:: Print an error message on standard error
|
* perror:: Print an error message on standard error
|
||||||
* putc:: Write a character on a stream or file (macro)
|
* putc:: Write a character on a stream or file (macro)
|
||||||
|
* putc_unlocked:: Write a character on a stream or file (macro)
|
||||||
* putchar:: Write a character on standard output (macro)
|
* putchar:: Write a character on standard output (macro)
|
||||||
|
* putchar_unlocked:: Write a character on standard output (macro)
|
||||||
* puts:: Write a character string on standard output
|
* puts:: Write a character string on standard output
|
||||||
* putw:: Write a word (int) to a file or stream
|
* putw:: Write a word (int) to a file or stream
|
||||||
* remove:: Delete a file's name
|
* remove:: Delete a file's name
|
||||||
* rename:: Rename a file
|
* rename:: Rename a file
|
||||||
* rewind:: Reinitialize a file or stream
|
* rewind:: Reinitialize a file or stream
|
||||||
* setbuf:: Specify full buffering for a file or stream
|
* setbuf:: Specify full buffering for a file or stream
|
||||||
|
* setbuffer:: Specify full buffering for a file or stream with size
|
||||||
|
* setlinebuf:: Specify line buffering for a file or stream
|
||||||
* setvbuf:: Specify buffering for a file or stream
|
* setvbuf:: Specify buffering for a file or stream
|
||||||
* siprintf:: Write formatted output (integer only)
|
* siprintf:: Write formatted output (integer only)
|
||||||
* printf:: Write formatted output
|
* printf:: Write formatted output
|
||||||
|
@ -65,6 +75,7 @@ structure.
|
||||||
* tmpfile:: Create a temporary file
|
* tmpfile:: Create a temporary file
|
||||||
* tmpnam:: Generate name for a temporary file
|
* tmpnam:: Generate name for a temporary file
|
||||||
* vprintf:: Format variable argument list
|
* vprintf:: Format variable argument list
|
||||||
|
* vscanf:: Format variable argument list
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@page
|
@page
|
||||||
|
@ -73,6 +84,9 @@ structure.
|
||||||
@page
|
@page
|
||||||
@include stdio/fclose.def
|
@include stdio/fclose.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/fcloseall.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/feof.def
|
@include stdio/feof.def
|
||||||
|
|
||||||
|
@ -91,6 +105,9 @@ structure.
|
||||||
@page
|
@page
|
||||||
@include stdio/fgets.def
|
@include stdio/fgets.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/fileno.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/fiprintf.def
|
@include stdio/fiprintf.def
|
||||||
|
|
||||||
|
@ -127,9 +144,21 @@ structure.
|
||||||
@page
|
@page
|
||||||
@include stdio/getc.def
|
@include stdio/getc.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/getc_u.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/getchar.def
|
@include stdio/getchar.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/getchar_u.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/getdelim.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/getline.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/gets.def
|
@include stdio/gets.def
|
||||||
|
|
||||||
|
@ -148,9 +177,15 @@ structure.
|
||||||
@page
|
@page
|
||||||
@include stdio/putc.def
|
@include stdio/putc.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/putc_u.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/putchar.def
|
@include stdio/putchar.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/putchar_u.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/puts.def
|
@include stdio/puts.def
|
||||||
|
|
||||||
|
@ -169,6 +204,12 @@ structure.
|
||||||
@page
|
@page
|
||||||
@include stdio/setbuf.def
|
@include stdio/setbuf.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/setbuffer.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/setlinebuf.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdio/setvbuf.def
|
@include stdio/setvbuf.def
|
||||||
|
|
||||||
|
@ -190,3 +231,5 @@ structure.
|
||||||
@page
|
@page
|
||||||
@include stdio/vfprintf.def
|
@include stdio/vfprintf.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdio/vfscanf.def
|
||||||
|
|
|
@ -5,6 +5,8 @@ This chapter groups utility functions useful in a variety of programs.
|
||||||
The corresponding declarations are in the header file @file{stdlib.h}.
|
The corresponding declarations are in the header file @file{stdlib.h}.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
|
* _Exit:: End program execution without cleaning up
|
||||||
|
* a64l:: String to long long
|
||||||
* abort:: Abnormal termination of a program
|
* abort:: Abnormal termination of a program
|
||||||
* abs:: Integer absolute value (magnitude)
|
* abs:: Integer absolute value (magnitude)
|
||||||
* assert:: Macro for Debugging Diagnostics
|
* assert:: Macro for Debugging Diagnostics
|
||||||
|
@ -30,16 +32,25 @@ The corresponding declarations are in the header file @file{stdlib.h}.
|
||||||
* mbstowcs:: Minimal multibyte string to wide string converter
|
* mbstowcs:: Minimal multibyte string to wide string converter
|
||||||
* mblen:: Minimal multibyte length
|
* mblen:: Minimal multibyte length
|
||||||
* mbtowc:: Minimal multibyte to wide character converter
|
* mbtowc:: Minimal multibyte to wide character converter
|
||||||
|
* on_exit:: Request execution of functions at program exit
|
||||||
* rand:: Pseudo-random numbers
|
* rand:: Pseudo-random numbers
|
||||||
* rand48:: Uniformly distributed pseudo-random numbers
|
* rand48:: Uniformly distributed pseudo-random numbers
|
||||||
* strtod:: String to double or float
|
* strtod:: String to double or float
|
||||||
* strtol:: String to long
|
* strtol:: String to long
|
||||||
|
* strtoll:: String to long long
|
||||||
* strtoul:: String to unsigned long
|
* strtoul:: String to unsigned long
|
||||||
|
* strtoull:: String to unsigned long long
|
||||||
* system:: Execute command string
|
* system:: Execute command string
|
||||||
* wcstombs:: Minimal wide string to multibyte string converter
|
* wcstombs:: Minimal wide string to multibyte string converter
|
||||||
* wctomb:: Minimal wide character to multibyte converter
|
* wctomb:: Minimal wide character to multibyte converter
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdlib/_Exit.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdlib/a64l.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdlib/abort.def
|
@include stdlib/abort.def
|
||||||
|
|
||||||
|
@ -112,6 +123,9 @@ The corresponding declarations are in the header file @file{stdlib.h}.
|
||||||
@page
|
@page
|
||||||
@include stdlib/mbtowc.def
|
@include stdlib/mbtowc.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdlib/on_exit.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdlib/rand.def
|
@include stdlib/rand.def
|
||||||
|
|
||||||
|
@ -124,9 +138,15 @@ The corresponding declarations are in the header file @file{stdlib.h}.
|
||||||
@page
|
@page
|
||||||
@include stdlib/strtol.def
|
@include stdlib/strtol.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdlib/strtoll.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdlib/strtoul.def
|
@include stdlib/strtoul.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include stdlib/strtoull.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include stdlib/system.def
|
@include stdlib/system.def
|
||||||
|
|
||||||
|
|
|
@ -26,12 +26,14 @@ managing areas of memory. The corresponding declarations are in
|
||||||
* strcpy:: Copy string
|
* strcpy:: Copy string
|
||||||
* strcspn:: Count chars not in string
|
* strcspn:: Count chars not in string
|
||||||
* strerror:: Convert error number to string
|
* strerror:: Convert error number to string
|
||||||
|
* strerror_r:: Convert error number to string
|
||||||
* strlen:: Character string length
|
* strlen:: Character string length
|
||||||
* strlwr:: Convert string to lower case
|
* strlwr:: Convert string to lower case
|
||||||
* strncasecmp:: Compare strings ignoring case
|
* strncasecmp:: Compare strings ignoring case
|
||||||
* strncat:: Concatenate strings
|
* strncat:: Concatenate strings
|
||||||
* strncmp:: Character string compare
|
* strncmp:: Character string compare
|
||||||
* strncpy:: Counted copy string
|
* strncpy:: Counted copy string
|
||||||
|
* strnlen:: Character string length
|
||||||
* strpbrk:: Find chars in string
|
* strpbrk:: Find chars in string
|
||||||
* strrchr:: Reverse search for character in string
|
* strrchr:: Reverse search for character in string
|
||||||
* strspn:: Find initial match
|
* strspn:: Find initial match
|
||||||
|
@ -102,6 +104,9 @@ managing areas of memory. The corresponding declarations are in
|
||||||
@page
|
@page
|
||||||
@include string/strerror.def
|
@include string/strerror.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include string/strerror_r.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include string/strlen.def
|
@include string/strlen.def
|
||||||
|
|
||||||
|
@ -120,6 +125,9 @@ managing areas of memory. The corresponding declarations are in
|
||||||
@page
|
@page
|
||||||
@include string/strncpy.def
|
@include string/strncpy.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include string/strnlen.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include string/strpbrk.def
|
@include string/strpbrk.def
|
||||||
|
|
||||||
|
|
|
@ -56,6 +56,7 @@ not in effect, negative means no information about DST is available.
|
||||||
* mktime:: Convert time to arithmetic representation
|
* mktime:: Convert time to arithmetic representation
|
||||||
* strftime:: Flexible calendar time formatter
|
* strftime:: Flexible calendar time formatter
|
||||||
* time:: Get current calendar time (as single number)
|
* time:: Get current calendar time (as single number)
|
||||||
|
* __tz_lock:: Lock time zone global variables
|
||||||
* tzset:: Set timezone info
|
* tzset:: Set timezone info
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
|
@ -86,5 +87,8 @@ not in effect, negative means no information about DST is available.
|
||||||
@page
|
@page
|
||||||
@include time/time.def
|
@include time/time.def
|
||||||
|
|
||||||
|
@page
|
||||||
|
@include time/tzlock.def
|
||||||
|
|
||||||
@page
|
@page
|
||||||
@include time/tzset.def
|
@include time/tzset.def
|
||||||
|
|
Loading…
Reference in New Issue