newlib: docs: add "Function " to every function node

When creating a split manual with one-node-per-page, the main index.html
ends up getting clobbered by the page for the index() function because
it uses "@node index" which, for html, also creates an index.html page.
To remedy this, add "Function " to every function node so now we output
"Function-index.html" and avoid clobbering.  It also namespaces every
other function and helps make sure we don't clobber anything else.

Otherwise, there isn't really much rendering difference as @node text
is mostly internal.  Node title text comes from @section instead.
This commit is contained in:
Mike Frysinger 2024-01-05 00:01:23 -05:00
parent 613267aa6e
commit 72b6105518
20 changed files with 436 additions and 436 deletions

View File

@ -75,7 +75,7 @@
; ;
: FUNCTION : FUNCTION
"@node " - a "@node Function " - a
skip_past_newline skip_past_newline
copy_past_newline copy_past_newline
dup - a x x dup - a x x

View File

@ -7,39 +7,39 @@ simple character mappings.
The header file @file{ctype.h} defines the macros. The header file @file{ctype.h} defines the macros.
@menu @menu
* isalnum:: Alphanumeric character predicate (isalnum, isalnum_l) * Function isalnum:: Alphanumeric character predicate (isalnum, isalnum_l)
* isalpha:: Alphabetic character predicate (isalpha, isalpha_l) * Function isalpha:: Alphabetic character predicate (isalpha, isalpha_l)
* isascii:: ASCII character predicate (isascii, isascii_l) * Function isascii:: ASCII character predicate (isascii, isascii_l)
* isblank:: Blank character predicate (isblank, isblank_l) * Function isblank:: Blank character predicate (isblank, isblank_l)
* iscntrl:: Control character predicate (iscntrl, iscntrl_l) * Function iscntrl:: Control character predicate (iscntrl, iscntrl_l)
* isdigit:: Decimal digit predicate (isdigit, isdigit_l) * Function isdigit:: Decimal digit predicate (isdigit, isdigit_l)
* islower:: Lowercase character predicate (islower, islower_l) * Function islower:: Lowercase character predicate (islower, islower_l)
* isprint:: Printable character predicates (isprint, isprint_l. isgraph, isgraph_l) * Function isprint:: Printable character predicates (isprint, isprint_l. isgraph, isgraph_l)
* ispunct:: Punctuation character predicate (ispunct, ispunct_l) * Function ispunct:: Punctuation character predicate (ispunct, ispunct_l)
* isspace:: Whitespace character predicate (isspace, isspace_l) * Function isspace:: Whitespace character predicate (isspace, isspace_l)
* isupper:: Uppercase character predicate (isupper, isupper_l) * Function isupper:: Uppercase character predicate (isupper, isupper_l)
* isxdigit:: Hexadecimal digit predicate (isxdigit, isxdigit_l) * Function isxdigit:: Hexadecimal digit predicate (isxdigit, isxdigit_l)
* toascii:: Force integers to ASCII range (toascii, toascii_l) * Function toascii:: Force integers to ASCII range (toascii, toascii_l)
* tolower:: Translate characters to lowercase (tolower, tolower_l) * Function tolower:: Translate characters to lowercase (tolower, tolower_l)
* toupper:: Translate characters to uppercase (toupper, toupper_l) * Function toupper:: Translate characters to uppercase (toupper, toupper_l)
* iswalnum:: Alphanumeric wide character predicate (iswalnum, iswalnum_l) * Function iswalnum:: Alphanumeric wide character predicate (iswalnum, iswalnum_l)
* iswalpha:: Alphabetic wide character predicate (iswalpha, iswalpha_l) * Function iswalpha:: Alphabetic wide character predicate (iswalpha, iswalpha_l)
* iswblank:: Blank wide character predicate (iswblank, iswblank_l) * Function iswblank:: Blank wide character predicate (iswblank, iswblank_l)
* iswcntrl:: Control wide character predicate (iswcntrl, iswcntrl_l) * Function iswcntrl:: Control wide character predicate (iswcntrl, iswcntrl_l)
* iswdigit:: Decimal digit wide character predicate (iswdigit, iswdigit_l) * Function iswdigit:: Decimal digit wide character predicate (iswdigit, iswdigit_l)
* iswgraph:: Graphic wide character predicate (iswgraph, iswgraph_l) * Function iswgraph:: Graphic wide character predicate (iswgraph, iswgraph_l)
* iswlower:: Lowercase wide character predicate (iswlower, iswlower_l) * Function iswlower:: Lowercase wide character predicate (iswlower, iswlower_l)
* iswprint:: Printable wide character predicate (iswprint, iswprint_l) * Function iswprint:: Printable wide character predicate (iswprint, iswprint_l)
* iswpunct:: Punctuation wide character predicate (iswpunct, iswpunct_l) * Function iswpunct:: Punctuation wide character predicate (iswpunct, iswpunct_l)
* iswspace:: Whitespace wide character predicate (iswspace, iswspace_l) * Function iswspace:: Whitespace wide character predicate (iswspace, iswspace_l)
* iswupper:: Uppercase wide character predicate (iswupper, iswupper_l) * Function iswupper:: Uppercase wide character predicate (iswupper, iswupper_l)
* iswxdigit:: Hexadecimal digit wide character predicate (iswxdigit, iswxdigit_l) * Function iswxdigit:: Hexadecimal digit wide character predicate (iswxdigit, iswxdigit_l)
* iswctype:: Extensible wide-character test (iswctype, iswctype_l) * Function iswctype:: Extensible wide-character test (iswctype, iswctype_l)
* wctype:: Compute wide-character test type (wctype, wctype_l) * Function wctype:: Compute wide-character test type (wctype, wctype_l)
* towlower:: Translate wide characters to lowercase (towlower, towlower_l) * Function towlower:: Translate wide characters to lowercase (towlower, towlower_l)
* towupper:: Translate wide characters to uppercase (towupper, towupper_l) * Function towupper:: Translate wide characters to uppercase (towupper, towupper_l)
* towctrans:: Extensible wide-character translation (towctrans, towctrans_l) * Function towctrans:: Extensible wide-character translation (towctrans, towctrans_l)
* wctrans:: Compute wide-character translation type (wctrans, wctrans_l) * Function wctrans:: Compute wide-character translation type (wctrans, wctrans_l)
@end menu @end menu
@page @page

