diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-09-16 21:15:14 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-09-16 21:15:14 +0000 |
commit | 14613e5e74b633aeaa4f69e7ea096074ba94cb1f (patch) | |
tree | 0503fb6fabceee7c268746ac4cd69c6428ef6b84 /newlib | |
parent | 368ffbe3d851a72b74527088f9cba63f71466742 (diff) | |
download | newlib-14613e5e74b633aeaa4f69e7ea096074ba94cb1f.zip newlib-14613e5e74b633aeaa4f69e7ea096074ba94cb1f.tar.gz newlib-14613e5e74b633aeaa4f69e7ea096074ba94cb1f.tar.bz2 |
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.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 9 | ||||
-rw-r--r-- | newlib/libc/ctype/ctype.tex | 4 | ||||
-rw-r--r-- | newlib/libc/stdio/setbuffer.c | 35 | ||||
-rw-r--r-- | newlib/libc/stdio/stdio.tex | 43 | ||||
-rw-r--r-- | newlib/libc/stdlib/stdlib.tex | 20 | ||||
-rw-r--r-- | newlib/libc/string/strings.tex | 8 | ||||
-rw-r--r-- | newlib/libc/time/time.tex | 4 |
7 files changed, 88 insertions, 35 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index defa90a..09843bf 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -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> * libc/reent/impure.c (reent_data): Define as alias to impure_data diff --git a/newlib/libc/ctype/ctype.tex b/newlib/libc/ctype/ctype.tex index df398f6..bfdc929 100644 --- a/newlib/libc/ctype/ctype.tex +++ b/newlib/libc/ctype/ctype.tex @@ -23,6 +23,7 @@ The header file @file{ctype.h} defines the macros. * toupper:: Translate characters to upper case * iswalnum:: Alphanumeric wide-character predicate * iswalpha:: Alphabetic wide-character predicate +* iswblank:: Blank wide-character predicate * iswcntrl:: Control wide-character predicate * iswdigit:: Decimal digit wide-character predicate * iswgraph:: Graphic wide-character predicate @@ -92,6 +93,9 @@ The header file @file{ctype.h} defines the macros. @include ctype/iswcntrl.def @page +@include ctype/iswblank.def + +@page @include ctype/iswdigit.def @page diff --git a/newlib/libc/stdio/setbuffer.c b/newlib/libc/stdio/setbuffer.c index 4b2e2f6..e881874 100644 --- a/newlib/libc/stdio/setbuffer.c +++ b/newlib/libc/stdio/setbuffer.c @@ -65,41 +65,6 @@ 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>>, -<<lseek>>, <<read>>, <<sbrk>>, <<write>>. */ #include <_ansi.h> diff --git a/newlib/libc/stdio/stdio.tex b/newlib/libc/stdio/stdio.tex index 217aed1..728831c 100644 --- a/newlib/libc/stdio/stdio.tex +++ b/newlib/libc/stdio/stdio.tex @@ -26,12 +26,14 @@ structure. @menu * clearerr:: Clear file or stream error indicator * fclose:: Close a file +* fcloseall:: Close all files * feof:: Test for end of file * ferror:: Test whether read/write error has occurred * fflush:: Flush buffered file output * fgetc:: Get a character from a file or stream * fgetpos:: Record position in a stream or file * fgets:: Get character string from a file or stream +* fileno:: Get file descriptor associated with stream * fiprintf:: Write formatted output to file (integer only) * fopen:: Open a file * fdopen:: Turn an open file into a stream @@ -44,20 +46,28 @@ structure. * ftell:: Return position in a stream or file * fwrite:: Write array elements from memory to a file or stream * 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_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) * getw:: Get a word (int) from a file or stream * iprintf:: Write formatted output (integer only) * mktemp:: Generate unused file name * perror:: Print an error message on standard error * 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_unlocked:: Write a character on standard output (macro) * puts:: Write a character string on standard output * putw:: Write a word (int) to a file or stream * remove:: Delete a file's name * rename:: Rename a file * rewind:: Reinitialize 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 * siprintf:: Write formatted output (integer only) * printf:: Write formatted output @@ -65,6 +75,7 @@ structure. * tmpfile:: Create a temporary file * tmpnam:: Generate name for a temporary file * vprintf:: Format variable argument list +* vscanf:: Format variable argument list @end menu @page @@ -74,6 +85,9 @@ structure. @include stdio/fclose.def @page +@include stdio/fcloseall.def + +@page @include stdio/feof.def @page @@ -92,6 +106,9 @@ structure. @include stdio/fgets.def @page +@include stdio/fileno.def + +@page @include stdio/fiprintf.def @page @@ -128,8 +145,20 @@ structure. @include stdio/getc.def @page +@include stdio/getc_u.def + +@page @include stdio/getchar.def +@page +@include stdio/getchar_u.def + +@page +@include stdio/getdelim.def + +@page +@include stdio/getline.def + @page @include stdio/gets.def @@ -149,9 +178,15 @@ structure. @include stdio/putc.def @page +@include stdio/putc_u.def + +@page @include stdio/putchar.def @page +@include stdio/putchar_u.def + +@page @include stdio/puts.def @page @@ -170,6 +205,12 @@ structure. @include stdio/setbuf.def @page +@include stdio/setbuffer.def + +@page +@include stdio/setlinebuf.def + +@page @include stdio/setvbuf.def @page @@ -190,3 +231,5 @@ structure. @page @include stdio/vfprintf.def +@page +@include stdio/vfscanf.def diff --git a/newlib/libc/stdlib/stdlib.tex b/newlib/libc/stdlib/stdlib.tex index 39fb915..9d19b71 100644 --- a/newlib/libc/stdlib/stdlib.tex +++ b/newlib/libc/stdlib/stdlib.tex @@ -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}. @menu +* _Exit:: End program execution without cleaning up +* a64l:: String to long long * abort:: Abnormal termination of a program * abs:: Integer absolute value (magnitude) * assert:: Macro for Debugging Diagnostics @@ -30,17 +32,26 @@ The corresponding declarations are in the header file @file{stdlib.h}. * mbstowcs:: Minimal multibyte string to wide string converter * mblen:: Minimal multibyte length * mbtowc:: Minimal multibyte to wide character converter +* on_exit:: Request execution of functions at program exit * rand:: Pseudo-random numbers * rand48:: Uniformly distributed pseudo-random numbers * strtod:: String to double or float * strtol:: String to long +* strtoll:: String to long long * strtoul:: String to unsigned long +* strtoull:: String to unsigned long long * system:: Execute command string * wcstombs:: Minimal wide string to multibyte string converter * wctomb:: Minimal wide character to multibyte converter @end menu @page +@include stdlib/_Exit.def + +@page +@include stdlib/a64l.def + +@page @include stdlib/abort.def @page @@ -113,6 +124,9 @@ The corresponding declarations are in the header file @file{stdlib.h}. @include stdlib/mbtowc.def @page +@include stdlib/on_exit.def + +@page @include stdlib/rand.def @page @@ -125,9 +139,15 @@ The corresponding declarations are in the header file @file{stdlib.h}. @include stdlib/strtol.def @page +@include stdlib/strtoll.def + +@page @include stdlib/strtoul.def @page +@include stdlib/strtoull.def + +@page @include stdlib/system.def @page diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex index 7f9106e..4e1a2cd 100644 --- a/newlib/libc/string/strings.tex +++ b/newlib/libc/string/strings.tex @@ -26,12 +26,14 @@ managing areas of memory. The corresponding declarations are in * strcpy:: Copy string * strcspn:: Count chars not in string * strerror:: Convert error number to string +* strerror_r:: Convert error number to string * strlen:: Character string length * strlwr:: Convert string to lower case * strncasecmp:: Compare strings ignoring case * strncat:: Concatenate strings * strncmp:: Character string compare * strncpy:: Counted copy string +* strnlen:: Character string length * strpbrk:: Find chars in string * strrchr:: Reverse search for character in string * strspn:: Find initial match @@ -103,6 +105,9 @@ managing areas of memory. The corresponding declarations are in @include string/strerror.def @page +@include string/strerror_r.def + +@page @include string/strlen.def @page @@ -121,6 +126,9 @@ managing areas of memory. The corresponding declarations are in @include string/strncpy.def @page +@include string/strnlen.def + +@page @include string/strpbrk.def @page diff --git a/newlib/libc/time/time.tex b/newlib/libc/time/time.tex index ace08b0..5901857 100644 --- a/newlib/libc/time/time.tex +++ b/newlib/libc/time/time.tex @@ -56,6 +56,7 @@ not in effect, negative means no information about DST is available. * mktime:: Convert time to arithmetic representation * strftime:: Flexible calendar time formatter * time:: Get current calendar time (as single number) +* __tz_lock:: Lock time zone global variables * tzset:: Set timezone info @end menu @@ -87,4 +88,7 @@ not in effect, negative means no information about DST is available. @include time/time.def @page +@include time/tzlock.def + +@page @include time/tzset.def |