Interface Definitions for libc

Table of Contents
_IO_feof -- alias for feof
_IO_getc -- alias for getc
_IO_putc -- alias for putc
_IO_puts -- alias for puts
__assert_fail -- abort the program after false assertion
__ctype_b_loc -- accessor function for __ctype_b array for ctype functions
__ctype_get_mb_cur_max -- maximum length of a multibyte character in the current locale
__ctype_tolower_loc -- accessor function for __ctype_b_tolower array for ctype tolower() function
__ctype_toupper_loc -- accessor function for __ctype_b_toupper array for ctype toupper() function
__cxa_atexit -- register a function to be called by exit or when a shared library is unloaded
__daylight -- global variable containing daylight
__environ -- alias for environ - user environment
__errno_location -- address of errno variable
__fpending -- returns in bytes the amount of output pending on a stream
__getpagesize -- alias for getpagesize - get current page size
__getpgid -- get the process group id
__h_errno_location -- address of h_errno variable
__isinf -- test for infinity
__isinff -- test for infinity
__isinfl -- test for infinity
__isnan -- test for infinity
__isnanf -- test for infinity
__isnanl -- test for infinity
__libc_current_sigrtmax -- return number of available real-time signal with lowest priority
__libc_current_sigrtmin -- return number of available real-time signal with highest priority
__libc_start_main -- initialization routine
__lxstat -- inline wrapper around call to lxstat
__mempcpy -- copy given number of bytes of source to destination
__rawmemchr -- scan memory
__register_atfork -- alias for register_atfork
__sigsetjmp -- save stack context for non-local goto
__stpcpy -- copy a string returning a pointer to its end
__strdup -- alias for strdup
__strtod_internal -- underlying function for strtod
__strtof_internal -- underlying function for strtof
__strtok_r -- alias for strtok_r
__strtol_internal -- alias for strtol
__strtold_internal -- underlying function for strtold
__strtoll_internal -- underlying function for strtoll
__strtoul_internal -- underlying function for strtoul
__strtoull_internal -- underlying function for strtoull
__sysconf -- get configuration information at runtime
__sysv_signal -- signal handling
__timezone -- global variable containing timezone
__tzname -- global variable containing the timezone
__wcstod_internal -- underlying function for wcstod
__wcstof_internal -- underlying function for wcstof
__wcstol_internal -- underlying function for wcstol
__wcstold_internal -- underlying function for wcstold
__wcstoul_internal -- underlying function for wcstoul
__xmknod -- make block or character special file
__xstat -- provide inode information
__xstat64 -- provide inode information
_environ -- alias for environ - user environment
_nl_msg_cat_cntr -- new catalog load counter
_obstack_begin -- initialize an obstack for use
_obstack_newchunk -- allocate a new current chunk of memory for the obstack
_sys_errlist -- array containing the "C" locale strings used by strerror()
_sys_siglist -- array containing the names of the signal names
acct -- switch process accounting on or off
adjtime -- correct the time to allow synchronization of the system clock
adjtimex -- tune kernel clock (DEPRECATED)
asprintf -- write formatted output to a string dynamically allocated with malloc and store the address of the string
bind_textdomain_codeset -- specify encoding for message retrieval from message catalog for domain DOMAINNAME
bindresvport -- bind socket to privileged IP port
bindtextdomain -- specify the locale of a message catalog
cfmakeraw -- get and set terminal attributes
cfsetspeed -- set terminal input and output data rate
creat -- open a file
daemon -- run in the background
dcgettext -- perform lookup in message catalog for the current LC_MESSAGES locale
dcngettext -- perform lookup in message catalog for the current LC_MESSAGES locale
dgettext -- perform lookup in message catalog for the current LC_MESSAGES locale
dngettext -- perform lookup in message catalog for the current LC_MESSAGES locale
err -- display formatted error messages
error -- print error message
errx -- format error messages
fcntl -- file control
fflush_unlocked -- non thread safe fflush
fgetwc_unlocked -- non thread safe fgetwc
flock -- apply or remove an advisory lock on an open file
fopen -- open a file
freopen -- open a file
getdomainname -- get NIS domain name.
gethostbyname_r -- find network host database entry matching host name (DEPRECATED)
getloadavg -- get system load averages
getopt -- parse command line options
getopt_long -- parse command line options
getopt_long_only -- parse command line options
gettext -- perform lookup in message catalog for the current LC_MESSAGES locale
getutent -- access utmp file entries
getutent_r -- access utmp file entries
glob64 -- find pathnames matching a pattern (Large File Support)
globfree64 -- free memory from glob64() (Large File Support)
initgroups -- initialize the supplementary group access list
ioctl -- control device
sockio -- socket ioctl commands
iswctype -- wide character classification
kill -- send a signal
mbsnrtowcs -- convert a multibyte string to a wide character string
memmem -- locate a substring
memrchr -- scan memory for a character
ngettext -- perform lookup in message catalog for the current LC_MESSAGES locale
obstack_free -- free an object in the obstack
open -- open a file
opterr -- external variable used in getopt()
optind -- external variable used in getopt()
optopt -- external variable used in getopt()
pmap_getport -- Returns the port number on which a service is waiting for.
pmap_set -- Establishes mapping to machine's portmap service.
pmap_unset --  Destroys all mapping between the triple and ports.
psignal -- print signal message
random_r -- generate random number
setbuffer -- stream buffering operation
setdomainname -- set NIS domain name.
setgroups -- set list of supplementary group IDs
sethostid -- set the unique identifier of the current host
sethostname -- set host name
setsockopt -- set options on sockets
setutent -- access utmp file entries
sigandset -- build a new signal set by combining the two input sets using logical AND
sigblock -- manipulate the signal mask
siggetmask -- manipulate the signal mask
sigisemptyset -- check for empty signal set
sigorset -- build a new signal set by combining the two input sets using logical or
sigreturn -- return from signal handler and cleanup stack frame
stime -- set time
stpcpy -- copy a string returning a pointer to its end
stpncpy -- copy a fixed-size string, returning a pointer to its end
strcasestr -- locate a substring - ignores the case of both strings
strerror_r -- reentrant version of strerror
strfry -- randomize a string
strndup -- return a malloc'd copy of at most the specified number of bytes of a string
strnlen -- determine the length of a fixed-size string
strptime -- parse a time string
strsep -- extract token from string
strsignal -- return string describing signal
strtok_r -- extract tokens from strings
strtoq -- convert string value to a long or quad_t integer
strtouq -- convert a string to an uquad_t
strverscmp -- compare strings holding name and indices/version numbers
svc_register -- Associates program and versnum with the service dispatch procedure, dispatch.
svc_run -- Waits for RPC requests to arrive and calls service procedure.
svc_sendreply -- called by RPC service's dispatch routine
svctcp_create -- Creates a TCP/IP-based RPC service transport.
svcudp_create --  Creates a UDP-based RPC service transport.
system -- execute a shell command
textdomain -- set the current default message catalog
unlink -- remove a directory entry
vasprintf -- write formatted output to a string dynamically allocated with malloc and store the address of the string
vdprintf -- write formatted output to a file descriptor
verrx -- display formatted error messages
vsyslog -- log to system log
wait3 -- wait for child process
wait4 -- wait for process termination, BSD style
waitpid -- wait for child process
warn -- formatted error messages
warnx -- formatted error messages
wcpcpy -- copy a wide character string, returning a pointer to its end
wcpncpy -- copy a fixed-size string of wide characters, returning a pointer to its end
wcscasecmp -- compare two wide-character strings, ignoring case
wcsdup -- duplicate a wide-character string
wcsncasecmp -- compare two fixed-size wide-character strings, ignoring case
wcsnlen -- determine the length of a fixed-size wide-character string
wcsnrtombs -- convert a wide character string to a multi-byte string
wcstoq -- convert initial portion of wide string NPTR to long int representation
wcstouq -- convert initial portion of wide string NPTR to unsigned long long int representation
xdr_u_int -- library routines for external data representation

The following interfaces are included in libc and are defined by this specification. Unless otherwise noted, these interfaces shall be included in the source standard.

Other interfaces listed above for libc shall behave as described in the referenced base document.