PTC MKS Toolkit Menu

MKS Product Documentation - UNIX API Reference Page

All on-line MKS Toolkit, MKS AlertCentre, and MKS Lex & Yacc documentation refers to the currently shipping version of the product and is © 1986-2012 MKS Inc.


PTC MKS Toolkit UNIX APIs Reference

API Introduction — Introduction to the MKS Toolkit UNIX APIs

Functions

a64l — maintain numbers stored in radix-64 ASCII characters
abort — abnormally terminate program
abs — return absolute value of an integer
accept — accept a connection on a socket
access — determine the accessibility of a file
acos — arc cosine function
acosf — arc cosine function
acosh — inverse hyperbolic cosine function
acoshf — inverse hyperbolic cosine function
alarm — generate a SIGALRM signal after specified time period
alloca — allocate space in the stack frame
alphasort — sort a directory in alphabetical order
alphasort64 — sort a directory in alphabetical order
arc4random — arc4 random number generator
arc4random_addrandom — arc4 random number generator
arc4random_buf — arc4 random number generator
arc4random_stir — arc4 random number generator
arc4random_uniform — arc4 random number generator
asctime — convert time structure to string
asctime_r — convert time structure to string (reentrant version)
asin — arc sine function
asinf — arc sine function
asinh — inverse hyperbolic sine function
asinhf — inverse hyperbolic sine function
asprintf — print formatted output
assert — insert diagnostics into programs
atan — arc tangent function of one variable
atan2 — arc tangent function of two variables
atan2f — arc tangent function of two variables
atanf — arc tangent function of one variable
atanh — inverse hyperbolic tangent function
atanhf — inverse hyperbolic tangent function
atexit — specify function to be called when program terminates
atof — convert string to double-precision number
atoi — convert a string to an integer
atol — convert string to a long integer
basename — return the base name of a path name
bcmp — perform byte string comparison
bcopy — perform byte string copy
bind — associate local address with socket
bsd_signal — replacement for BSD signal() function
bsearch — perform binary search of table
btowc — determine if character is a valid character in initial shift state
bzero — copy zeroes into string
cabs — euclidean distance and complex absolute value functions
cabsf — euclidean distance and complex absolute value functions
calloc — allocate space for array
catclose — close message catalog
catgets — read message from message catalog
catopen — open a message catalog
cbrt — cube root and square root functions
cbrtf — cube root and square root functions
ceil — round to smallest integral value greater than or equal to x
ceilf — round to smallest integral value greater than or equal to x
cfgetispeed — return input baud rate
cfgetospeed — return output baud rate
cfmakeraw — set raw mode
cfree — deallocate memory
cfsetispeed — set input baud rate
cfsetospeed — set output baud rate
chdir — change current working directory
chmod — set file permissions
chown — change file ownership
chsize — change file size
clearerr — reset error and EOF indicators
clock — return processor time used
clock_getcpuclockid — access a process CPU-time clock
clock_getres — clock and timer functions
clock_gettime — clock and timer functions
clock_nanosleep — high resolution sleep with specifiable clock
clock_settime — clock and timer functions
close — close file descriptor
closedir — close directory stream
closelog — close any open log files
confstr — get configuration-defined string values
connect — initiate a connection on a socket
copysign — copy sign from one argument to another
copysignf — copy sign from one argument to another
cos — cosine function
cosf — cosine function
cosh — hyperbolic cosine function
coshf — hyperbolic cosine function
creat — create a new file
creat64 — create a new file
crypt — cryptography functions
crypt_r — cryptography functions
ctermid — generate a string that refers to the current controlling terminal
ctime — convert epoch time to local time
ctime_r — convert epoch time to local time (reentrant version>
cuserid — generate character representation of name associated with user ID
daemon — run program in background as daemon
dbm_clearerr — clear database error condition
dbm_close — close database
dbm_delete — delete record from database
dbm_error — return database error condition
dbm_fetch — read record from database
dbm_firstkey — read first key in database
dbm_nextkey — read the next key of a database
dbm_open — open a database
dbm_store — store record in database
dbopen — library interface to database files
difftime — compute difference between two calendar times
dirname — return directory portion of path name
div — compute quotient and remainder of integer division
dlclose — close shared object
dlerror — return last dynamic linking error
dlopen — gain access to an executable object file
dlsym — obtain address of symbol from from dlopen() object
drand48 — generate pseudo-random numbers using 48-bit integer arithmetic
drem — calculate remainder
dremf — calculate remainder
dup — duplicate open file descriptor
dup2 — duplicate open file descriptor onto another file descriptor
ecvt — convert floating-point value to string of specified length
encrypt — cryptography functions
encrypt_r — cryptography functions
endhostent — manipulate network host database
endnetent — manipulate network database
endprotoent — manipulate network protocol database
endservent — get network servcol database information
erand48 — generate pseudo-random numbers using 48-bit integer arithmetic
erf — error function operators
erfc — error function operators
erfcf — error function operators
erff — error function operators
err — write formatted error message based on errno
errx — write formatted error message
execl — execute a file
execle — execute a file
execlp — execute a file
execlpe — execute a file
execv — execute a file
execve — execute a file
execvp — execute a file
execvpe — execute a file
_exit — terminate a process
exit — terminate a program
exp — exponential functions
expf — exponential functions
expm1 — exponential functions
expm1f — exponential functions
fabs — floating-point absolute value function
fabsf — floating-point absolute value function
fchdir — change working directory based on file descriptor
fchmod — set file permissions
fchown — change file ownership
fclose — close stream
fcntl — control open file descriptors
fcvt — convert floating point value to string with given number of digits after radix point
FD_CLR — indicate ready file descriptor
FD_ISSET — indicate ready file descriptor
fdopen — associate stream with file descriptor
FD_SET — indicate ready file descriptor
FD_ZERO — indicate ready file descriptor
feof — test end-of-file indicator for stream
ferror — test error indicator for stream
fflush — flush stream
ffs — find first set bit
fgetc — get character from stream
fgetline — get line from stream
fgetln — get line from stream
fgetpos — get file position information for stream
fgetpos64 — get file position information for stream
fgets — read string from stream
fgetwc — get UNICODE character from stream
fgetws — get UNICODE character string from stream
fileno — map stream pointer to file descriptor
finite — determine if value is finite
finitef — determine if value is finite
flockfile — lock stdio (FILE *) objects
floor — round to largest integral value not greater than x
floorf — round to largest integral value not greater than x
fmod — floating-point remainder function
fmodf — floating-point remainder function
fnmatch — match file or path name against wild card pattern
fopen — open a file and associate stream
fopen64 — open a file and associate stream
fork — create new process
fpathconf — get value of configurable limit or option
fprintf — print formatted output
fpurge — purge buffered data on stream
fputc — write character to stream
fputs — write string to stream
fputwc — write wide character to stream
fputws — write wide character string to stream
fread — read from stream
free — deallocate memory
freeaddrinfo — get address information
freopen — open a stream
freopen64 — open a stream
frexp — break floating point number into fraction and power of 2
frexpf — break floating point number into fraction and power of 2
fscanf — convert formatted input
fseek — reposition a stream's file pointer
fseeko — reposition a stream's file pointer
fseeko64 — reposition a stream's file pointer
fsetpos — reposition file position indicator for stream
fsetpos64 — reposition file position indicator for stream
fstat — get file information
fstat64 — get file information
fstatfs — get information about file system (deprecated)
fstatvfs — get information about file system
fstatvfs64 — get information about file system
fsync — synchronize file changes
ftell — return the current position of a stream's file pointer
ftello — return the current position of a stream's file pointer
ftello64 — return the current position of a stream's file pointer
ftime — get date and time
ftok — generate IPC key
ftruncate — set file to specified length
ftruncate() — set file to specified length
ftrylockfile — lock stdio (FILE *)object without blocking
fts_children — create pointer to a linked list files in a directory
fts_close — close a file hierarchy
fts_open — open a file hierarchy
fts_read — get information on file in a directory hierarchy
fts_set — set further processing options on file
ftw — recursively descends a directory hierarchy
ftw() — recursively descends a directory hierarchy
funlockfile — unlock stdio (FILE *) object
fwprintf — print formatted output
fwrite — write to stream
fwscanf — convert formatted input
gai_strerror — address and name information error description
gamma — log gamma function
gammaf — log gamma function
gammaf_r — log gamma function
gamma_r — log gamma function
gcvt — convert floating point number to string in printf() %g format
getaddrinfo — get address information
getbsize — determine user's preferred block size
getc — get character from stream
getchar — get a character from the standard input
getchar_unlocked — get character from standard input (not thread-safe)
getc_unlocked — get character from stream (not thread-safe)
getcwd — get path name of current working directory
getdtablesize — get number of files that current process can open
getegid — get effective group ID of the calling process
getenv — get value of environment variable
geteuid — get the effective user ID of the calling process
getgid — get real group ID of the calling process
getgrgid — search group database for matching group ID or name
getgrgid_r — search group database for matching group ID or name
getgrnam — search group database for matching group ID or name
getgrnam_r — search group database for matching group ID or name
getgroups — get supplementary group IDs
gethostbyaddr — manipulate network host database
gethostbyname — manipulate network host database
gethostent — manipulate network host database
gethostname — get name of current host
getitimer — get value of interval timer
getlogin — get login name
getlogin_r — get login name
getmode — update file permissions mode value
getnameinfo — get name information
getnetbyaddr — manipulate network database
getnetbyname — manipulate network database
getnetent — manipulate network database
getopt — parse command line
getpagesize — get physical memory page size
getpass — get password
getpeername — get name of peer connected to socket
getpgid — get process group ID
getpgrp — get process group ID
getpid — get process ID
getppid — get parent process ID
getpriority — get nice value
getprotobyname — manipulate network protocol database
getprotobynumber — manipulate network protocol database
getprotoent — manipulate network protocol database
getpwnam — search user database for particular name or user ID
getpwnam_r — search user database for particular name or user ID
getpwuid — search user database for particular name or user ID
getpwuid_r — search user database for particular name or user ID
gets — get string from standard input
getservbyname — get network servcol database information
getservbyport — get network servcol database information
getservent — get network servcol database information
getsid — get process group ID of session leader
getsockname — get socket name
getsockopt — get value of socket option
getsubopt — parse suboption arguments
gettimeofday — get date and time
getuid — get real user ID
getw — get word from stream
getwc — get wide character from stream
getwchar — get wide character from standard input
getwd — get path name of current working directory
glob — generate path names matching a pattern
globfree — free space allocated by glob()
gmtime — convert time value to broken-down UTC time
gmtime_r — convert time value to broken-down UTC time (reentrant)
group_from_gid — get group name associated with gid
hcreate — allocate space for hash table
hdestroy — dispose of hash table
heapsort — perform heap sort on array
herror — write error message to standard output based on h_errno
hsearch — search hash table
hstrerror — map h_errno value to error message string
htonl — convert 32-bit values between host and network byte order
htons — convert 16-bit values between host and network byte order
hypot — euclidean distance and complex absolute value functions
hypotf — euclidean distance and complex absolute value functions
ilogb — compute integral exponent of number
ilogbf — compute integral exponent of number
index — search for character in string
inet_addr — convert Internet dot address to integer
inet_aton — convert Internet dot address to network address
inet_lnaof — extract local network address from Internet host address
inet_makeaddr — construct Internet address
inet_neta — convert Internet host address to Internet standard address
inet_net_ntop — convert Internet network number to CIDR format
inet_netof — extract the network number from Internet host address
inet_net_pton — convert Internet network number from presentation format to network format
inet_network — convert Internet dot address to Internet network number
inet_ntoa — convert Internet host address to an Internet dot address
inet_ntop — convert address from network format to presentation format
inet_pton — convert address from presentation format to network format
initstate — initialize state array for generating pseudo-random numbers
insque — manipulate queues
ioctl — perform device-specific control functions
iruserok — execute command on remote machine
isalnum — tests if character is alphanumeric
isalpha — tests if character is alphabetic
isascii — tests if character is a 7-bit US-ASCII character
isatty — tests if file descriptor is associated with terminal device
iscntrl — tests if character is a control character
isdigit — tests if character is a digit
isgraph — tests if character is printable (and not a space)
isinf — test for infinity or not-a-number
isinff — test for infinity or not-a-number
isleadbyte — tests if character is first byte of multibyte character
islower — tests if character is a lowercase letter
isnan — test for infinity or not-a-number
isnanf — test for infinity or not-a-number
isprint — tests if character is printable
ispunct — tests if character is neither space nor alphanumeric
isspace — tests if character is a white-space character
isupper — tests if character is an uppercase letter
iswalnum — tests if wide character is alphanumeric
iswalpha — tests if wide character is alphabetic
iswascii — tests if wide character is a 7-bit US-ASCII character
iswcntrl — tests if wide character is a control character
iswctype — tests if wide character is of specified type
iswdigit — tests if wide character is a digit
iswgraph — tests if wide character is printable (and not space)
iswlower — tests if wide character is a lowercase letter
iswprint — tests if wide character is printable
iswpunct — tests if wide character is neither space nor alphanumeric
iswspace — tests if wide character is a white space character
iswupper — tests if wide character is an uppercase letter
iswxdigit — tests if wide character is a hexadecimal digit
isxdigit — tests if character is a hexadecimal digit
itoa — convert integer to string
j0 — bessel functions of the first kind
j0f — bessel functions of the first kind
j1 — bessel functions of the first kind
j1f — bessel functions of the first kind
jn — bessel functions of the first kind
jnf — bessel functions of the first kind
jrand48 — generate pseudo-random numbers using 48-bit integer arithmetic
kill — kill process
killpg — kill process group
l64a — maintain numbers stored in radix-64 ASCII characters
labs — compute absolute value of long integer
lchown — change file ownership
lcong48 — generate pseudo-random numbers using 48-bit integer arithmetic
ldexp — multiply by a power of 2
ldexpf — multiply by a power of 2
ldiv — compute integer quotient and remainder of long integer division
lfind — find key in table
lgamma — log gamma function
lgammaf — log gamma function
lgammaf_r — log gamma function
lgamma_r — log gamma function
link — create link
listen — mark a socket as accepting connections
localeconv — get locale-specific symbols
localtime — convert time in seconds since Epoch to local time
localtime_r — convert time in seconds since Epoch to local time (re-entrant)
lockf — lock sections of a file
lockf64 — lock sections of a file
log — compute natural logarithm
log10 — compute natural logarithm
log10f — compute natural logarithm
log1p — compute natural logarithm
log1pf — compute natural logarithm
logb — compute exponent
logbf — compute exponent
logf — compute natural logarithm
longjmp — restore environment saved by setjmp()
_longjmp — restore environment saved by setjmp()
lrand48 — generate pseudo-random numbers using 48-bit integer arithmetic
lsearch — perform linear search of table
lseek — reposition read/write file offset
lseek64 — reposition read/write file offset
lstat — get file information
lstat64 — get file information
malloc — allocate space for objects
math — introduction to mathematical library functions
matherr — handles exceptions in the math library
mblen — determine length of multibyte character
mbrlen — determine length of multibyte character using conversion states
mbrtowc — convert multibyte character to wide character using conversion states
mbsinit — determines if object describes an initial conversion state
mbsrtowcs — convert multibyte character string to wide characters
mbstowcs — convert multibyte string to wide character string
mbtowc — convert multibyte character to wide character
memalign — aligns memory block
memccpy — copy memory block until character is found
memchr — find character in memory block
memcmp — compare two memory regions
memcpy — copy memory block
memmove — move memory block
memset — fill memory block with character
mergesort — perform merge sort
mkdir — create new directory
mkdtemp — create a temporary file
mkfifo — create FIFO special file
mknod — create a special file
mkstemp — create a temporary file
mkstemp64 — create a temporary file
mkstemps — create a temporary file
mkstemps64 — create a temporary file
mktemp — create a temporary file
mktime — convert local time to seconds since the Epoch
mlock — lock or unlock a range of process address space
mlockall — lock/unlock the address space of a process
mmap — map files or devices into memory
mmap64 — map files or devices into memory
modf — extract integral and fractional parts from floating point value
modff — extract integral and fractional parts from floating point value
mount — mount file systems
mpool_close — free memory pool data
mpool_filter — filter memory pool data
mpool_get — get page from memory pool
mpool_new — allocate a new page for memory pool
mpool_open — initialize memory pool
mpool_put — unpin page in memory pool
mpool_sync — synchronize backing file with memory pool
mprotect — change access protections for memory pages
mq_close — close a message queue
mq_getattr — get message queue attributes
mq_notify — notify process that a message is available
mq_open — open a message queue
mq_receive — receive a message from a message queue
mq_send — send a message to a message queue
mq_setattr — set message queue attributes
mq_timedreceive — receive a message from a message queue
mq_timedsend — send a message to a message queue
mq_unlink — remove a message queue
mrand48 — generate pseudo-random numbers using 48-bit integer arithmetic
msgctl — perform message control operations
msgget — get message queue
msgrcv — read message from queue
msgsnd — send message to a queue
msync — synchronize a mapped region
munlock — lock or unlock a range of process address space
munlockall — lock/unlock the address space of a process
munmap — remove mapping
nanosleep — suspend calling thread for given interval (in nanoseconds)
nap — suspend calling thread for given interval (in milliseconds)
nextafter — compute next floating-point value
nextafterf — compute next floating-point value
nftw — walk file tree
nftw64 — walk file tree
nice — adjust process priority
nl_langinfo — get locale language information
nrand48 — generate pseudo-random numbers using 48-bit integer arithmetic
ntohl — convert 32-bit value from network to host byte order
ntohs — convert 16-bit value from network to host byte order
_NutConf — get or set NuTCRACKER Platform configuration parameters
_NutConfStr — interface to confstr
_NutDebugBreak — runtime debugging tool for NuTCRACKER Platform applications
_NutDisableNuTC — create or remove appropriate structures for NuTCRACKER Platform code
_NutDisableThreadLibraryCalls — do not invoke DLLMain() when threads are created or destroyed
_NutDupProcessFd — duplicate process file descriptor
_NutEnableNuTC — create or remove appropriate structures for NuTCRACKER Platform code
_NutFastStat — limited but faster version of stat
_NutFastStat64 — limited but faster version of stat
_NutFdToHandle — return Win32 file handle associated with NuTCRACKER Platform file descriptor
_NutForkExecl — combination of fork() and exec() functions
_NutForkExecle — combination of fork() and exec() functions
_NutForkExeclp — combination of fork() and exec() functions
_NutForkExeclpe — combination of fork() and exec() functions
_NutForkExecv — combination of fork() and exec() functions
_NutForkExecve — combination of fork() and exec() functions
_NutForkExecvp — combination of fork() and exec() functions
_NutForkExecvpe — combination of fork() and exec() functions
_NutHandleToFd — return new file descriptor corresponding to Win32 handle
_NutIsNuTCProcess — determine if process is a NuTCRACKER Platform application
_NutLibMSetLibraryType — configure the math library floating point exception handling
_NutPathToNutc — convert Windows-style path name to NuTCRACKER Platform-style path name
_NutPathToWin32 — convert NuTCRACKER Platform-style path names to Windows-style path names
_NutPathToWin32FS — convert NuTCRACKER Platform path names to Windows path names with forward slashes
_NutQueryErrno — get the value of the thread-specific errno
_NutQueryPid — return the process ID of the calling process
_NutQueryProcessName — return full path of program running as specified process ID
_NutQueryRootDir — returns the root directory of the NuTCRACKER Platform
_NutQueryWinDir — return the Windows installation directory
_NutQueryWinNetFileDir — return directory containing Windows networking files
_NutQueryWinSysDir — return the Windows system directory
_NutSetErrno — set the value of the thread-specific errno
_NutTzGet — get or set the internal NuTCRACKER Platform time zone string
_NutTzSet — get or set the internal NuTCRACKER Platform time zone string
_NutValidatePassword — verify user password
_NutWIN32getenv — query the Win32 environment
_NutWIN32putenv — update Win32 environment
open — open a file
open64 — open a file
opendir — open directory
openlog — set process attributes for syslog()
pathconf — get value of configurable limit or option
pause — pause calling thread to wait for signal
pclose — close pipe stream
perror — write error message on standard error
pipe — create a pipe
poll — multiplex input and output
popen — open a pipe stream and execute command
posix_spawn — spawn a process
posix_spawnattr_destroy — destroy and initialize spawn attributes object
posix_spawnattr_getflags — get and set the spawn-flags attribute of a spawn attributes object
posix_spawnattr_getpgroup — get and set the spawn-pgroup attribute of a spawn attributes object
posix_spawnattr_getschedparam — get and set the spawn-schedparam attribute of a spawn attributes object
posix_spawnattr_getschedpolicy — get and set the spawn-schedpolicy attribute of a spawn attributes object
posix_spawnattr_getsigdefault — get and set the spawn-sigdefault attribute of a spawn attributes object
posix_spawnattr_getsigmask — get and set the spawn-sigmask attribute of a spawn attributes object
posix_spawnattr_init — destroy and initialize spawn attributes object
posix_spawnattr_setflags — get and set the spawn-flags attribute of a spawn attributes object
posix_spawnattr_setpgroup — get and set the spawn-pgroup attribute of a spawn attributes object
posix_spawnattr_setschedparam — get and set the spawn-schedparam attribute of a spawn attributes object
posix_spawnattr_setschedpolicy — get and set the spawn-schedpolicy attribute of a spawn attributes object
posix_spawnattr_setsigdefault — get and set the spawn-sigdefault attribute of a spawn attributes object
posix_spawnattr_setsigmask — get and set the spawn-sigmask attribute of a spawn attributes object
posix_spawn_file_actions_addclose — add close or open action to spawn file actions object
posix_spawn_file_actions_adddup2 — add dup2 action to spawn file actions object
posix_spawn_file_actions_addopen — add close or open action to spawn file actions object
posix_spawn_file_actions_destroy — destroy and initialize spawn file actions object
posix_spawn_file_actions_init — destroy and initialize spawn file actions object
posix_spawnp — spawn a process
pow — compute x to the power of y
powf — compute x to the power of y
pread — read from file
pread64 — read from file
printf — print formatted output
psignal — write message to standard error describing signal
pthread_atfork — register fork handlers
pthread_attr_destroy — destroy thread attribute object
pthread_attr_getdetachstate — get detached state attribute
pthread_attr_getinheritsched — get scheduling parameter inheritance state attribute
pthread_attr_getschedparam — get scheduling parameter attribute
pthread_attr_getschedpolicy — get scheduling policy attribute
pthread_attr_getscope — get scheduling scope attribute
pthread_attr_getstackaddr — get thread stack base address attribute
pthread_attr_getstacksize — get thread stack size attribute
pthread_attr_init — initialize thread attribute object
pthread_attr_setdetachstate — set detached state attribute
pthread_attr_setinheritsched — set scheduling parameter inheritance state attribute
pthread_attr_setschedparam — set scheduling parameter attribute
pthread_attr_setschedpolicy — set scheduling policy attribute
pthread_attr_setscope — set scheduling scope attribute
pthread_attr_setstackaddr — set thread stack base address attribute
pthread_attr_setstacksize — set thread stack size attribute
pthread_barrierattr_destroy — destroy and initialize the barrier attributes object
pthread_barrierattr_getpshared — get and set the process-shared attribute of the barrier attributes object
pthread_barrierattr_init — destroy and initialize the barrier attributes object
pthread_barrierattr_setpshared — get and set the process-shared attribute of the barrier attributes object
pthread_barrier_destroy — destroy and initialize a barrier object
pthread_barrier_init — destroy and initialize a barrier object
pthread_barrier_setname_np — assign name to barrier
pthread_barrier_wait — synchronize at a barrier
pthread_cancel — cancel execution of a thread
pthread_cleanup_pop — remove cleanup handler from top of stack and optionally execute it
pthread_cleanup_push — establish cancellation handlers
pthread_condattr_destroy — destroy condition variable attribute object
pthread_condattr_getpshared — get the process-shared condition variable attributes
pthread_condattr_init — initialize condition variable attributes object
pthread_condattr_setpshared — set the process-shared condition variable attributes
pthread_cond_broadcast — broadcast a condition
pthread_cond_destroy — destroy condition variable
pthread_cond_getname_np — get name associated with condition variable
pthread_cond_init — initialize condition variable
pthread_cond_setname_np — assign name to condition variable
pthread_cond_signal — signal a condition
pthread_cond_timedwait — wait on a condition for specified time
pthread_cond_wait — wait on a condition
pthread_create — create thread
pthread_detach — detach a thread
pthread_equal — compare thread IDs
pthread_exit — terminate thread
pthread_getcpuclockid — access a thread CPU-time clock
pthread_getname_np — get thread name
pthread_getschedparam — get thread scheduling policy and parameters
pthread_getspecific — get thread-specific data
pthread_join — wait for thread termination
pthread_key_create — thread-specific data key creation
pthread_key_delete — delete thread-specific data key
pthread_kill — send a signal to a thread
pthread_mutexattr_destroy — destroy mutex attribute object
pthread_mutexattr_getprioceiling — get priority ceiling attribute of mutex attribute object
pthread_mutexattr_getprotocol — get priority protocol attribute of mutex attribute object
pthread_mutexattr_getpshared — get process-shared state attribute of mutex attribute object
pthread_mutexattr_gettype — get mutex type attribute of mutex attribute object
pthread_mutexattr_init — initialize mutex attribute object
pthread_mutexattr_setprioceiling — set priority ceiling attribute of mutex attribute object
pthread_mutexattr_setprotocol — set protocol attribute of mutex attribute object
pthread_mutexattr_setpshared — get process-shared state attribute of mutex attribute object
pthread_mutexattr_settype — set mutex type attribute of mutex attribute object
pthread_mutex_destroy — destroy a mutex
pthread_mutex_getname_np — get name associated with mutex
pthread_mutex_getprioceiling — get priority ceiling of mutex
pthread_mutex_init — initialize a mutex
pthread_mutex_lock — lock a mutex
pthread_mutex_setname_np — assign name to mutex
pthread_mutex_setprioceiling — set the priority ceiling of a mutex
pthread_mutex_trylock — try to lock mutex
pthread_mutex_unlock — unlock a mutex
pthread_once — dynamic package initialization
pthread_rwlockattr_destroy — destroy and initialize the read-write lock attributes object
pthread_rwlockattr_getpshared — get and set the process-shared attribute of the read-write lock attributes object
pthread_rwlockattr_init — destroy and initialize the read-write lock attributes object
pthread_rwlockattr_setpshared — get and set the process-shared attribute of the read-write lock attributes object
pthread_rwlock_destroy — destroy and initialize a read-write lock object
pthread_rwlock_getname_np — get read-write lock name
pthread_rwlock_getname_np — get rwlock name
pthread_rwlock_init — destroy and initialize a read-write lock object
pthread_rwlock_rdlock — lock a read-write lock object for reading
pthread_rwlock_setname_np — assign name to read-write lock
pthread_rwlock_timedrdlock — lock a read-write lock for reading
pthread_rwlock_timedwrlock — lock a read-write lock for writing
pthread_rwlock_tryrdlock — lock a read-write lock object for reading
pthread_rwlock_trywrlock — lock a read-write lock object for writing
pthread_rwlock_unlock — unlock a read-write lock object
pthread_rwlock_wrlock — lock a read-write lock object for writing
pthread_self — get calling thread's ID
pthread_setcancelstate — set cancellation state
pthread_setcanceltype — set cancellation type of calling thread
pthread_setname_np — assign name to thread
pthread_setschedparam — set thread scheduling policy and parameters
pthread_setspecific — assign thread-specific data to key
pthread_sigmask — change thread signal mask
pthread_spin_destroy — destroy or initialize a spin lock object
pthread_spin_init — destroy or initialize a spin lock object
pthread_spin_lock — lock a spin lock object
pthread_spin_trylock — lock a spin lock object
pthread_spin_unlock — unlock a spin lock object
pthread_testcancel — create thread cancellation point
putc — write character to stream
putchar — write a character to the standard output
putchar_unlocked — write character to standard output (not thread-safe)
putc_unlocked — write character to stream (not thread-safe)
putenv — modify value of environment variable
puts — write string to standard input
putw — write word to stream
putwc — write wide character to stream
putwchar — write wide character to standard output
pwrite — write to file
pwrite64 — write to file
qsort — perform quick sort
radixsort — perform radix sort
raise — send signal to executing program
rand — generate random number
random — generate better random numbers
rand_r — generate random number (reentrant)
rcmd — execute command on remote machine
read — read from file
readdir — read directory
readdir64 — read directory
readdir64_r — read directory (reentrant)
readdir_r — read directory (reentrant)
readlink — read symbolic link
readv — read file into vector of buffers
realloc — change size of memory block
realpath — returns the canonical version of an absolute path name
recv — receive message from socket
recvfrom — receive message from socket and capture address of sender
recvmsg — receive message from socket and store in structure
regcomp — compile regular expression
regerror — map regcomp() error code to printable string
regexec — compare string to regular expression
regfree — free memory used by regular expression
remainder — calculate remainder
remainderf — calculate remainder
remove — remove file
remque — manipulate queues
rename — rename file
rewind — reposition file pointer to beginning of file
rewinddir — reset directory stream position to beginning of directory
rexec — execute command on remote machine (obsolete)
rindex — search for character in string
rint — round to integral value in floating-point format
rintf — round to integral value in floating-point format
rmdir — remove directory
rresvport — execute command on remote machine
ruserok — execute command on remote machine
scalb — multiply by a power of the machine's radix
scalbf — multiply by a power of the machine's radix
scalbn — multiply by a power of the machine's radix
scalbnf — multiply by a power of the machine's radix
scandir — scan directory
scandir64 — scan directory
scanf — convert formatted input
sched_get_priority_max — get maximum priority value for scheduling policy
sched_get_priority_min — get minimum priority value for scheduling policy
sched_yield — force running thread to yield to another thread
seed48 — generate pseudo-random numbers using 48-bit integer arithmetic
seekdir — set position for next read of directory stream
select — indicate ready file descriptor
sem_close — close a named semaphore
semctl — perform semaphore control operations
sem_destroy — destroy an unnamed semaphore
semget — get semaphore identifier
sem_getvalue — get the value of a semaphore
sem_init — initialize an unnamed semaphore
semop — perform array of operations on semaphore set
sem_open — initialize and open a named semaphore
sem_post — unlock a semaphore
sem_timedwait — lock a semaphore
sem_trywait — lock a semaphore
sem_unlink — remove a named semaphore
sem_wait — lock a semaphore
send — send message from connected socket
sendmsg — send message from socket using structure
sendto — send message from socket
setbuf — alter buffering behavior of stream
setbuffer — alter buffering behavior of stream
setegid — set effective group ID for calling process
setenv — set environment variable
seteuid — set effective user ID of calling process
setgid — set the real, effective and saved group IDs for calling process
sethostent — manipulate network host database
setitimer — set interval timer
setjmp — save information about calling environment
_setjmp — save information about calling environment
setkey — cryptography functions
setkey_r — cryptography functions
setlinebuf — alter buffering behavior of stream
setlocale — change or query current locale
setlogmask — set log priority mask for process
setmode — set file permission mode
setnetent — manipulate network database
setpgid — set process group
setpgrp — set process group ID to process ID
setpriority — set nice value
setprotoent — manipulate network protocol database
setregid — set real and effective group IDs for process
setreuid — set real and effective user IDs of calling process
setrgid — set real group ID of process
setruid — set real user ID of process
setservent — get network servcol database information
setsid — create a new session
setsockopt — set socket options
setstate — allows rapid switching between random number state arrays
setuid — set real, effective, and saved user IDs for process
setvbuf — alter buffering behavior of stream
shmat — attach shared memory
shmctl — perform shared memory control operations
shmdt — detach shared memory
shmget — get shared memory identifier
shm_open — open a shared memory object (REALTIME)
shm_unlink — remove a shared memory object
shutdown — shutdown full-duplex connection on socket
sigaction — examine and change signal action
sigaddset — add signal to signal set
sigblock — block signals
sigdelset — delete signal from signal set
sigemptyset — initialize signal set to be empty
sigfillset — initialize signal set to contain all signals
sighold — add signal to signal mask of process
sigignore — change disposition of signal to SIG_IGN
siginterrupt — allow signals to interrupt system calls
sigismember — test if signal is a member of a signal set
siglongjmp — restore environment saved by sigsetjmp()
sigmask — construct signal mask for signal
signal — handle receipt of signal
significand — IEEE test functions
significandf — IEEE test functions
sigpause — release blocked signals and wait for interrupt
sigpending — get pending signals
sigprocmask — manipulate signal mask
sigqueue — queue a signal to a process
sigrelse — remove signal from calling signal mask of process
sigset — modify signal disposition
sigsetjmp — save calling environment
sigsetmask — set the current signal mask to block a set of signals
sigsuspend — wait for a signal
sigtimedwait — queue a signal to a process
sigvec — examine and change signal action
sigwait — wait for a pending signal
sigwaitinfo — queue a signal to a process
sin — sine function
sinf — sine function
sinh — hyperbolic sine function
sinhf — hyperbolic sine function
sleep — suspend calling thread for seconds of clock time
snprintf — print formatted output
socket — create endpoint for communication
socketpair — create unbound pair of sockets
sprintf — print formatted output
sqrt — cube root and square root functions
sqrtf — cube root and square root functions
sradixsort — perform stable radix sort
srand — set seed for new sequence of pseudo-random numbers
srand48 — generate pseudo-random numbers using 48-bit integer arithmetic
srandom — initialize random number generator
sscanf — convert formatted input
stat — get file information
stat64 — get file information
statfs — get information about file system (deprecated)
statvfs — get information about file system
statvfs64 — get information about file system
strcasecmp — compare two strings, ignoring case
strcat — concatenate two strings
strchr — locate character in string
strcmp — compare two strings
strcoll — compare two strings using LC_COLLATE
strcpy — copy string
strcspn — get length of complementary substring
strdup — duplicate string
strerror — map errno value to error message string
strerror_r — map errno value to error message string
strftime — convert time specification to a formatted string
strlen — compute length of string
_strlwr — change case of characters
strmode — convert numeric file mode to string representation
strncasecmp — compare part of two strings, ignoring case
strncat — concatenate part of two strings
strncmp — compare part of two strings
strncpy — copy part of string
strpbrk — locate any of a set of characters in string
strptime — convert string to time values
strrchr — locate last occurrence of character in string
strsep — get next token from string
strspn — get length of substring
strstr — locate first occurrence of a substring within a string
strtod — convert string to double precision value
strtok — get next token from string
strtok_r — get next token from string (reentrant)
strtol — convert string to long integer
strtoq — convert string to 64-bit integer
strtoul — convert string to long unsigned integer
strtouq — convert string to an unsigned 64-bit integer
strunvis — decode visual representation of characters
_strupr — change case of characters
strvis — convert character to visual representation
strvisx — convert character to visual representation
strxfrm — transform string
swab — swap bytes
swprintf — print formatted output
swscanf — convert formatted input
symlink — create a symbolic link
sysconf — get value of configurable system limit or option
syslog — log an event message
system — pass command to shell
tan — tangent function
tanf — tangent function
tanh — hyperbolic tangent function
tanhf — hyperbolic tangent function
tcdrain — wait until all output has been written to terminal
tcflow — suspend data transmission to or reception from a terminal
tcflush — flush terminal data
tcgetattr — get terminal file descriptor parameters
tcgetpgrp — get process group ID of terminal foreground terminal process group
tcgetsid — get process group ID of terminal session
tcsendbreak — transmit stream of zeroes to terminal
tcsetattr — set terminal file descriptor parameters
tcsetpgrp — set process group ID of terminal foreground terminal process group
tdelete — delete node from binary search tree
tell — report current byte position in file
tell64 — report current byte position in file
telldir — get current location in directory stream
tempnam — generate temporary file name
tfind — search for node in binary tree
time — get time in seconds (since the Epoch)
timer_create — create a per-process timer
timer_delete — delete a per-process timer
timer_getoverrun — manipulate per-process timers
timer_gettime — manipulate per-process timers
timer_settime — manipulate per-process timers
times — get time-accounting information
tmpfile — create temporary binary file
tmpfile64 — create temporary binary file
tmpnam — generate name for temporary file
toascii — convert integer value to 7-bit ASCII character
_tolower — convert uppercase letter to lowercase
tolower — convert uppercase letter to lowercase
toupper — convert lowercase character to uppercase
_toupper — convert lowercase letter to uppercase
towctrans — transliterate wide character
towlower — convert wide character to lowercase
towupper — convert wide character to uppercase
truncate — set file to specified length
truncate64 — set file to specified length
tsearch — build and access a binary tree
ttyname — get path name of terminal
ttyname_r — get path name of terminal (reentrant)
twalk — traverse binary search tree
tzset — set time conversion information
ualarm — generate SIGALRM signal after specified time
ulimit — control process limits
umask — set file creation mask
umount — unmount file systems
uname — get operating system information
ungetc — push character back onto input stream
ungetwc — push wide character back onto input stream
unlink — removes link to file
unsetenv — remove environment variable
unvis — decode visual representation of characters
user_from_uid — get user name associated with user ID
usleep — suspend calling thread for microseconds of clock time
utime — set access and modification times for file
utimes — set access and modification times for file
uuid — DCE 1.1 compliant UUID functions
uuid_compare — DCE 1.1 compliant UUID functions
uuid_create — DCE 1.1 compliant UUID functions
uuid_create_nil — DCE 1.1 compliant UUID functions
uuid_equal — DCE 1.1 compliant UUID functions
uuid_from_string — DCE 1.1 compliant UUID functions
uuidgen — generate universally unique identifiers
uuid_hash — DCE 1.1 compliant UUID functions
uuid_is_nil — DCE 1.1 compliant UUID functions
uuid_to_string — DCE 1.1 compliant UUID functions
va_arg — get next argument in variable argument list
va_end — destroy variable argument list pointer
valloc — allocate memory aligned to page boundary
vasprintf — print formatted output
va_start — initialize variable argument list pointer
verr — write formatted error message to standard error
verrx — write error message to standard error and exit
vfork — create new process that shares the same address as calling process
vfprintf — print formatted output
vfscanf — convert formatted input
vfwprintf — print formatted output
vfwscanf — convert formatted input
vis — convert character to visual representation
vprintf — print formatted output
vscanf — convert formatted input
vsnprintf — print formatted output
vsprintf — print formatted output
vsscanf — convert formatted input
vswprintf — print formatted output
vswscanf — convert formatted input
vsyslog — log an event message using variable argument list
vwarn — write formatted error message to standard error
vwarnx — write formatted error message to standard error
wait — wait for process termination
wait3 — wait for process to terminate or stop
wait4 — wait for process to terminate or stop
waitpid — wait for process termination
warn — write formatted error message to standard error
warnx — write formatted error message to standard error
wcrtomb — convert wide character to multibyte character (restartable)
wcscat — concatenate two wide character strings
wcschr — locate character in wide character string
wcscmp — compare two wide character strings
wcscoll — compare two wide character strings using LC_COLLATE
wcscpy — copy wide character string
wcscspn — get length of complementary wide character substring
wcsdup — duplicate wide character string
wcsftime — convert time specification to wide character string
wcslen — compute length of wide character string
wcsncat — concatenate part of two wide character strings
wcsncmp — compare part of two wide character strings
wcsncpy — copy part of wide character string
wcspbrk — locate any of a set of characters in wide character string
wcsrchr — locate last occurrence of character in wide character string
wcsrtombs — convert wide character string to multibyte string (restartable)
wcsspn — get length of wide character substring
wcsstr — locate first occurrence of substring within wide character string
wcstod — convert wide character string to double-precision value
wcstok — get next token from wide character string
wcstol — convert wide character string to long integer
wcstombs — convert wide character string to multibyte string
wcstoul — convert wide character string to unsigned long integer
wcsxfrm — transform wide character string
wctob — convert wide character to single byte
wctomb — convert wide character to multibyte character
wctrans — define character mapping
wctype — define character class
wmemchr — find a wide character in memory
wmemcmp — compare wide characters in memory
wmemcpy — copy wide characters in memory
wmemmove — copy wide characters in memory with overlapping areas
wmemset — set wide characters in memory
wordexp — perform word expansions
wordfree — perform word expansions
wprintf — print formatted output
write — write to file
writev — write to file from vector of buffers
wscanf — convert formatted input
y0 — bessel functions of the second kind
y0f — bessel functions of the second kind
y1 — bessel functions of the second kind
y1f — bessel functions of the second kind
yn — bessel functions of the second kind
ynf — bessel functions of the second kind

Miscellaneous

daylight — global variables containing time zone information
db_btree — btree information for dbopen()
db_hash — hash information for dbopen()
db_recno — recno information for dbopen()
/dev/com — device names for communication ports
/dev/console — device names for Windows console
/dev/zero — zero special file
environ — global array to hold environment variables
errno — global variable used to return error values
h_errno — global variable used by name resolution functions to return error values
lf64 — transitional interfaces for the 64-bit file offsets
lfcompile — transitional interfaces for the 64-bit file offsets
lfcompile64 — transitional compilation environment
optarg — variables used by the getopt() function
opterr — variables used by the getopt() function
optind — variables used by the getopt() function
optopt — variables used by the getopt() function
semaphores — semaphore information
siginfo_t — data structure containing signal information
signgam — global variable used for sign of gamma function
sockets — ioctl() requests supported by sockets
stderr — global variables for standard input/output streams
stdin — global variables for standard input/output streams
stdout — global variables for standard input/output streams
struct group — data structure containing group information
struct passwd — data structure containing user account information
struct stat — data structure containing detailed file information
struct stat64 — data structure containing detailed file information
struct statvfs — data structure containing detailed file system information
struct statvfs64 — data structure containing detailed file system information
struct termios — data structure containing terminal information
struct termiox — data structure containing hardware flow control information
suboptarg — global variable used by the getsubopt() function
sys_errlist — global variables for mapping errno to error messages
sys_nerr — global variables for mapping errno to error messages
sys_siglist — array of strings that map signal numbers to string names
timezone — global variables containing time zone information
tzname — global variables containing time zone information