(3C) - Libc routines

Intro
introduction to libc library
a64l
convert between long integer and base-64 ASCII string
abort
generate an abnormal termination signal
abs
return integer absolute value
aclsort
sort an Access Control List
addsev
define additional severities
addseverity
build a list of severity levels for an application for use with fmtmsg
altzone
date and time constant
ascftime
convert date and time to string
asctime
convert date and time to string
asctime_r
convert date and time to string
atexit
add program termination routine
atof
convert string to double-precision number
atoi
convert ASCII to integer in base 10
atol
convert ASCII to long integer in base 10
bcmp
bit and byte string operations
bcopy
bit and byte string operations
bsd_signal
simplified signal facilities
bsearch
binary search a sorted table
bstring
bit and byte string operations
bzero
bit and byte string operations
calloc
checking memory allocator
catclose
close a message catalogue
catgets
read a program message
catopen
open/close a message catalog
cfgetispeed
general terminal interface
cfgetospeed
general terminal interface
cfsetispeed
general terminal interface
cfsetospeed
general terminal interface
cftime
convert date and time to string
clock
report CPU time used
closedir
close named directory stream
confstr
obtain configurable string values
conv
translate characters
ctime
convert date and time to string
ctime_r
convert date and time to string
ctype
character handling
daylight
date and time constant
dbm_clearerr
clear the error condition of a database
dbm_close
close a database
dbm_delete
delete a record and its key from a database
dbm_error
return the error condition of a database
dbm_fetch
write a record to a database
dbm_firstkey
return the first key in a database
dbm_nextkey
return the next key in a database
dbm_open
open a database
dbm_store
add a record to a database
difftime
compute the difference between two calendar times
directory
directory operations
div
compute the quotient and remainder
dladdr
translate address to symbolic information
dlclose
close a shared object
dlerror
get diagnostic information
dlopen
open a shared object
dlsym
get the address of a symbol in shared object
drand48
generate uniformly distributed pseudo-random numbers
dup2
duplicate an open file descriptor
ecvt
convert floating-point number to string
ecvtl
convert floating-point number to string
edata
first address above initialized data region
end
last locations in program
endgrent
close the group file
endpwent
close password file
erand48
generate uniformly distributed pseudo-random numbers
etext
first address above program text
fattach
attach STREAMS-based file descriptor to file system object
fcvt
convert floating-point number to string
fcvtl
convert floating-point number to string
FD_CLR
remove from descriptor set
fdetach
detach a name from a STREAMS-based file descriptor
FD_ISSET
query descriptor set
FD_SET
add to descriptor set
FD_ZERO
initialize a null descriptor set
ffs
find first set bit
fgetgrent
return pointer to next group structure
fgetpos
stores current value of file position indicator for a stream
fgetpos64
stores current value of file position indicator for a stream (supports large files)
fgetpwent
return pointer to next password structure in stream
fgetws
get a wchar_t string from a stream
finite
determine type of floating-point number
fmtmsg
display a message on stderr or system console
fnmatch
match filename against pattern
_fnmcomp
match filename against pattern
_fnmexec
match filename against pattern
_fnmfree
match filename against pattern
fpclass
determine type of floating-point number
fpgetmask
IEEE floating-point environment control
fpgetround
IEEE floating-point environment control
fpgetsticky
IEEE floating-point environment control
fpsetmask
IEEE floating-point environment control
fpsetround
IEEE floating-point environment control
fpsetsticky
IEEE floating-point environment control
fputws
put a wchar_t string on a stream
free
checking memory allocator
frexp
manipulate parts of floating-point numbers
frexpl
manipulate floating-point numbers
fsetpos
reposition a file pointer in a stream
fsetpos64
set position of next input/output operation on a stream (supports large files)
ftime
get date and time
ftok
standard interprocess communication package
ftw
walk a file tree
ftw64
walk a file tree (supports large files)
gcvt
convert floating-point number to string
gcvtl
convert floating-point number to string
getcwd
get pathname of current working directory
getdate
convert user format date and time
getdtablesize
get file descriptor table size
getenv
return value for environment name
getgrent
manipulate group file entry
getgrgid
get group database entry for a group ID
getgrgid_r
get group database entry for a group ID
getgrnam
search group database for a group name
getgrnam_r
search group database for a group name
gethostid
get an identifier for the current host
gethostname
get or set name of current host
getitimer
get value of interval timer
getlogin
get login name
getlogin_r
get login name
getopt
get option letter from argument vector
getpagesize
get system page size
getpass
read a password
getpass_r
read a password
getpriority
get or set program scheduling priority
getpwent
manipulate password file
getpwnam
return pointer to password entry based on login name
getpwnam_r
get password entry based on login name
getpwuid
return pointer to password entry based on uid
getpwuid_r
get password entry based on uid
getrusage
get information about resource utilization
getsubopt
parse suboptions from a string
gettxt
retrieve a text string
getwd
get current working directory pathname
getwidth
get information on supplementary code sets
glob
generate pathnames matching a pattern
globfree
generate pathnames matching a pattern
gmtime
convert date and time to string
gmtime_r
convert date and time to string
grantpt
grant access to the slave pseudo-terminal device
gtime_r
convert date and time to string
hcreate
manage hash search tables
hdestroy
manage hash search tables
hsearch
manage hash search tables
iconv
codeset conversion function
iconv_close
code conversion deallocation function
iconv_open
code conversion allocation function.
ilogb
manipulate floating-point numbers
index
string operations
initgroups
initialize the supplementary group access list
initstate
initialize a state array
insque
insert/remove element from a queue
isalnum
test for alphanumeric character
isalpha
test for alphabetic character
isascii
test for ASCII character
isastream
test a file descriptor
isatty
determine if a file descriptor is a terminal device
iscntrl
test for control character
isdigit
test for digit character
isgraph
test for printable character except space
islower
test for lowercase character
isnan
determine type of floating-point number
isnand
determine type of floating-point number
isnanf
determine type of floating-point number
isprint
test for printable character
ispunct
test for punctuation character
isspace
test for space character
isupper
test for uppercase character
iswalnum
test wide characters for alpha or digit class
iswalpha
test wide characters for alpha class
iswcntrl
test wide characters for cntrl class
iswctype
test wide characters for a particular class.
iswdigit
test wide characters for digit class
iswgraph
test wide characters for graph class
iswlower
test wide characters for lower class
iswprint
test wide characters for print class
iswpunct
test wide characters for punct class
iswspace
test wide characters for space class
iswupper
test wide characters for upper class
iswxdigit
test wide characters for xdigit class
isxdigit
test for hexadecimal digit character
jrand48
generate uniformly distributed pseudo-random numbers
killpg
send signal to a process group
l3tol
convert between 3-byte integers and long integers
l64a
convert between long integer and base-64 ASCII string
l64a_r
convert between long integer and base-64 ASCII string
labs
return integer absolute value
lcong48
generate uniformly distributed pseudo-random numbers
ldexp
manipulate floating-point numbers
ldexpl
manipulate floating-point numbers
ldiv
compute the quotient and remainder
lfind
linear search and update
lfmt
display error message in standard format and pass to logging and monitoring services
localeconv
get numeric formatting information
localtime
convert date and time to string
localtime_r
convert date and time to string
lockf
record locking on files
lockf64
record locking on files (supports large files)
logb
manipulate floating-point numbers
longjmp
non-local goto
_longjmp
non-local goto
lrand48
generate uniformly distributed pseudo-random numbers
lsearch
linear search and update
ltol3
convert between 3-byte integers and long integers
major
manage a device number
makecontext
modify user context
makedev
manage a device number
mallinfo
checking memory allocator
malloc
checking memory allocator
mbchar
multibyte character handling
mblen
multibyte character handling
mbrlen
multibyte character handling
mbrtowc
multibyte character handling
mbsinit
test for initial multibyte conversion state
mbsrtowcs
multibyte string functions
mbstowcs
multibyte string functions
mbstring
multibyte string functions
mbtowc
multibyte character handling
memalign
checking memory allocator
memccpy
memory operations
memchr
memory operations
memcmp
memory operations
memcpy
memory operations
memmove
memory operations
memory
memory operations
memset
memory operations
minor
manage a device number
mkfifo
create a new FIFO
mkstemp
make a unique file name
mktemp
make a unique file name
mktime
converts a tm structure to a calendar time
mlock
lock pages in memory
mlockall
lock address space
modf
manipulate floating-point numbers
modff
manipulate floating-point numbers
modfl
manipulate floating-point numbers
monitor
prepare execution profile
mrand48
generate uniformly distributed pseudo-random numbers
msync
synchronize memory with physical storage
munlock
unlock pages in memory
munlockall
unlock address space
nap
suspend execution for a short interval
ndbm
database subroutines
nextafter
manipulate floating-point numbers
nextafterl
manipulate floating-point numbers
nftw
walk a file tree, takes defining flags
nftw64
walk a file tree, takes defining flags (supports large files)
nl_langinfo
language information
nrand48
generate uniformly distributed pseudo-random numbers
offsetof
offset of structure member
opendir
open a directory
optarg
pointer to start of option argument
opterr
disable getopt error message
optind
index of the next option argument
optopt
value of character that caused getopt error
perror
print system error messages
pfmt
display error message in standard format
procprivl
add, remove, count, or put privileges associated with the calling process
ptsname
get name of the slave pseudo-terminal device
putenv
change or add value to environment
putpwent
write password file entry
putspent
write shadow password file entry
putws
put a wchar_t string on a stream
qsort
quicker sort
raise
send signal to program
rand
simple random-number generator
random
pseudorandom number functions
rand_r
simple random-number generator
readdir
return pointer to next open directory
readdir64
return pointer to next open directory (supports large files)
readdir64_r
return pointer to next open directory (supports large files)
readdir_r
return pointer to next open directory
realloc
checking memory allocator
realpath
returns the real file name
re_comp
regular expression handler
re_exec
compare regular expressions
regcmp
regular expression handler
regcomp
regular expression matching
regerror
regular expression matching
regex
compare regular expressions
regexec
regular expression matching
regfree
regular expression matching
remove
remove file
remque
remove element from a queue
rewinddir
reset position of named directory stream
rindex
string operations
scalb
manipulate floating-point numbers
scalbl
manipulate floating-point numbers
seed48
generate uniformly distributed pseudo-random numbers
seekdir
set position of next read on directory stream
select
synchronous I/O multiplexing
setcat
define default catalog
setgrent
rewind the group file
sethostname
set name of current host
setitimer
set value of interval timer
setjmp
non-local goto
_setjmp
non-local goto
setlabel
define the label for pfmt
setlocale
modify and query a program's locale
setpriority
set program scheduling priority
setpwent
rewind password file for further searches
setregid
set real and effective group IDs
setreuid
set real and effective user IDs
setstate
switch between state arrays
sigaddset
add to signal set
sigdelset
delete from signal set
sigemptyset
initialize empty signal set
sigfillset
initialize signal set to all signals
siginterrupt
allow signals to interrupt system calls
sigismember
query signal set
siglongjmp
a non-local goto with signal state
sigsetjmp
a non-local goto with signal state
sigsetops
manipulate sets of signals
sleep
suspend execution for interval
srand
simple random-number generator
srand48
generate uniformly distributed pseudo-random numbers
srandom
initialize the current state array
srandom
pseudorandom number functions
stdipc
standard interprocess communication package
strcasecmp
case-insensitive string comparisons
strcat
append copy of one string to another
strchr
return pointer to first (last) occurrence of c
strcmp
compare one string to another
strcoll
string collation
strcpy
copy one string to another
strcspn
return length of initial segment of string1 of characters from (not from) string2
strdup
return pointer to new duplicate string
strerror
get error message string
strfmon
convert monetary value to string
strftime
convert date and time to string
string
string operations
strlen
return number of characters in string
strncasecmp
string operations
strncat
append n characters of one string to another
strncmp
compare n characters of one string to another
strncpy
copy n characters of one string to another
strpbrk
return pointer to first occurrence in string1 of any character in string2
strptime
date and time conversion
strrchr
return pointer to first (last) occurrence of c
strspn
return length of initial segment of string1 of characters from (not from) string2
strstr
locate first occurrence in string1 of sequence from string2
strtod
convert string to double-precision number
strtok
return pointer of string token
strtok_r
return pointer of string token
strtol
convert string to integer
strtold
convert string to double-precision number
strtoll
convert string to long long integer
strtoul
convert string to unsigned long integer
strtoull
convert string to unsigned long long integer
strxfrm
string transformation
swab
swap bytes
swapcontext
saves and resets current context
sysconf
get configurable system variables
tcdrain
general terminal interface
tcflow
general terminal interface
tcflush
general terminal interface
tcgetattr
general terminal interface
tcgetpgrp
general terminal interface
tcgetsid
general terminal interface
tcgetspeed
get and set baud rate
tcsendbreak
general terminal interface
tcsetattr
general terminal interface
tcsetpgrp
set terminal foreground process group ID
tcsetspeed
get and set baud rate
tdelete
manage binary search trees
telldir
return current location of named directory stream
termios
general terminal interface
tfind
manage binary search trees
timezone
date and time constant
toascii
convert characters to 7-bit ASCII
_tolower
convert lower case characters to upper case
tolower
convert lower case characters to upper case
toupper
convert upper case characters to lower case
_toupper
convert upper case characters to lower case
towlower
translate characters
towupper
translate characters
tsearch
manage binary search trees
ttyname
find name of a terminal
ttyname_r
find name of a terminal
ttyslot
find the slot in the utmp file of the current user
twalk
manage binary search trees
tzname
date and time constant
tzset
convert date and time to string
ualarm
set the interval timer
unlockpt
unlock a pseudo-terminal master/slave pair
unordered
determine type of floating-point number
usleep
suspend process for interval in microseconds
utimes
set file access and modification times
valloc
checking memory allocator
vlfmt
display error message in standard format and pass to logging and monitoring services
vpfmt
display error message in standard format
wait
wait for child process to change state
wait3
wait for child process to change state
wconv
translate characters
wcrtomb
multibyte character handling
wcscat
concatenate two wide character strings
wcschr
scan a wide character string
wcscmp
compare two wide character strings
wcscoll
wide character string comparison using collating information
wcscpy
copy a wide character string
wcscspn
get length of complementary wide substring
wcsftime
convert date and time to wide character string
wcslen
obtain wide character string length
wcsncat
concatenate two wide character strings with bound
wcsncmp
compare two wide character strings with bound
wcsncpy
copy a wide character string with bound
wcspbrk
scan a wide character string for wide characters
wcsrchr
reverse wide character string scan
wcsrtombs
multibyte string functions
wcsspn
obtain the length of a wide substring
wcsstr
find wide substring
wcstod
convert wide string to floating point value
wcstof
convert wide string to floating point value
wcstok
split a wide character string into tokens
wcstol
convert a wide character string to a long integer
wcstold
convert wide string to floating point value
wcstoll
convert a wide character string to a long long integer
wcstombs
multibyte string functions
wcstoul
convert a wide character string to an unsigned long integer
wcstoull
convert a wide character string to an unsigned long long integer
wcswcs
find wide substring
wcswidth
determine the number of column positions for a wide character string
wcsxfrm
wide character string transformation
wctob
wide character to byte conversion
wctomb
multibyte character handling
wctype
test wide characters for a specified class
wcwidth
determine the number of column positions for a wide character
wordexp
perform word expansions
wordfree
perform word expansions