View File

@ -6,7 +6,7 @@ The iconv functions declarations are in
@file{iconv.h}. @file{iconv.h}.
@menu @menu
* iconv:: Encoding conversion routines * Function iconv:: Encoding conversion routines
* Introduction to iconv:: Introduction to iconv and encodings * Introduction to iconv:: Introduction to iconv and encodings
* Supported encodings:: The list of currently supported encodings * Supported encodings:: The list of currently supported encodings
* iconv design decisions:: General iconv library design issues * iconv design decisions:: General iconv library design issues

View File

@ -208,13 +208,13 @@ also defines a special type to represent variable argument lists: this
type is called @code{va_list}. type is called @code{va_list}.
@menu @menu
* va_start:: * Function va_start::
* va_arg:: * Function va_arg::
* va_end:: * Function va_end::
@end menu @end menu
@page @page
@node va_start @node Function va_start
@subsection Initialize variable argument list @subsection Initialize variable argument list
@findex va_start @findex va_start
@strong{Synopsis} @strong{Synopsis}
@ -239,7 +239,7 @@ variable arguments in an ANSI C function header). You can only use
ANSI C requires @code{va_start}. ANSI C requires @code{va_start}.
@page @page
@node va_arg @node Function va_arg
@subsection Extract a value from argument list @subsection Extract a value from argument list
@findex va_arg @findex va_arg
@strong{Synopsis} @strong{Synopsis}
@ -273,7 +273,7 @@ in your function call.
ANSI C requires @code{va_arg}. ANSI C requires @code{va_arg}.
@page @page
@node va_end @node Function va_end
@subsection Abandon a variable argument list @subsection Abandon a variable argument list
@findex va_end @findex va_end
@strong{Synopsis} @strong{Synopsis}
@ -307,14 +307,14 @@ As with @file{stdarg.h}, the type @code{va_list} is used to hold a data
structure representing a variable argument list. structure representing a variable argument list.
@menu @menu
* va_alist:: * Function va_alist::
* va_start-trad:: * Function va_start-trad::
* va_arg-trad:: * Function va_arg-trad::
* va_end-trad:: * Function va_end-trad::
@end menu @end menu
@page @page
@node va_alist @node Function va_alist
@subsection Declare variable arguments @subsection Declare variable arguments
@findex va_alist @findex va_alist
@findex va_dcl @findex va_dcl
@ -340,7 +340,7 @@ possible.
declaring variable argument lists prior to ANSI C. declaring variable argument lists prior to ANSI C.
@page @page
@node va_start-trad @node Function va_start-trad
@subsection Initialize variable argument list @subsection Initialize variable argument list
@findex va_start @findex va_start
@strong{Synopsis} @strong{Synopsis}
@ -364,7 +364,7 @@ definitions are incompatible; the ANSI version has another parameter
besides @var{ap}. besides @var{ap}.
@page @page
@node va_arg-trad @node Function va_arg-trad
@subsection Extract a value from argument list @subsection Extract a value from argument list
@findex va_arg @findex va_arg
@strong{Synopsis} @strong{Synopsis}
@ -387,7 +387,7 @@ The @code{va_arg} defined in @file{varargs.h} has the same syntax and
usage as the ANSI C version from @file{stdarg.h}. usage as the ANSI C version from @file{stdarg.h}.
@page @page
@node va_end-trad @node Function va_end-trad
@subsection Abandon a variable argument list @subsection Abandon a variable argument list
@findex va_end @findex va_end
@strong{Synopsis} @strong{Synopsis}

View File

@ -116,7 +116,7 @@ representing money, using the same rules as @code{p_sign_posn}.
@end table @end table
@menu @menu
* setlocale:: Select or query locale * Function setlocale:: Select or query locale
@end menu @end menu
@page @page

View File

@ -5,12 +5,12 @@ This chapter describes machine-dependent functions that are included
in the C library when it is built for Xtensa processors. in the C library when it is built for Xtensa processors.
@menu @menu
* setjmp:: Save stack environment * Function setjmp:: Save stack environment
* longjmp:: Non-local goto * Function longjmp:: Non-local goto
@end menu @end menu
@page @page
@node setjmp @node Function setjmp
@section @code{setjmp}---save stack environment @section @code{setjmp}---save stack environment
@findex setjmp @findex setjmp
@strong{Synopsis} @strong{Synopsis}
@ -39,7 +39,7 @@ setjmp requires no supporting OS subroutines.
@* @*
@page @page
@node longjmp @node Function longjmp
@section @code{longjmp}---non-local goto @section @code{longjmp}---non-local goto
@findex longjmp @findex longjmp
@strong{Synopsis} @strong{Synopsis}

View File

@ -3,9 +3,9 @@
This chapter describes miscellaneous routines not covered elsewhere. This chapter describes miscellaneous routines not covered elsewhere.
@menu @menu
* ffs:: Return first bit set in a word * Function ffs:: Return first bit set in a word
* __retarget_lock_init:: Retargetable locking routines * Function __retarget_lock_init:: Retargetable locking routines
* unctrl:: Return printable representation of a character * Function unctrl:: Return printable representation of a character
@end menu @end menu
@page @page

View File

@ -5,8 +5,8 @@ This chapter groups several utility functions specified by POSIX, but
not by C. Each function documents which header to use. not by C. Each function documents which header to use.
@menu @menu
* popen:: Create a stream tied to a child process * Function popen:: Create a stream tied to a child process
* posix_spawn:: Spawn a process * Function posix_spawn:: Spawn a process
@end menu @end menu
@page @page

View File

@ -59,10 +59,10 @@ they may store a signal value. (Static storage is not otherwise
reliable from signal handlers.) reliable from signal handlers.)
@menu @menu
* psignal:: Print a signal message to standard error * Function psignal:: Print a signal message to standard error
* raise:: Send a signal * Function raise:: Send a signal
* sig2str:: Translate between signal number and name * Function sig2str:: Translate between signal number and name
* signal:: Specify handler subroutine for a signal * Function signal:: Specify handler subroutine for a signal
@end menu @end menu
@page @page

View File

@ -24,81 +24,81 @@ instead of the globals @code{stdin}, @code{stdout}, and
structure. structure.
@menu @menu
* clearerr:: Clear file or stream error indicator * Function clearerr:: Clear file or stream error indicator
* diprintf:: Print to a file descriptor (integer only) * Function diprintf:: Print to a file descriptor (integer only)
* dprintf:: Print to a file descriptor * Function dprintf:: Print to a file descriptor
* fclose:: Close a file * Function fclose:: Close a file
* fcloseall:: Close all files * Function fcloseall:: Close all files
* fdopen:: Turn an open file into a stream * Function fdopen:: Turn an open file into a stream
* feof:: Test for end of file * Function feof:: Test for end of file
* ferror:: Test whether read/write error has occurred * Function ferror:: Test whether read/write error has occurred
* fflush:: Flush buffered file output * Function fflush:: Flush buffered file output
* fgetc:: Get a character from a file or stream * Function fgetc:: Get a character from a file or stream
* fgetpos:: Record position in a stream or file * Function fgetpos:: Record position in a stream or file
* fgets:: Get character string from a file or stream * Function fgets:: Get character string from a file or stream
* fgetwc:: Get a wide character from a file or stream * Function fgetwc:: Get a wide character from a file or stream
* fgetws:: Get a wide character string from a file or stream * Function fgetws:: Get a wide character string from a file or stream
* fileno:: Get file descriptor associated with stream * Function fileno:: Get file descriptor associated with stream
* fmemopen:: Open a stream around a fixed-length buffer * Function fmemopen:: Open a stream around a fixed-length buffer
* fopen:: Open a file * Function fopen:: Open a file
* fopencookie:: Open a stream with custom callbacks * Function fopencookie:: Open a stream with custom callbacks
* fpurge:: Discard all pending I/O on a stream * Function fpurge:: Discard all pending I/O on a stream
* fputc:: Write a character on a stream or file * Function fputc:: Write a character on a stream or file
* fputs:: Write a character string in a file or stream * Function fputs:: Write a character string in a file or stream
* fputwc:: Write a wide character to a file or stream * Function fputwc:: Write a wide character to a file or stream
* fputws:: Write a wide character string to a file or stream * Function fputws:: Write a wide character string to a file or stream
* fread:: Read array elements from a file * Function fread:: Read array elements from a file
* freopen:: Open a file using an existing file descriptor * Function freopen:: Open a file using an existing file descriptor
* fseek:: Set file position * Function fseek:: Set file position
* __fsetlocking:: Set or query locking mode on FILE stream * Function __fsetlocking:: Set or query locking mode on FILE stream
* fsetpos:: Restore position of a stream or file * Function fsetpos:: Restore position of a stream or file
* ftell:: Return position in a stream or file * Function ftell:: Return position in a stream or file
* funopen:: Open a stream with custom callbacks * Function funopen:: Open a stream with custom callbacks
* fwide:: Set and determine the orientation of a FILE stream * Function fwide:: Set and determine the orientation of a FILE stream
* fwrite:: Write array elements from memory to a file or stream * Function fwrite:: Write array elements from memory to a file or stream
* getc:: Get a character from a file or stream (macro) * Function getc:: Get a character from a file or stream (macro)
* getc_unlocked:: Get a character from a file or stream (macro) * Function getc_unlocked:: Get a character from a file or stream (macro)
* getchar:: Get a character from standard input (macro) * Function getchar:: Get a character from standard input (macro)
* getchar_unlocked:: Get a character from standard input (macro) * Function getchar_unlocked:: Get a character from standard input (macro)
* getdelim:: Get character string from a file or stream * Function getdelim:: Get character string from a file or stream
* getline:: Get character string from a file or stream * Function getline:: Get character string from a file or stream
* gets:: Get character string from standard input (obsolete) * Function gets:: Get character string from standard input (obsolete)
* getw:: Get a word (int) from a file or stream * Function getw:: Get a word (int) from a file or stream
* getwchar:: Get a wide character from standard input * Function getwchar:: Get a wide character from standard input
* mktemp:: Generate unused file name * Function mktemp:: Generate unused file name
* open_memstream:: Open a write stream around an arbitrary-length buffer * Function open_memstream:: Open a write stream around an arbitrary-length buffer
* perror:: Print an error message on standard error * Function perror:: Print an error message on standard error
* putc:: Write a character on a stream or file (macro) * Function putc:: Write a character on a stream or file (macro)
* putc_unlocked:: Write a character on a stream or file (macro) * Function putc_unlocked:: Write a character on a stream or file (macro)
* putchar:: Write a character on standard output (macro) * Function putchar:: Write a character on standard output (macro)
* putchar_unlocked:: Write a character on standard output (macro) * Function putchar_unlocked:: Write a character on standard output (macro)
* puts:: Write a character string on standard output * Function puts:: Write a character string on standard output
* putw:: Write a word (int) to a file or stream * Function putw:: Write a word (int) to a file or stream
* putwchar:: Write a wide character to standard output * Function putwchar:: Write a wide character to standard output
* remove:: Delete a file's name * Function remove:: Delete a file's name
* rename:: Rename a file * Function rename:: Rename a file
* rewind:: Reinitialize a file or stream * Function rewind:: Reinitialize a file or stream
* setbuf:: Specify full buffering for a file or stream * Function setbuf:: Specify full buffering for a file or stream
* setbuffer:: Specify full buffering for a file or stream with size * Function setbuffer:: Specify full buffering for a file or stream with size
* setlinebuf:: Specify line buffering for a file or stream * Function setlinebuf:: Specify line buffering for a file or stream
* setvbuf:: Specify buffering for a file or stream * Function setvbuf:: Specify buffering for a file or stream
* siprintf:: Write formatted output (integer only) * Function siprintf:: Write formatted output (integer only)
* siscanf:: Scan and format input (integer only) * Function siscanf:: Scan and format input (integer only)
* sprintf:: Write formatted output * Function sprintf:: Write formatted output
* sscanf:: Scan and format input * Function sscanf:: Scan and format input
* stdio_ext:: Access internals of FILE structure * Function stdio_ext:: Access internals of FILE structure
* swprintf:: Write formatted wide character output * Function swprintf:: Write formatted wide character output
* swscanf:: Scan and format wide character input * Function swscanf:: Scan and format wide character input
* tmpfile:: Create a temporary file * Function tmpfile:: Create a temporary file
* tmpnam:: Generate name for a temporary file * Function tmpnam:: Generate name for a temporary file
* ungetc:: Push data back into a stream * Function ungetc:: Push data back into a stream
* ungetwc:: Push wide character data back into a stream * Function ungetwc:: Push wide character data back into a stream
* vfprintf:: Format variable argument list * Function vfprintf:: Format variable argument list
* vfscanf:: Scan variable argument list * Function vfscanf:: Scan variable argument list
* vfwprintf:: Format variable wide character argument list * Function vfwprintf:: Format variable wide character argument list
* vfwscanf:: Scan and format argument list from wide character input * Function vfwscanf:: Scan and format argument list from wide character input
* viprintf:: Format variable argument list (integer only) * Function viprintf:: Format variable argument list (integer only)
* viscanf:: Scan variable format list (integer only) * Function viscanf:: Scan variable format list (integer only)
@end menu @end menu
@page @page

View File

@ -10,14 +10,14 @@ system, but these functions provide a uniform interface.
The corresponding declarations are in @file{stdio.h}. The corresponding declarations are in @file{stdio.h}.
@menu @menu
* fdopen64:: Turn open large file into a stream * Function fdopen64:: Turn open large file into a stream
* fopen64:: Open a large file * Function fopen64:: Open a large file
* freopen64:: Open a large file using an existing file descriptor * Function freopen64:: Open a large file using an existing file descriptor
* fsetpos64:: Restore position of a large stream or file * Function fsetpos64:: Restore position of a large stream or file
* fgetpos64:: Get position of a large stream or file * Function fgetpos64:: Get position of a large stream or file
* ftello64:: Return position in a large stream or file * Function ftello64:: Return position in a large stream or file
* fseeko64:: Set large file position * Function fseeko64:: Set large file position
* tmpfile64:: Create a temporary large file * Function tmpfile64:: Create a temporary large file
@end menu @end menu
@page @page

View File

@ -5,57 +5,57 @@ 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 * Function _Exit:: End program execution without cleaning up
* a64l:: String to long long * Function a64l:: String to long long
* abort:: Abnormal termination of a program * Function abort:: Abnormal termination of a program
* abs:: Integer absolute value (magnitude) * Function abs:: Integer absolute value (magnitude)
* assert:: Macro for Debugging Diagnostics * Function assert:: Macro for Debugging Diagnostics
* atexit:: Request execution of functions at program exit * Function atexit:: Request execution of functions at program exit
* atof:: String to double or float * Function atof:: String to double or float
* atoi:: String to integer * Function atoi:: String to integer
* atoll:: String to long long * Function atoll:: String to long long
* bsearch:: Binary search * Function bsearch:: Binary search
* calloc:: Allocate space for arrays * Function calloc:: Allocate space for arrays
* div:: Divide two integers * Function div:: Divide two integers
* ecvtbuf:: Double or float to string of digits * Function ecvtbuf:: Double or float to string of digits
* ecvt:: Double or float to string of digits (malloc result) * Function ecvt:: Double or float to string of digits (malloc result)
* __env_lock:: Lock environment list for getenv and setenv * Function __env_lock:: Lock environment list for getenv and setenv
* gcvt:: Format double or float as string * Function gcvt:: Format double or float as string
* exit:: End program execution * Function exit:: End program execution
* getenv:: Look up environment variable * Function getenv:: Look up environment variable
* itoa:: Integer to string * Function itoa:: Integer to string
* labs:: Long integer absolute value (magnitude) * Function labs:: Long integer absolute value (magnitude)
* ldiv:: Divide two long integers * Function ldiv:: Divide two long integers
* llabs:: Long long integer absolute value (magnitude) * Function llabs:: Long long integer absolute value (magnitude)
* lldiv:: Divide two long long integers * Function lldiv:: Divide two long long integers
* malloc:: Allocate and manage memory (malloc, realloc, free) * Function malloc:: Allocate and manage memory (malloc, realloc, free)
* mallinfo:: Get information about allocated memory * Function mallinfo:: Get information about allocated memory
* __malloc_lock:: Lock memory pool for malloc and free * Function __malloc_lock:: Lock memory pool for malloc and free
* mbsrtowcs:: Convert a character string to a wide-character string * Function mbsrtowcs:: Convert a character string to a wide-character string
* mbstowcs:: Minimal multibyte string to wide string converter * Function mbstowcs:: Minimal multibyte string to wide string converter
* mblen:: Minimal multibyte length * Function mblen:: Minimal multibyte length
* mbtowc:: Minimal multibyte to wide character converter * Function mbtowc:: Minimal multibyte to wide character converter
* on_exit:: Request execution of functions at program exit * Function on_exit:: Request execution of functions at program exit
* qsort:: Array sort * Function qsort:: Array sort
* rand:: Pseudo-random numbers * Function rand:: Pseudo-random numbers
* random:: Pseudo-random numbers * Function random:: Pseudo-random numbers
* rand48:: Uniformly distributed pseudo-random numbers * Function rand48:: Uniformly distributed pseudo-random numbers
* rpmatch:: Determine whether response is affirmative or negative * Function rpmatch:: Determine whether response is affirmative or negative
* strtod:: String to double or float * Function strtod:: String to double or float
* strtol:: String to long * Function strtol:: String to long
* strtoll:: String to long long * Function strtoll:: String to long long
* strtoul:: String to unsigned long * Function strtoul:: String to unsigned long
* strtoull:: String to unsigned long long * Function strtoull:: String to unsigned long long
* wcsrtombs:: Convert a wide-character string to a character string * Function wcsrtombs:: Convert a wide-character string to a character string
* wcstod:: Wide string to double or float * Function wcstod:: Wide string to double or float
* wcstol:: Wide string to long * Function wcstol:: Wide string to long
* wcstoll:: Wide string to long long * Function wcstoll:: Wide string to long long
* wcstoul:: Wide string to unsigned long * Function wcstoul:: Wide string to unsigned long
* wcstoull:: Wide string to unsigned long long * Function wcstoull:: Wide string to unsigned long long
* system:: Execute command string * Function system:: Execute command string
* utoa:: Unsigned integer to string * Function utoa:: Unsigned integer to string
* wcstombs:: Minimal wide string to multibyte string converter * Function wcstombs:: Minimal wide string to multibyte string converter
* wctomb:: Minimal wide character to multibyte converter * Function wctomb:: Minimal wide character to multibyte converter
@end menu @end menu
@page @page

View File

@ -6,55 +6,55 @@ managing areas of memory. The corresponding declarations are in
@file{string.h}. @file{string.h}.
@menu @menu
* bcmp:: Compare two memory areas * Function bcmp:: Compare two memory areas
* bcopy:: Copy memory regions * Function bcopy:: Copy memory regions
* bzero:: Initialize memory to zero * Function bzero:: Initialize memory to zero
* index:: Search for character in string * Function index:: Search for character in string
* memccpy:: Copy memory regions up to end-token * Function memccpy:: Copy memory regions up to end-token
* memchr:: Find character in memory * Function memchr:: Find character in memory
* memcmp:: Compare two memory areas * Function memcmp:: Compare two memory areas
* memcpy:: Copy memory regions * Function memcpy:: Copy memory regions
* memmem:: Find memory segment * Function memmem:: Find memory segment
* memmove:: Move possibly overlapping memory * Function memmove:: Move possibly overlapping memory
* mempcpy:: Copy memory regions and locate end * Function mempcpy:: Copy memory regions and locate end
* memrchr:: Reverse search for character in memory * Function memrchr:: Reverse search for character in memory
* memset:: Set an area of memory * Function memset:: Set an area of memory
* rawmemchr:: Find character in memory * Function rawmemchr:: Find character in memory
* rindex:: Reverse search for character in string * Function rindex:: Reverse search for character in string
* stpcpy:: Copy string returning a pointer to its end * Function stpcpy:: Copy string returning a pointer to its end
* stpncpy:: Counted copy string returning a pointer to its end * Function stpncpy:: Counted copy string returning a pointer to its end
* strcasecmp:: Compare strings ignoring case * Function strcasecmp:: Compare strings ignoring case
* strcasestr:: Find string segment ignoring case * Function strcasestr:: Find string segment ignoring case
* strcat:: Concatenate strings * Function strcat:: Concatenate strings
* strchr:: Search for character in string * Function strchr:: Search for character in string
* strchrnul:: Search for character in string * Function strchrnul:: Search for character in string
* strcmp:: Character string compare * Function strcmp:: Character string compare
* strcoll:: Locale-specific character string compare * Function strcoll:: Locale-specific character string compare
* strcpy:: Copy string * Function strcpy:: Copy string
* strcspn:: Count chars not in string * Function strcspn:: Count chars not in string
* strerror:: Convert error number to string (strerror, strerror_l) * Function strerror:: Convert error number to string (strerror, strerror_l)
* strerror_r:: Convert error number to string * Function strerror_r:: Convert error number to string
* strlen:: Character string length * Function strlen:: Character string length
* strlwr:: Convert string to lowercase * Function strlwr:: Convert string to lowercase
* strncasecmp:: Compare strings ignoring case * Function strncasecmp:: Compare strings ignoring case
* strncat:: Concatenate strings * Function strncat:: Concatenate strings
* strncmp:: Character string compare * Function strncmp:: Character string compare
* strncpy:: Counted copy string * Function strncpy:: Counted copy string
* strnstr:: Find string segment * Function strnstr:: Find string segment
* strnlen:: Character string length * Function strnlen:: Character string length
* strpbrk:: Find chars in string * Function strpbrk:: Find chars in string
* strrchr:: Reverse search for character in string * Function strrchr:: Reverse search for character in string
* strsignal:: Return signal message string * Function strsignal:: Return signal message string
* strspn:: Find initial match * Function strspn:: Find initial match
* strstr:: Find string segment * Function strstr:: Find string segment
* strtok:: Get next token from a string * Function strtok:: Get next token from a string
* strupr:: Convert string to upper case * Function strupr:: Convert string to upper case
* strverscmp:: Compare version strings * Function strverscmp:: Compare version strings
* strxfrm:: Transform string * Function strxfrm:: Transform string
* swab:: Swap adjacent bytes * Function swab:: Swap adjacent bytes
* wcscasecmp:: Compare wide character strings ignoring case * Function wcscasecmp:: Compare wide character strings ignoring case
* wcsdup:: Wide character string duplicate * Function wcsdup:: Wide character string duplicate
* wcsncasecmp:: Compare wide character strings ignoring case * Function wcsncasecmp:: Compare wide character strings ignoring case
@end menu @end menu
@page @page

View File

@ -6,36 +6,36 @@ managing areas of memory containing wide characters. The corresponding
declarations are in @file{wchar.h}. declarations are in @file{wchar.h}.
@menu @menu
* wmemchr:: Find wide character in memory * Function wmemchr:: Find wide character in memory
* wmemcmp:: Compare two wide-character memory areas * Function wmemcmp:: Compare two wide-character memory areas
* wmemcpy:: Copy wide-character memory regions * Function wmemcpy:: Copy wide-character memory regions
* wmemmove:: Move possibly overlapping wide-character memory * Function wmemmove:: Move possibly overlapping wide-character memory
* wmempcpy:: Copy wide-character memory regions and locate end * Function wmempcpy:: Copy wide-character memory regions and locate end
* wmemset:: Set an area of memory to a specified wide character * Function wmemset:: Set an area of memory to a specified wide character
* wcscat:: Concatenate wide-character strings * Function wcscat:: Concatenate wide-character strings
* wcschr:: Search for wide character in string * Function wcschr:: Search for wide character in string
* wcscmp:: Wide-character string compare * Function wcscmp:: Wide-character string compare
* wcscoll:: Locale-specific wide-character string compare * Function wcscoll:: Locale-specific wide-character string compare
* wcscpy:: Copy wide-character string * Function wcscpy:: Copy wide-character string
* wcpcpy:: Copy a wide-character string returning a pointer to its end * Function wcpcpy:: Copy a wide-character string returning a pointer to its end
* wcscspn:: Count wide characters not in string * Function wcscspn:: Count wide characters not in string
* wcsftime:: Convert date and time to a formatted wide-character string * Function wcsftime:: Convert date and time to a formatted wide-character string
* wcslcat:: Concatenate wide-character strings to specified length * Function wcslcat:: Concatenate wide-character strings to specified length
* wcslcpy:: Copy wide-character string to specified length * Function wcslcpy:: Copy wide-character string to specified length
* wcslen:: Wide-character string length * Function wcslen:: Wide-character string length
* wcsncat:: Concatenate wide-character strings * Function wcsncat:: Concatenate wide-character strings
* wcsncmp:: Wide-character string compare * Function wcsncmp:: Wide-character string compare
* wcsncpy:: Counted copy wide-character string * Function wcsncpy:: Counted copy wide-character string
* wcpncpy:: Copy part of a wide-character string returning a pointer to its end * Function wcpncpy:: Copy part of a wide-character string returning a pointer to its end
* wcsnlen:: Wide-character string length with maximum limit * Function wcsnlen:: Wide-character string length with maximum limit
* wcspbrk:: Find wide characters in string * Function wcspbrk:: Find wide characters in string
* wcsrchr:: Reverse search for wide character in string * Function wcsrchr:: Reverse search for wide character in string
* wcsspn:: Find initial match in wide-character string * Function wcsspn:: Find initial match in wide-character string
* wcsstr:: Find wide-character string segment * Function wcsstr:: Find wide-character string segment
* wcstok:: Tokenize wide-character string * Function wcstok:: Tokenize wide-character string
* wcswidth:: Number of column positions of a wide-character string * Function wcswidth:: Number of column positions of a wide-character string
* wcsxfrm:: Locale-specific wide-character string transformation * Function wcsxfrm:: Locale-specific wide-character string transformation
* wcwidth:: Number of column positions of a wide-character code * Function wcwidth:: Number of column positions of a wide-character code
@end menu @end menu
@page @page

View File

@ -307,34 +307,34 @@ library, and achieve reentrancy by using a reserved global data block
(@pxref{Reentrancy,,Reentrancy}). (@pxref{Reentrancy,,Reentrancy}).
@menu @menu
* _close_r:: Reentrant version of close * Function _close_r:: Reentrant version of close
* _execve_r:: Reentrant version of execve * Function _execve_r:: Reentrant version of execve
* _fork_r:: Reentrant version of fork * Function _fork_r:: Reentrant version of fork
@ifset STDIO64 @ifset STDIO64
* _fstat64_r:: Reentrant version of fstat64 * Function _fstat64_r:: Reentrant version of fstat64
@end ifset @end ifset
* _fstat_r:: Reentrant version of fstat * Function _fstat_r:: Reentrant version of fstat
* _getpid_r:: Reentrant version of getpid * Function _getpid_r:: Reentrant version of getpid
* _kill_r:: Reentrant version of kill * Function _kill_r:: Reentrant version of kill
* _link_r:: Reentrant version of link * Function _link_r:: Reentrant version of link
@ifset STDIO64 @ifset STDIO64
* _lseek64_r:: Reentrant version of lseek64 * Function _lseek64_r:: Reentrant version of lseek64
@end ifset @end ifset
* _lseek_r:: Reentrant version of lseek * Function _lseek_r:: Reentrant version of lseek
@ifset STDIO64 @ifset STDIO64
* _open64_r:: Reentrant version of open64 * Function _open64_r:: Reentrant version of open64
@end ifset @end ifset
* _open_r:: Reentrant version of open * Function _open_r:: Reentrant version of open
* _read_r:: Reentrant version of read * Function _read_r:: Reentrant version of read
* _sbrk_r:: Reentrant version of sbrk * Function _sbrk_r:: Reentrant version of sbrk
@ifset STDIO64 @ifset STDIO64
* _stat64_r:: Reentrant version of stat64 * Function _stat64_r:: Reentrant version of stat64
@end ifset @end ifset
* _stat_r:: Reentrant version of stat * Function _stat_r:: Reentrant version of stat
* _times_r:: Reentrant version of times * Function _times_r:: Reentrant version of times
* _unlink_r:: Reentrant version of unlink * Function _unlink_r:: Reentrant version of unlink
* _wait_r:: Reentrant version of wait * Function _wait_r:: Reentrant version of wait
* _write_r:: Reentrant version of write * Function _write_r:: Reentrant version of write
@end menu @end menu
@lowersections @lowersections

View File

@ -49,17 +49,17 @@ effect or not.
@end table @end table
@menu @menu
* asctime:: Format time as string * Function asctime:: Format time as string
* clock:: Cumulative processor time * Function clock:: Cumulative processor time
* ctime:: Convert time to local and format as string * Function ctime:: Convert time to local and format as string
* difftime:: Subtract two times * Function difftime:: Subtract two times
* gmtime:: Convert time to UTC (GMT) traditional representation * Function gmtime:: Convert time to UTC (GMT) traditional representation
* localtime:: Convert time to local representation * Function localtime:: Convert time to local representation
* mktime:: Convert time to arithmetic representation * Function mktime:: Convert time to arithmetic representation
* strftime:: Convert date and time to a user-formatted string * Function strftime:: Convert date and time to a user-formatted string
* time:: Get current calendar time (as single number) * Function time:: Get current calendar time (as single number)
* __tz_lock:: Lock time zone global variables * Function __tz_lock:: Lock time zone global variables
* tzset:: Set timezone info * Function tzset:: Set timezone info
@end menu @end menu
@page @page

View File

@ -6,29 +6,29 @@ corresponding definitions and declarations are in @file{complex.h}.
Functions and documentations are taken from NetBSD. Functions and documentations are taken from NetBSD.
@menu @menu
* cabs:: Complex absolute value * Function cabs:: Complex absolute value
* cacos:: Complex arc cosine * Function cacos:: Complex arc cosine
* cacosh:: Complex arc hyperbolic cosine * Function cacosh:: Complex arc hyperbolic cosine
* carg:: Argument (also called phase angle) * Function carg:: Argument (also called phase angle)
* casin:: Complex arc sine * Function casin:: Complex arc sine
* casinh:: Complex arc hyperbolic sine * Function casinh:: Complex arc hyperbolic sine
* catan:: Complex arc tangent * Function catan:: Complex arc tangent
* catanh:: Complex arc hyperbolic tangent * Function catanh:: Complex arc hyperbolic tangent
* ccos:: Complex cosine * Function ccos:: Complex cosine
* ccosh:: Complex hyperbolic cosine * Function ccosh:: Complex hyperbolic cosine
* cexp:: Complex exponent * Function cexp:: Complex exponent
* cimag:: Imaginary part * Function cimag:: Imaginary part
* clog:: Complex natural (base e) logarithm * Function clog:: Complex natural (base e) logarithm
* clog10:: Complex base 10 logarithm * Function clog10:: Complex base 10 logarithm
* conj:: Complex conjugate * Function conj:: Complex conjugate
* cpow:: Complex power function * Function cpow:: Complex power function
* cproj:: Compute a projection on the Riemann sphere * Function cproj:: Compute a projection on the Riemann sphere
* creal:: Real part * Function creal:: Real part
* csin:: Complex sine * Function csin:: Complex sine
* csinh:: Complex hyperbolic sine * Function csinh:: Complex hyperbolic sine
* csqrt:: Complex square root * Function csqrt:: Complex square root
* ctan:: Complex tangent * Function ctan:: Complex tangent
* ctanh:: Complex hyperbolic tangent * Function ctanh:: Complex hyperbolic tangent
@end menu @end menu
@page @page

View File

@ -8,17 +8,17 @@ status flags to indicate abnormal result information.
The implementation of these methods is architecture specific. The implementation of these methods is architecture specific.
@menu @menu
* feclearexcept:: Clear floating-point exception * Function feclearexcept:: Clear floating-point exception
* fegetenv:: Get current floating-point environment * Function fegetenv:: Get current floating-point environment
* fegetexceptflag:: Get floating-point status flags * Function fegetexceptflag:: Get floating-point status flags
* fegetround:: Get current rounding direction * Function fegetround:: Get current rounding direction
* feholdexcept:: Save current floating-point environment * Function feholdexcept:: Save current floating-point environment
* feraiseexcept:: Raise floating-point exception * Function feraiseexcept:: Raise floating-point exception
* fesetenv:: Set current floating-point environment * Function fesetenv:: Set current floating-point environment
* fesetexceptflag:: Set floating-point status flags * Function fesetexceptflag:: Set floating-point status flags
* fesetround:: Set current rounding direction * Function fesetround:: Set current rounding direction
* fetestexcept:: Test floating-point exception flags * Function fetestexcept:: Test floating-point exception flags
* feupdateenv:: Update current floating-point environment * Function feupdateenv:: Update current floating-point environment
@end menu @end menu
@page @page

View File

@ -20,62 +20,62 @@ machines---are available when you include @file{fastmath.h} instead of
@menu @menu
* version:: Version of library * version:: Version of library
* acos:: Arccosine * Function acos:: Arccosine
* acosh:: Inverse hyperbolic cosine * Function acosh:: Inverse hyperbolic cosine
* asin:: Arcsine * Function asin:: Arcsine
* asinh:: Inverse hyperbolic sine * Function asinh:: Inverse hyperbolic sine
* atan:: Arctangent * Function atan:: Arctangent
* atan2:: Arctangent of y/x * Function atan2:: Arctangent of y/x
* atanh:: Inverse hyperbolic tangent * Function atanh:: Inverse hyperbolic tangent
* jN:: Bessel functions (jN, yN) * Function jN:: Bessel functions (jN, yN)
* cbrt:: Cube root * Function cbrt:: Cube root
* copysign:: Sign of Y, magnitude of X * Function copysign:: Sign of Y, magnitude of X
* cosh:: Hyperbolic cosine * Function cosh:: Hyperbolic cosine
* erf:: Error function (erf, erfc) * Function erf:: Error function (erf, erfc)
* exp:: Exponential, base e * Function exp:: Exponential, base e
* exp10:: Exponential, base 10 * Function exp10:: Exponential, base 10
* exp2:: Exponential, base 2 * Function exp2:: Exponential, base 2
* expm1:: Exponential, base e, of x - 1 * Function expm1:: Exponential, base e, of x - 1
* fabs:: Absolute value (magnitude) * Function fabs:: Absolute value (magnitude)
* fdim:: Positive difference * Function fdim:: Positive difference
* floor:: Floor and ceiling (floor, ceil) * Function floor:: Floor and ceiling (floor, ceil)
* fma:: Floating multiply add * Function fma:: Floating multiply add
* fmax:: Maximum * Function fmax:: Maximum
* fmin:: Minimum * Function fmin:: Minimum
* fmod:: Floating-point remainder (modulo) * Function fmod:: Floating-point remainder (modulo)
* fpclassify:: Floating-point classification macro * Function fpclassify:: Floating-point classification macro
* frexp:: Split floating-point number * Function frexp:: Split floating-point number
* gamma:: Logarithmic gamma function * Function gamma:: Logarithmic gamma function
* hypot:: Distance from origin * Function hypot:: Distance from origin
* ilogb:: Get exponent * Function ilogb:: Get exponent
* infinity:: Floating infinity * Function infinity:: Floating infinity
* isgreater:: Comparison macros * Function isgreater:: Comparison macros
* ldexp:: Scale by a power of 2 * Function ldexp:: Scale by a power of 2
* log:: Natural logarithms * Function log:: Natural logarithms
* log10:: Base 10 logarithms * Function log10:: Base 10 logarithms
* log1p:: Log of 1 + X * Function log1p:: Log of 1 + X
* log2:: Base 2 logarithms * Function log2:: Base 2 logarithms
* logb:: Get exponent * Function logb:: Get exponent
* lrint:: Round to integer * Function lrint:: Round to integer
* lround:: Round to integer, away from zero (lround, llround) * Function lround:: Round to integer, away from zero (lround, llround)
* modf:: Split fractional and integer parts * Function modf:: Split fractional and integer parts
* nan:: Floating Not a Number * Function nan:: Floating Not a Number
* nearbyint:: Round to integer * Function nearbyint:: Round to integer
* nextafter:: Get next representable number * Function nextafter:: Get next representable number
* pow:: X to the power Y * Function pow:: X to the power Y
* pow10:: 10 to the power X * Function pow10:: 10 to the power X
* remainder:: remainder of X divided by Y * Function remainder:: remainder of X divided by Y
* remquo:: Remainder and part of quotient * Function remquo:: Remainder and part of quotient
* rint:: Round to integer * Function rint:: Round to integer
* round:: Round to integer, away from zero * Function round:: Round to integer, away from zero
* scalbn:: Scale by a power of FLT_RADIX (2) * Function scalbn:: Scale by a power of FLT_RADIX (2)
* signbit:: Does floating-point number have negative sign? * Function signbit:: Does floating-point number have negative sign?
* sin:: Sine or cosine (sin, cos) * Function sin:: Sine or cosine (sin, cos)
* sinh:: Hyperbolic sine * Function sinh:: Hyperbolic sine
* sqrt:: Positive square root * Function sqrt:: Positive square root
* tan:: Tangent * Function tan:: Tangent
* tanh:: Hyperbolic tangent * Function tanh:: Hyperbolic tangent
* trunc:: Round to integer, towards zero * Function trunc:: Round to integer, towards zero
@end menu @end menu
@page @page

View File

@ -37,45 +37,45 @@ machines---are available when you include @file{fastmath.h} instead of
@menu @menu
* version:: Version of library * version:: Version of library
* acos:: Arccosine * Function acos:: Arccosine
* acosh:: Inverse hyperbolic cosine * Function acosh:: Inverse hyperbolic cosine
* asin:: Arcsine * Function asin:: Arcsine
* asinh:: Inverse hyperbolic sine * Function asinh:: Inverse hyperbolic sine
* atan:: Arctangent * Function atan:: Arctangent
* atan2:: Arctangent of y/x * Function atan2:: Arctangent of y/x
* atanh:: Inverse hyperbolic tangent * Function atanh:: Inverse hyperbolic tangent
* jN:: Bessel functions (jN, yN) * Function jN:: Bessel functions (jN, yN)
* cbrt:: Cube root * Function cbrt:: Cube root
* copysign:: Sign of Y, magnitude of X * Function copysign:: Sign of Y, magnitude of X
* cosh:: Hyperbolic cosine * Function cosh:: Hyperbolic cosine
* erf:: Error function (erf, erfc) * Function erf:: Error function (erf, erfc)
* exp:: Exponential * Function exp:: Exponential
* expm1:: Exponential of x, - 1 * Function expm1:: Exponential of x, - 1
* fabs:: Absolute value (magnitude) * Function fabs:: Absolute value (magnitude)
* floor:: Floor and ceiling (floor, ceil) * Function floor:: Floor and ceiling (floor, ceil)
* fmod:: Floating-point remainder (modulo) * Function fmod:: Floating-point remainder (modulo)
* frexp:: Split floating-point number * Function frexp:: Split floating-point number
* gamma:: Logarithmic gamma function * Function gamma:: Logarithmic gamma function
* hypot:: Distance from origin * Function hypot:: Distance from origin
* ilogb:: Get exponent * Function ilogb:: Get exponent
* infinity:: Floating infinity * Function infinity:: Floating infinity
* isnan:: Check type of number * Function isnan:: Check type of number
* ldexp:: Load exponent * Function ldexp:: Load exponent
* log:: Natural logarithms * Function log:: Natural logarithms
* log10:: Base 10 logarithms * Function log10:: Base 10 logarithms
* log1p:: Log of 1 + X * Function log1p:: Log of 1 + X
* matherr:: Modifiable math error handler * Function matherr:: Modifiable math error handler
* modf:: Split fractional and integer parts * Function modf:: Split fractional and integer parts
* nan:: Floating Not a Number * Function nan:: Floating Not a Number
* nextafter:: Get next representable number * Function nextafter:: Get next representable number
* pow:: X to the power Y * Function pow:: X to the power Y
* remainder:: remainder of X divided by Y * Function remainder:: remainder of X divided by Y
* scalbn:: scalbn * Function scalbn:: scalbn
* sin:: Sine or cosine (sin, cos) * Function sin:: Sine or cosine (sin, cos)
* sinh:: Hyperbolic sine * Function sinh:: Hyperbolic sine
* sqrt:: Positive square root * Function sqrt:: Positive square root
* tan:: Tangent * Function tan:: Tangent
* tanh:: Hyperbolic tangent * Function tanh:: Hyperbolic tangent
@end menu @end menu
@page @page