Table A-3 shows Solaris basic library functions and their equivalents on Linux as implemented through the GNU libc distribution.
Table A-3. Basic Library Function Comparison
Solaris Functions | Linux Equivalent | Description[1],[2] |
---|
a64l | a64l | Convert between long integer and base-64 ASCII string. |
abort | abort | Terminate the process abnormally. |
abs | abs | Return absolute value of integer. |
addsev | None | Define additional severities. |
addseverity | addseverity | Build a list of severity levels for an application for use with fmtmsg. |
alloca | alloca | Memory allocator. |
alphasort | alphasort | Scan a directory. |
ascftime | None | Convert date and time to string. |
asctime | asctime | Convert date and time to string. |
asctime_r | asctime_r | Convert date and time to string. |
assert | assert | Verify program assertion. |
atexit | atexit | Register a function to run at process termination or object unloading. |
atof, atoi, atol, atoll | atof, atoi, atol, atoll | String conversion routines |
atomic_add_16, atomic_add_16_nv, atomic_add_32, atomic_add_32_nv, atomic_add_64, atomic_add_64_nv, atomic_add_long, atomic_add_long_nv, atomic_and_32, atomic_and_uint, atomic_ops, atomic_or_32, atomic_or_unit | None | Atomic operations. |
attropen | None | Open a file. |
basename | basename | Return the last element of a path name. |
bcmp | bcmp | Memory operations. |
bcopy | bcopy | Memory operations. |
bindtextdomain | bindtextdomain | Message handling functions. |
bind_textdomain_codeset | bind_textdomain_codeset | Message handling functions. |
bsdmalloc | None | Memory allocator. |
bsd_signal | bsd_signal | Simplified signal facilities. |
bsearch | bsearch | Binary search a sorted table. |
bstring | bstring | Memory operations. |
btowc | btowc | Single-byte to wide-character conversion. |
bzero | bzero | Memory operations. |
calloc | calloc | Memory allocator. |
catclose | catclose | Close a message catalogue. |
catgets | catgets | Read a program message. |
catopen | catopen | Open a message catalogue. |
cfgetispeed | cfgetispeed | Get input and output baud rate. |
cfgetospeed | cfgetospeed | Get input and output baud rate. |
cfree | cfree | Debugging memory allocator. |
cfsetispeed | cfsetispeed | Set input and output baud rate. |
cfsetospeed | cfsetospeed | Set input and output baud rate. |
cftime | None | Convert date and time to string. |
cleanerr | None | Stream status inquiries. |
clock | clock | Report CPU time used. |
closedir | closedir | Close a directory stream. |
closefrom | None | Close or iterate over open file descriptors. |
closelog | closelog | Control system log. |
cond_broadcast | pthread_cond_broadcast | Condition variables (Solaris thread APIs). |
cond_destroy, cond_init, cond_signal, cond_timedwait, cond_wait | pthread_cond_destroy, pthread_cond_init, pthread_cond_signal, pthread_cond_wait, pthread_cond_timedwait | Condition variables. |
cond_reltimedwait | None | Blocks on the conditional variable until the specified relative time passes. |
confstr | confstr | Get configurable variables. |
crypt | crypt | String encoding function. |
crypt_genhash_impl, crypt_gensalt, crypt_gensalt_impl | None | Encrypted password functions. |
cset, csetcol, csetlen, csetno | None | Get information on EUC codeset functions. |
ctermid | ctermid | Generate path name for controlling terminal. |
ctermid_r | None | Generate path name for controlling terminal. |
ctime | ctime | Convert date and time to string. |
ctype | None | Character handling. |
cuserid | cuserid | Get character login name of the user. |
dbm | dbm | Database subroutines. |
dbm_clearerr | dbm_clearerr | Database functions. |
dbm_close | dbm_close | Database functions. |
dbmclose | dbmclose | Database subroutines. |
dbm_delete | dbm_delete | Database functions. |
dbm_error | dbm_error | Database functions. |
dbm_fetch | dbm_fetch | Database functions. |
dbm_firstkey | dbm_firstkey | Database functions. |
dbminit | dbminit | Database subroutines. |
dbm_nextkey | dbm_nextkey | Database functions. |
dbm_open | dbm_open | Database functions. |
dbm_store | dbm_store | Database functions. |
dcgettext | dcgettext | Message handling functions. |
dcngettext | dcngettext | Message handling functions. |
decimal_to_double, decimal_to_extended, decimal_to_floating, decimal_to_quadruple, decimal_to_single | None | Convert decimal record functions. |
delete | delete | Database subroutines. |
dgettext | dgettext | Message handling functions. |
difftime | difftime | Computes the difference between two calendar times. |
directio | None | Provide advice to file system. |
dirname | dirname | Report the parent directory name of a file path name. |
div | div | Compute the quotient and remainder. |
dladdr | dladdr | Translate address to symbolic information. |
dladdr1 | dladdr1 | Translate address to symbolic information. |
dlclose | dlclose | Close a shared object. |
dldump | None | Create a new file from a dynamic object component of the calling process. |
dlerror | dlerror | Get diagnostic information. |
dlinfo | dlinfo | Dynamic load information. |
dlmopen | dlmopen | Gain access to an executable object file. |
dlopen | dlopen | Gain access to an executable object file. |
dlsym | dlsym | Get the address of a symbol in a shared object or executable. |
dngettext | dngettext | Message handling functions. |
double_to_decimal | None | Convert floating-point value to decimal record. |
drand48 | drand48 | Generate uniformly distributed pseudorandom numbers. |
dup2 | dup2 | Duplicate an open file descriptor. |
econvert | None | Output conversion. |
ecvt | ecvt | Convert floating-point number to string. |
_edata, edata | None | Last locations in program. |
encrypt | encrypt | Encoding function. |
_end, end | None | Last locations in program. |
endgrent | endgrent | Group database entry functions. |
endnetgrent | endnetgrent | Get network group entry. |
endpwent | endpwent | Get password entry. |
endspent | endspent | Get password entry. |
endusershell | endusershell | Get legal user shells. |
endutent | endutent | User accounting database functions. |
endutxent | endutxend | User accounting database functions. |
erand48 | erand48 | Generate uniformly distributed pseudorandom numbers. |
errno | errno | Print system error messages. |
_etext, etext | None | Last locations in program. |
euccol | euccol | Get byte length and display width of EUC characters. |
euclen | euclen | Get byte length and display width of EUC characters. |
eucscol | eucscol | Get byte length and display width of EUC characters. |
exit | exit | Terminate process. |
_exithandle | None | Terminate process. |
extended_to_decimal | None | Convert floating-point value to decimal record. |
fattach | fattach | Attach a STREAMS- or doors-based file descriptor to an object in the file system namespace. |
__fbufsize | __fbufsize | Interfaces to stdio FILE structure. |
fclose | fclose | Close a stream. |
fconvert | None | Output conversion. |
fcvt | fcvt | Convert floating-point number to string. |
FD_CLR | FD_CLR | Synchronous I/O multiplexing. |
fdetach | fdetach | Detach a name from a STREAMS-based file descriptor. |
FD_ISSET | FD_ISSET | Synchronous I/O multiplexing. |
fdwalk | None | Close or iterate over open file descriptors. |
FD_ZERO | FD_ZERO | Synchronous I/O multiplexing. |
feof | feof | Stream status inquiries. |
ferror | ferror | Stream status inquiries. |
fetch | fetch | Data base subroutines. |
fflush | fflush | Flush a stream. |
ffs | ffs | Find first set bit. |
fgetc | fgetc, fgets | Input of characters and strings. |
fgetgrent, fgetgrent_r | fgetgrent, fgetgrent_r | Group database entry functions. |
fgetpos | fgetpos, fseek, fsetpos, ftell | Reposition a stream. |
fgetpwent, fgetpwent_r | fgetpwent | Get password entry. |
fgets | fgets | Get a string from a stream. |
fgetspent, fgetspent_r | fgetspent, fgetspent_r | Get password entry. |
fgetwc | fgetwc | Get a wide-character code from a stream. |
fgetws | fgetws | Get a wide-character string from a stream. |
fileno | fileno | Stream status inquiries. |
file_to_decimal | None | Parse characters into decimal record. |
finite | finite | Determine type of floating-point number. |
firstkey | firstkey | Database subroutines. |
__flbf | __flbf | Interfaces to stdio FILE structure. |
floating_to_decimal | floating_to_decimal | Convert floating-point value to decimal record. |
flock | flock | Apply or remove an advisory lock on an open file. |
flockfile | flockfile | Acquire and release stream lock. |
_flushlbf | _flushlbf | Interfaces to stdio FILE structure. |
fmtmsg | fmtmsg | Display a message on stderr or system console. |
fnmatch | fnmatch | Match filename or path name. |
fopen | fopen | Open a stream. |
fpclass | fpclass | Determine type of floating-point number. |
__fpending | __fpending | Interfaces to stdio FILE structure. |
fpgetmask, fpgetround, fpgetsticky | None | IEEE floating-point environment control. |
fprintf | fprintf | Print formatted output. |
fpsetmask, fpsetround, fpsetsticky | None | IEEE floating-point environment control. |
__fpurge | __fpurge | Interfaces to stdio FILE structure. |
fputc | fputc | Put a byte on a stream. |
fputs | fputs | Put a string on a stream. |
fputwc | fputwc | Put wide-character code on a stream. |
fputws | fputws | Put wide-character string on a stream. |
fread | fread | Binary input. |
__freadable | __freadable | Interfaces to stdio FILE structure. |
__freading | __freading | Interfaces to stdio FILE structure. |
free | free | Memory allocator. |
freopen | freopen | Open a stream. |
fscanf | fscanf | Convert formatted input. |
fseek | fseek | Reposition a file-position indicator in a stream. |
fseeko | fseeko | Reposition a file-position indicator in a stream. |
__fsetlocking | __fsetlocking | Interfaces to stdio FILE structure. |
fsetpos | fsetpos | Reposition a file pointer in a stream. |
fsync | fsync | Synchronize changes to a file. |
ftell | ftell | Return a file offset in a stream. |
ftello | ftello | Return a file offset in a stream. |
ftime | ftime | Get date and time. |
ftok | ftok | Generate an IPC key. |
ftruncate | ftruncate | Set a file to a specified length. |
ftrylockfile | ftrylockfile | Acquire and release stream lock. |
ftw | ftw | Walk a file tree. |
func_to_decimal | None | Parse characters into decimal record. |
funlockfile | funlockfile | Release stream lock. |
fwide | fwide | Set stream orientation. |
fwprintf | fwprintf | Print formatted wide-character output. |
__fwritable | __fwritable | Interfaces to stdio FILE structure. |
fwrite | fwrite | Binary output. |
__fwriting | __fwriting | Interfaces to stdio FILE structure. |
fwscanf | fwscanf | Convert formatted wide-character input. |
gconvert | None | Output conversion. |
gcvt | gcvt | Convert floating-point number to string. |
getc | getc | Get a byte from a stream. |
getchar | getchar | Get a byte from a stream. |
getc_unlocked | getc_unlocked | Get a byte from a stream. |
getcwd | getcwd | Get pathname of current working directory. |
getdate | getdate | Convert user format date and time. |
getdtablesize | getdtablesize | Get the file descriptor table size. |
getenv | getenv | Return value for environment name. |
getexecname | None | Return path name of executable. |
getextmntent | None | Get mounted device information. |
getgrent, getgrent_r | getgrent, getgrent_r | Group database entry functions. |
getgrgid, getgrgid_r | getgrgid, getgrgid_r | Group database entry functions. |
getgrnam, getgrnam_r | getgrnam, getgrnam_r | Group database entry functions. |
gethomelgroup | None | Obtain info on scheduling decisions. |
gethostid | gethostid | Get an identifier for the current host. |
gethostname | gethostname | Get name of current host. |
gethrtime, gethrvtime | clock_getres, clock_gettime, clock_settime | Get high-resolution time.[3] |
getloadavg | getloadavg | Get system load averages. |
getlogin, getlogin_r | getlogin, getlogin_r | Get login name. |
getmntany | None | Get mounted device info. |
getmntent | getmntent | Get mounted device info. |
getnetgrent, getnetgrent_r | getnetgrent, getnetgrent_r | Get network group entry. |
getopt | getopt | Command option parsing. |
getopt_clip | None | Parse long command option. |
getopt_long | getopt_long | Parse long command option. |
getopt_long_only | getopt_long_only | Parse long command option. |
getpagesize | getpagesize | Get system page size. |
getpagesizes | None | Get system supported page size. |
getpass | getpass | Read a string of characters without echo. |
getpassphrase | None | Read a string of characters without echo. |
getpeerucred | None | Get connected socket/ STREAM peer's credentials. |
getpriority | getpriority | Get process scheduling priority. |
getpw | getpw | Get password entry from UID. |
getpwent, getpwent_r | getpwent, getpwent_r | Get password entry. |
getpwnam, getpwnam_r | getpwnam, getpwnam_r | Get password entry. |
getpwuid, getpwuid_r | getpwuid, getpwuid_r | Get password entry. |
getrusage | geTRusage | Get info about resource utilization. |
gets | gets | Get a string from a stream. |
getspent, getspent_r | getspent, getspent_r | Get password entry. |
getspnam, getspnam_r | getspnam, getspnam_r | Get password entry. |
getsubopt | getsubopt | Parse suboptions from a string. |
gettext | gettext | Message handling functions. |
gettimeofday | gettimeofday | Get the date and time. |
gettxt | None | Retrieve a text string. |
getusershell | getusershell | Get legal user shells. |
getutent | getutent | User accounting database functions. |
getuid | getuid | User accounting database functions. |
getutline | getutline | User accounting database functions. |
getutmp | getutmp | User accounting database functions. |
getutmpx | getutmpx | User accounting database functions. |
getutxent | getutxent | User accounting database functions. |
getutxid | getutxid | User accounting database functions. |
getutxline | getutxline | User accounting database functions. |
getvfsany, getvfsent, getvfsfile, getvfsspec | None | Get vfstab file entry functions. |
getw | getw | Get a byte from a stream. |
getwc | getwc | Get a wide character from a stream. |
getwchar | getwchar | Get a wide character from a stdin stream. |
getwd | getwd | Get current working directory path name. |
getwidth | None | Get codeset information. |
getws | None | Get a wide-character string from a stream. |
getzoneid | None | Map between zone ID and name. |
getzoneidbyname, getzonenamebyid | None | Map between zone ID and name. |
glob | glob | Generate path names matching a pattern. |
globfree | globfree | Generate path names matching a pattern. |
gmtime, gmtime_r | gmtime, gmtime_r | Convert date and time to string. |
grantpt | grantpt | Grant access to the slave pseudo-terminal device. |
gsignal | gsignal | Software signals. |
hasmntopt | hasmntopt | Get mounted device information. |
hcreate | hcreate | Manage hash search tables. |
hdestroy | hdestroy | Manage hash search tables. |
hsearch | hsearch | Manage hash search tables. |
iconv | iconv | Code conversion function. |
iconv_close | iconv_close | Code conversion deallocation function. |
iconv_open | iconv_open | Code conversion allocation function. |
imaxabs | imaxabs | Return absolute value. |
imaxdiv | imaxdiv | Return quotient and remainder. |
index | index | String operations. |
initgroups | initgroups | Initialize the supplementary group access list. |
initstate | initstate | Pseudorandom number functions. |
innetgr | innetgr | Get network group entry. |
insque | insque | Insert/remove element from a queue. |
isaexec | None | Invoke ISA-specific executable. |
isalnum | isalnum | Character handling. |
isalpha | isalpha | Character handling. |
isascii | isascii | Character handling. |
isastream | isastream | Character handling. |
isatty | isatty | Character handling. |
isblank | isblank | Character handling. |
iscntrl | iscntrl | Character handling. |
isdigit | isdigit | Character handling. |
isenglish | None | Wide-character code classification functions. |
isgraph | isgraph | Character handling. |
isideogram | None | Wide-character code classification functions. |
islower | islower | Character handling. |
isnand | None | Determine type of floating-point number. |
isnanf | isnanf | Determine type of floating-point number. |
isnumber | None | Wide-character code classification functions. |
isphonogram | None | Wide-character code classification functions. |
isprint | isprint | Character handling. |
ispunct | ispunct | Character handling. |
isspace | isspace | Character handling. |
isspecial | None | Wide-character code classification functions. |
isupper | isupper | Character handling. |
iswalnum | iswalnum | Wide-character code classification functions. |
iswalpha | iswalpha | Wide-character code classification functions. |
iswascii | None | Wide-character code classification functions. |
iswblank | iswblank | Wide-character code classification functions. |
iswcntrl | iswcntrl | Wide-character code classification functions. |
iswctype | iswctype | Test character for specified class. |
iswdigit | iswdigit | Wide-character code classification functions. |
iswgraph | iswgraph | Wide-character code classification functions. |
iswlower | iswlower | Wide-character code classification functions. |
iswprint | iswprint | Wide-character code classification functions. |
iswpunct | iswpunct | Wide-character code classification functions. |
iswspace | iswspace | Wide-character code classification functions. |
iswupper | iswupper | Wide-character code classification functions. |
iswxdigit | iswxdigit | Wide-character code classification functions. |
isxdigit | isxdigit | Character handling. |
jrand48 | jrand48 | Generate uniformly distributed pseudorandom numbers. |
killpg | killpg | Send signal to a process group. |
l64a | l64a | Convert between long integer and base-64 ASCII string. |
labs | labs | Return absolute value of integer. |
lckpwdf | lckpwdf | Manipulate shadow password database lock file. |
lcong48 | lcong48 | Generate uniformly distributed pseudorandom numbers. |
ldiv | ldiv | Compute the quotient and remainder. |
lfind | lfind | Linear search and update. |
lfmt | None | Display error message in standard format and pass to logging and monitoring services. |
llabs | llabs | Return absolute value of integer. |
lldiv | lldiv | Compute the quotient and remainder. |
lltostr | None | String conversion routines. |
localeconv | localeconv | Get numeric formatting information. |
localtime | localtime | Convert date and time to string. |
localtime_r | localtime_r | Convert date and time to string. |
lockf | lockf | Record locking on files. |
_longjmp | _longjmp | Nonlocal goto. |
longjmp | longjmp | Nonlocal goto. |
lrand48 | lrand48 | Generate uniformly distributed pseudorandom numbers. |
lsearch | lsearch | Linear search and update. |
madvise | madvise | Provide advice to VM system. |
major | major | Manage a device number. |
makecontext | makecontext | Manipulate user contexts. |
makedev | makedev | Manage a device number. |
mallinfo | None | Memory allocator. |
malloc | malloc | Memory allocator. |
mallocctl | None | MT hot memory allocator. |
mallopt | mallopt | Memory allocator. |
mapmalloc | None | Memory allocator. |
mblen | mblen | Get number of bytes in a character. |
mbrlen | mbrlen | Get number of bytes in a character (restartable). |
mbrtowc | mbrtowc | Convert a character to a wide-character code (restartable). |
mbsinit | mbsinit | Determine conversion object status. |
mbsrtowcs | mbsrtowcs | Convert a character string to a wide-character string (restartable). |
mbstowcs | mbstowcs | Convert a character string to a wide-character string. |
mbtowc | mbtowc | Convert a character to a wide-character code. |
mctl | None | Memory management control. |
memalign | memalign | Memory allocator. |
memccpy | memccpy | Memory operations. |
memchr | memchr | Memory operations. |
memcmp | memcmp | Memory operations. |
memcpy | memcpy | Memory operations. |
memmove | memmove | Memory operations. |
memset | memset | Memory operations. |
minor | minor | Manage a device number. |
mkfifo | mkfifo | Make a FIFO special file. |
mkstemp | mkstemp | Make a unique filename from a template and open the file. |
mktemp | mktemp | Make a unique filename from a template. |
mktime | mktime | Convert a tm structure to a calendar time. |
mlock | mlock | Lock or unlock pages in memory. |
mlockall | mlockall | Lock or unlock address space. |
monitor | None | Prepare process execution profile. |
mrand48 | mrand48 | Generate uniformly distributed pseudorandom numbers. |
msync | msync | Synchronize memory with physical storage. |
mtmalloc | None | MT hot memory allocator. |
munlock | munlock | Lock or unlock pages in memory. |
munlockall | munlockall | Lock or unlock address space. |
nextkey | nextkey | Database subroutines. |
nftw | nftw | Walk a file tree. |
ngettext | ngettext | Message handling functions. |
nice | nice | Change priority of a process. |
nlist | None | Get entries from symbol table. |
nl_langinfo | nl_langinfo | Language information. |
nrand48 | nrand48 | Generate uniformly distributed pseudorandom numbers. |
offsetof | offsetof | Offset of structure member. |
opendir | opendir | Open directory. |
openlog | openlog | Control system log. |
pclose | pclose | Initiate a pipe to or from a process. |
perror | perror | Print system error messages. |
pfmt | None | Display error message in standard format. |
plock | None | Lock or unlock into memory process, text, or data. |
popen | popen | Initiate a pipe to or from a process. |
port_alert, port_associate, port_create, port_dissociate, port_get, port_getn, port_send, port_sendn, | None | Port event functions. |
posix_openpt | posix_openpt | Open a pseudo terminal device. |
posix_spawn | posix_spawn | Spawn a process. |
posix_spawnattr_destroy | posix_spawnattr_destroy | Destroy and initialize spawn attributes object. |
posix_spawnattr_getflags | posix_spawnattr_getflags | Get and set spawn-flags attribute of spawn attributes object. |
posix_spawnattr_getpgroup | posix_spawnattr_getpgroup | Get and set spawn-pgroup attribute of spawn attributes object. |
posix_spawnattr_getschedparam | posix_spawnattr_getschedparam | Get and set spawn-schedparam attribute of spawn attributes object. |
posix_spawnattr_getschedpolicy | posix_spawnattr_getschedpolicy | Get and set spawn-schedpolicy attribute of spawn attributes object. |
posix_spawnattr_getsigdefault | posix_spawnattr_getsigdefault | Get and set spawn-sigdefault attribute of spawn attributes object. |
posix_spawnattr_getsigmask | posix_spawnattr_getsigmask | Get and set spawn-sigmask attribute of spawn attributes object. |
posix_spawnattr_init | posix_spawnattr_init | Destroy and initialize spawn attributes object. |
posix_spawnattr_setflags | posix_spawnattr_setflags | Get and set spawn-flags attribute of spawn attributes object. |
posix_spawnattr_setpgroup | posix_spawnattr_setpgroup | Get and set spawn-pgroup attribute of spawn attributes object. |
posix_spawnattr_setschedparam | posix_spawnattr_setschedparam | Get and set spawn-schedparam attribute of spawn attributes object. |
posix_spawnattr_setschedpolicy | posix_spawnattr_setschedpolicy | Get and set spawn-schedpolicy attribute of spawn attributes object. |
posix_spawnattr_setsigfault | posix_spawnattr_setsigfault | Get and set spawn-sigdefault attribute of spawn attributes object. |
posix_spawnattr_setsigmask | posix_spawnattr_setsigmask | Get and set spawn-sigmask attribute of spawn attributes object. |
posix_spawn_file_actions_addclose | posix_spawn_file_actions_addclose | Add close or open action to spawn file actions object. |
posix_spawn_file_actions_adddup2 | posix_spawn_file_actions_adddup2 | Add dup2 action to spawn file actions object. |
posix_spawn_file_actions_addopen | posix_spawn_file_actions_addopen | Add close or open action to spawn file actions object. |
posix_spawn_file_actions_destroy | posix_spawn_file_actions_destroy | Destroy and initialize spawn file actions object. |
posix_spawn_file_actions_init | posix_spawn_file_actions_init | Destroy and initialize spawn file actions object. |
posix_spawnp | posix_spawnp | Spawn a process. |
printf | printf | Print formatted output. |
printstack | None | Walk stack pointed to by ucontext. There is no exact match, but Linux has a command pstack (http://linuxcommand.org/man_pages/pstack1.html) and catchsegv (http://nixdoc.net/man-pages/linux/man1/catchsegv.1.html). |
priv_addset, priv_allocset, priv_copyset, priv_delset, priv_emptyset, priv_fillset, priv_freeset, priv_getbyname, priv_getsetbyname, priv_getsetbynum, priv_gettext, priv_ineffect, priv_intersect, priv_inverse, priv_isemptyset, priv_isequalset, priv_isfullset, priv_ismember, priv_issubset, priv_set, priv_set_to_str, priv_str_to_set, priv_union | None | Privilege set manipulation functions. |
pselect | pselect | Synchronous I/O multiplexing. |
pset_getloadavg | None | Get system load averages for a processor set. |
psiginfo | None | System signal messages. |
psignal | psignal | System signal messages. |
ptrace | ptrace | Allows a parent process to control the execution of a child process. |
ptsname | ptsname | Get name of the slave pseudo-terminal device. |
putc | putc | Put a byte on a stream. |
putchar | putchar | Put a byte on a stream. |
putchar_unlocked | putchar_unlocked | Put a byte on a stream. |
putc_unlocked | putc_unlocked | Put a byte on a stream. |
putenv | putenv | Change or add value to environment. |
putmntent | None | Get mounted device information. |
puts | puts | Put a string on a stream. |
putspent | putspent | Write shadow password file entry. |
pututline | pututline | User accounting database functions. |
pututxline | pututxline | User accounting database functions. |
putw | putw | Put a byte on a stream. |
putwc | putwc | Put wide-character code on a stream. |
putwchar | putwchar | Put wide-character code on a stream. |
putws | None | Convert a string of Process Code characters to EUC characters. |
qeconvert, qfconvert, qgconvert | None | Output conversion functions. |
qsort | qsort | Quick sort. |
quadruple_to_decimal | None | Convert floating-point value to decimal record. |
raise | raise | Send signal to program. |
rand | rand | Simple random-number generator. |
random | random | Pseudorandom number functions. |
rand_r | rand_r | Simple random-number generator. |
rctlblk_get_enforced_value, rctlblk_get_firing_time, rctlblk_get_global_action, rctlblk_get_global_flags, rctlblk_get_local_action, rctlblk_get_local_flags, rctlblk_get_privilege, rctlblk_get_recipient_pid, rctlblk_get_value, rctlblk_set_local_action, rctlblk_set_local_flags, rctlblk_set_privilege, rctlblk_set_recipient_pid, rctlblk_set_value, rctlblk_size | None | Manipulate resource control block functions. |
rctl_walk | None | Visit registered rctls on current system. |
readdir | readdir | Read directory. |
readdir | readdir | Read a directory entry. |
readdir_r | readdir_r | Read directory. |
realloc | realloc | Memory allocator. |
realpath | realpath | Resolve path name. |
reboot | reboot | Reboot system or halt processor. |
re_comp | re_comp | Compile and execute regular expressions. |
re_exec | re_exec | Compile and execute regular expressions. |
regcmp | None | Compile and execute regular expression. On Linux, use regcomp() instead. |
regcomp | regcomp | Regular expression matching. |
regerror | regerror | Regular expression matching. |
regex | regex | Compile and execute regular expression. |
regexec | regexec | Regular expression matching. |
regfree | regfree | Regular expression matching. |
remove | remove | Remove file. |
remque | remque | Insert/remove element from a queue. |
resetmnttab | None | Get mounted device information. |
rewind | rewind | Reset file position indicator in a stream. |
rewinddir | rewinddir | Reset position of directory stream to the beginning of a directory. |
rindex | rindex | String operations. |
scandir | scandir | Scan a directory. |
scanf | scanf | Convert formatted input. |
schedctl_exit, schedctl_init, schedctl_lookup, schedctl_start, schedctl_stop | None | Preemption control functions. |
seconvert | None | Output conversion. |
seed48 | seed48 | Generate uniformly distributed pseudorandom numbers. |
seekdir | seekdir | Set position of directory stream. |
select | select | Synchronous I/O multiplexing. |
setbuf | setbuf | Assign buffering to a stream. |
setbuffer | setbuffer | Assign buffering to a stream. |
setcat | None | Define default catalogue. |
setenv | setenv | Add or change environment variable. |
setgrent | setgrent | Group database entry functions. |
sethostname | sethostname | Get or set name of current host. |
_setjmp | _setjmp | Nonlocal goto. |
setjmp | setjmp | Nonlocal goto. |
setkey | setkey | Set encoding key. |
setlabel | None | Define the label for pfmt() and lfmt(). |
setlinebuf | setlinebuf | Assign buffering to a stream. |
setlocale | setlocale | Modify and query a program's locale. |
setlogmask | setlogmask | Control system log. |
setnetgrent | setnetgrent | Get network group entry. |
setpriority | setpriority | Get or set process scheduling priority. |
setpwent | setpwent | Get password entry. |
setspent | setspent | Get password entry. |
setstate | setstate | Pseudorandom number functions. |
settimeofday | settimeofday | Get or set the date and time. |
setusershell | setusershell | Get legal user shells. |
setutent | setutent | User accounting database functions. |
setutxent | setutxent | User accounting database functions. |
setvbuf | setvbuf | Assign buffering to a stream. |
sfconvert, sgconvert | None | Output conversion functions. |
sig2str | None | Translation between signal name and signal number. |
sigaddset | sigaddset | Manipulate sets of signals. |
sigblock | sigblock | Block signals. |
sigdelset | sigdelset | Manipulate sets of signals. |
sigemptyset | sigemptyset | Manipulate sets of signals |
sigfillset | sigfillset | Manipulate sets of signals |
sigfpe | None | Signal handling for specific SIGFPE codes. |
sighold | sighold | Simplified signal management for application processes. |
sigignore | sigignore | Simplified signal management for application processes. |
siginterrupt | siginterrupt | Allow signals to interrupt functions. |
sigismember | sigismember | Manipulate sets of signals. |
siglongjmp | siglongjmp | Nonlocal goto. |
sigmask | sigmask | Block signals. |
signal | signal | Simplified signal management for application processes. |
signal | signal | Simplified software signal facilities. |
sigpause | sigpause | Simplified signal management for application processes. |
sigpause | sigpause | Block signals. |
sigrelse | sigrelse | Simplified signal management for application processes. |
sigset | sigset | Simplified signal management for application processes. |
sigsetjmp | sigsetjmp | Nonlocal goto. |
sigsetmask | sigsetmask | Block signals. |
sigsetops | None | Manipulate sets of signals. |
sigstack | sigstack | Set and/or get alternate signal stack context. |
sigstack | sigstack | Set and/or get signal stack context. |
sigvec | sigvec | Software signal facilities. |
single_to_decimal | None | Convert floating-point value to decimal record. |
sleep | sleep | Suspend execution for an interval of time. |
sleep | sleep | Suspend execution for interval. |
snprintf | snprintf | Print formatted output. |
sprintf | sprintf | Print formatted output. |
sprintf | sprintf | Formatted output conversion. |
srand | srand | Simple random-number generator. |
srand48 | srand48 | Generate uniformly distributed pseudorandom numbers. |
srandom | srandom | Pseudorandom number functions. |
sscanf | sscanf | Convert formatted input. |
ssignal | ssignal | Software signals. |
stack_getbounds, _stack_grow, stack_inbounds, stack_setbounds, stack_violation | None | Stack manipulation and operation functions. |
stdio | stdio | Standard buffered input/output package. |
store | store | Database subroutines. |
str2sig | None | Translation between signal name and signal number. |
strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strdup, strerror, strerror_r | strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strdup, strerror, strerror_r | String operations. |
strfmon | strfmon | Convert monetary value to string. |
strftime | strftime | Convert date and time to string. |
string | string | String operations. |
string_to_decimal | None | Parse characters into decimal record. |
strlcat, strlcpy, strlen, strncasecmp, strncat, strncmp, strncpy, strpbrk | strlcat, strlcpy, strlen, strncasecmp, strncat, strncmp, strncpy, strpbrk | String operations. |
strptime | strptime | Date and time conversion. |
strrchr | strrchr | String operations. |
strsignal | strsignal | Get name of signal. |
strspn | strspn | String operations. |
strstr | strstr | String operations. |
strtod | strtod | Convert string to floating-point number. |
strtof | strtof | Convert string to floating-point number. |
strtoimax | strtoimax | Convert string to integer type. |
strtok | strtok | String operations. |
strtok_r | strtok_r | String operations. |
strtol | strtol | String conversion routines. |
strtold | strtold | Convert string to floating-point number. |
strtoll | strtoll | String conversion routines. |
strtoul | strtoul | Convert string to unsigned long. |
strtoull | strtoull | Convert string to unsigned long. |
strtoumax | strtoumax | Convert string to integer type. |
strtows | None | Code conversion for Process Code and File Code. |
strxfrm | strxfrm | String transformation. |
swab | swab | Swap bytes. |
swapcontext | swapcontext | Manipulate user contexts. |
swprintf | swprintf | Print formatted wide-character output. |
swscanf | swscanf | Convert formatted wide-character input. |
sync_instruction_memory | None | Make modified instructions executable. |
syscall | syscall | Indirect system call. |
sysconf | sysconf | Get configurable system variables. |
syslog | syslog | Control system log. |
sys_siglist | None | System signal messages. |
system | system | Issue a shell command. |
tcdrain | tcdrain | Wait for transmission of output. |
tcflow | tcflow | Suspend or restart the transmission or reception of data. |
tcflush | tcflush | Flush nontransmitted output data, nonread input data, or both. |
tcgetattr | tcgetattr | Get the parameters associated with the terminal. |
tcgetpgrp | tcgetpgrp | Get foreground process group ID. |
tcgetsid | tcgetsid | Get process group ID for session leader for controlling terminal. |
tcsendbreak | tcsendbreak | Send a "break" for a specific duration. |
tcsetattr | tcsetattr | Set the parameters associated with the terminal. |
tcsetpgrp | tcsetpgrp | Set foreground process group ID. |
tdelete | TDelete | Manage binary search trees. |
td_event_addset, td_event_delset, td_event_emptyset, td_event_fillset, td_eventisempty, td_eventismember, td_init, td_log | td_event_addset, td_event_delset, td_event_emptyset, td_event_fillset, td_eventisempty, td_eventismember, td_init, td_log | Thread events in libc_db functions. |
td_sync_get_info, td_sync_get_stats, td_sync_setstate, td_sync_waiters | None | Operations on a synchronization object in libc_db. |
td_ta_clear_event(3C_DB) | td_ta_clear_event | Thread events in libc_db. |
td_ta_delete(3C_DB) | td_ta_delete | Allocate and de-allocate process handles for libc_db. |
td_ta_enable_stats(3C_DB) | td_ta_enable_stats | Collect target process statistics for libc_db. |
td_ta_event_addr(3C_DB) | td_ta_event_addr | Thread events in libc_db. |
td_ta_event_getmsg(3C_DB) | td_ta_event_getmsg | Thread events in libc_db. |
td_ta_get_nthreads(3C_DB) | td_ta_get_nthreads | Get the total number of threads in a process for libc_db. |
td_ta_get_ph(3C_DB) | td_ta_get_ph | Allocate and de-allocate process handles for libc_db. |
td_ta_get_stats(3C_DB) | td_ta_get_stats | Collect target process statistics for libc_db. |
td_ta_map_addr2sync(3C_DB) | None | Get a synchronization object handle from a synchronization object's address. |
td_ta_map_id2thr(3C_DB) | td_ta_map_id2thr | Convert a thread ID or LWP ID to a thread handle. |
TD_ta_map_lwp2thr(3C_DB) | td_ta_map_lwp2thr | Convert a thread ID or LWP ID to a thread handle. |
td_ta_new(3C_DB) | TD_ta_new | Allocate and de-allocate process handles for libc_db. |
TD_ta_reset_stats(3C_DB) | td_ta_reset_stats | Collect target process statistics for libc_db. |
td_ta_setconcurrency(3C_DB) | TD_ta_setconcurrency | Set concurrency level for target process. |
td_ta_set_event(3C_DB) | TD_ta_set_event | Thread events in libc_db. |
TD_ta_sync_iter(3C_DB) | None | Iterator functions on process handles from libc_db. |
TD_ta_sync_tracking_enable(3C_DB) | None | Operations on a synchronization object in libc_db. |
td_ta_thr_iter(3C_DB) | td_ta_thr_iter | Iterator functions on process handles from libc_db. |
td_ta_tsd_iter(3C_DB) | td_ta_tsd_iter | Iterator functions on process handles from libc_db. |
td_thr_clear_event(3C_DB) | td_thr_clear_event | Thread events in libc_db. |
td_thr_dbresume(3C_DB) | td_thr_dbresume | Suspend and resume threads in libc_db. |
td_thr_dbsuspend(3C_DB) | td_thr_dbsuspend | Suspend and resume threads in libc_db. |
td_thr_event_enable(3C_DB) | td_thr_event_enable | Thread events in libc_db. |
td_thr_event_getmsg(3C_DB) | td_thr_event_getmsg | Thread events in libc_db. |
td_thr_getfpregs(3C_DB) | td_thr_getfpregs | Reading and writing thread registers in libc_db. |
td_thr_getgregs(3C_DB) | td_thr_getgregs | Reading and writing thread registers in libc_db. |
td_thr_get_info(3C_DB) | td_thr_get_info | Get thread information in libc_db library of interfaces. |
td_thr_getxregs(3C_DB) | td_thr_getxregs | Reading and writing thread registers in libc_db. |
td_thr_getxregsize(3C_DB) | td_thr_getxregsize | Reading and writing thread registers in libc_db. |
td_thr_lockowner(3C_DB) | None | Iterate over the set of locks owned by a thread. |
TD_thr_set_event(3C_DB) | td_thr_set_event | Thread events in libc_db. |
td_thr_setfpregs(3C_DB) | td_thr_setfpregs | Reading and writing thread registers in libc_db. |
TD_thr_setgregs(3C_DB) | td_thr_setgregs | Reading and writing thread registers in libc_db. |
TD_thr_setprio(3C_DB) | td_thr_setprio | Set the priority of a thread. |
td_thr_setsigpending(3C_DB) | td_thr_setsigpending | Manage thread signals for libc_db. |
td_thr_setxregs(3C_DB) | td_thr_setxregs | Reading and writing thread registers in libc_db. |
td_thr_sigsetmask(3C_DB) | td_thr_sigsetmask | Manage thread signals for libc_db. |
td_thr_sleepinfo(3C_DB) | None | Return the synchronization handle for the object on which a thread is blocked. |
td_thr_tsd(3C_DB) | td_thr_tsd | Get a thread's thread-specific data for libc_db library of interfaces. |
td_thr_validate(3C_DB) | td_thr_validate | Test a thread handle for validity. |
tell | None | Return a file offset for a file descriptor. |
telldir | telldir | Current location of a named directory stream. |
tempnam | tempnam | Create a name for a temporary file. |
termios | termios | General terminal interface. |
texTDomain | texTDomain | Message handling functions. |
tfind | tfind | Manage binary search trees. |
times | times | Get process times. |
tmpfile | tmpfile | Create a temporary file. |
tmpnam | tmpnam | Create a name for a temporary file. |
tmpnam_r | tmpnam_r | Create a name for a temporary file. |
toascii | toascii | Translate integer to a 7-bit ASCII character. |
_tolower | _tolower | Transliterate uppercase characters to lowercase. |
tolower | tolower | Transliterate uppercase characters to lowercase. |
_toupper | _toupper | Transliterate lowercase characters to uppercase. |
toupper | toupper | Transliterate lowercase characters to uppercase. |
towctrans | towctrans | Wide-character mapping. |
towlower | towlower | Transliterate uppercase wide-character code to lowercase. |
towupper | towupper | Transliterate lowercase wide-character code to uppercase. |
truncate | truncate | Set a file to a specified length. |
tsearch | tsearch | Manage binary search trees. |
ttyname | ttyname | Find path name of a terminal. |
ttyname_r | ttyname_r | Find path name of a terminal. |
ttyslot | ttyslot | Find the slot of the current user in the user accounting database. |
twalk | twalk | Manage binary search trees. |
tzset | tzset | Convert date and time to string. |
ualarm | ualarm | Schedule signal after interval in microseconds. |
ucred_free, ucred_get, ucred_getegid, ucred_geteuid, ucred_getgroups, ucred_getpflags, ucred_getpid, ucred_getprivset, ucred_getprojid, ucred_getrgid, ucred_getruid, ucred_getsgid, ucred_getsuid, ucred_getzoneid, ucred_size | None | User credential functions. |
ulckpwdf | ulckpwdf | Manipulate shadow password database lock file. |
ulltostr | None | String conversion routines. |
umem_alloc, umem_cache_alloc, umem_cache_create, umem_cache_destroy, umem_cache_free, umem_debug, umem_free, umem_nofail_callback, umem_zalloc | None | Fast, scalable memory operations. |
ungetc | ungetc | Push byte back into input stream. |
ungetwc | ungetwc | Push wide-character code back into input stream. |
unlockpt | unlockpt | Unlock a pseudo-terminal master/slave pair. |
unordered | None | Determine type of floating-point number. |
unsetenv | unsetenv | Remove an environment variable. |
updwtmp | updwtmp | User accounting database functions. |
updwtmpx | updwtmpx | User accounting database functions. |
usleep | usleep | Suspend execution for interval in microseconds. |
utmpname | utmpname | User accounting database functions. |
utmpxname | utmpxname | User accounting database functions. |
valloc | valloc | Memory allocator. |
valloc | valloc | Debugging memory allocator. |
vfprintf | vfprintf | Print formatted output of a variable argument list. |
vfprintf | vfprintf | Formatted output conversion. |
vfscanf | vfscanf | Convert formatted input. |
vfwprintf | vfwprintf | Wide-character formatted output of a stdarg argument list. |
vfwscanf | vfwscanf | Convert formatted wide-character input. |
vlfmt, vpfmt | None | Display error message in standard format and pass to logging and monitoring services. |
vprintf | vprintf | Print formatted output of a variable argument list. |
vprintf | vprintf | Formatted output conversion. |
vscanf | vscanf | Convert formatted input. |
vsnprintf | vsnprintf | Print formatted output of a variable argument list. |
vsprintf | vsprintf | Print formatted output of a variable argument list. |
vsprintf | vsprintf | Formatted output conversion. |
vsscanf | vsscanf | Convert formatted input. |
vswprintf | vswprintf | Wide-character formatted output of a stdarg argument list. |
vswscanf | vswscanf | Convert formatted wide-character input. |
vsyslog | vsyslog | Log message with an stdarg argument list. |
vwprintf | vwprintf | Wide-character formatted output of an stdarg argument list. |
vwscanf | vwscanf | Convert formatted wide-character input. |
wait | wait | Wait for child process to stop or terminate. |
wait3 | wait3 | Wait for process to terminate or stop. |
wait4 | wait4 | Wait for process to terminate or stop. |
waitpid | waitpid | Wait for child process to change state. |
waitpid | waitpid | Wait for process to terminate or stop. |
walkcontext | None | Walk stack pointed to by ucontext. |
watchmalloc | None | Debugging memory allocator. |
watof, watoi, watol, watoll | None | Convert wide-character string operations. |
wcrtomb | wcrtomb | Convert a wide-character code to a character (restartable). |
wcscat | wcscat | Wide-character string operations. |
wcschr | wcschr | Wide-character string operations. |
wcscmp | wcscmp | Wide-character string operations. |
wcscoll | wcscoll | Wide-character string comparison using collating information. |
wcscpy | wcscpy | Wide-character string operations. |
wcscspn | wcscspn | Wide-character string operations. |
wcsetno | None | Get information on EUC codesets. |
wcsftime | wcsftime | Convert date and time to wide-character string. |
wcslen | wcslen | Wide-character string operations. |
wcsncat | wcsncat | Wide-character string operations. |
wcsncmp | wcsncmp | Wide-character string operations. |
wcsncpy | wcsncpy | Wide-character string operations. |
wcspbrk | wcspbrk | Wide-character string operations. |
wcsrchr | wcsrchr | Wide-character string operations. |
wcsrtombs | wcsrtombs | Convert a wide-character string to a character string (restartable). |
wcsspn | wcsspn | Wide-character string operations. |
wcsstr | wcsstr | Find a wide-character substring. |
wcstod | wcstod | Convert wide-character string to floating-point number. |
wcstof | wcstof | Convert wide-character string to floating-point number. |
wcstoimax | wcstoimax | Convert wide-character string to integer type. |
wcstok | wcstok | Wide-character string operations. |
wcstol | wcstol | Convert wide-character string to long integer. |
wcstold | wcstold | Convert wide-character string to floating-point number. |
wcstoll | wcstoll | Convert wide-character string to long integer. |
wcstombs | wcstombs | Convert wide-character string to character string. |
wcstoul | wcstoul | Convert wide-character string to unsigned long. |
wcstoull | wcstoull | Convert wide-character string to unsigned long. |
wcstoumax | wcstoumax | Convert wide-character string to integer type. |
wcstring | None | Wide-character string operations. |
wcswcs | wcswcs | Wide-character string operations. |
wcswidth | wcswidth | Number of column positions of a wide-character string. |
wcsxfrm | wcsxfrm | Wide-character string transformation. |
wctob | wctob | Wide-character to single-byte conversion. |
wctomb | wctomb | Convert wide-character code to a character. |
wctrans | wctrans | Define character mapping. |
wctype | wctype | Define character class. |
wcwidth | wcwidth | Number of column positions of a wide-character code. |
WIFEXITED | WIFEXITED | Wait for process to terminate or stop. |
WIFSIGNALED | WIFSIGNALED | Wait for process to terminate or stop. |
WIFSTOPPED | WIFSTOPPED | Wait for process to terminate or stop. |
windex | None | Wide-character string operations. |
wmemchr | wmemchr | Find a wide-character in memory. |
wmemcmp | wmemcmp | Compare wide-characters in memory. |
wmemcpy | wmemcpy | Copy wide-characters in memory. |
wmemmove | wmemmove | Copy wide-characters in memory with overlapping areas. |
wmemset | wmemset | Set wide-characters in memory. |
wordexp | wordexp | Perform word expansions. |
wordfree | wordfree | Perform word expansions. |
wprintf | wprintf | Print formatted wide-character output. |
wrindex | None | Wide-character string operations. |
wscanf | wscanf | Convert formatted wide-character input. |
wscasecmp, wscat, wschr, wscmp, wscol, wscoll, wscpy, wscspn, wsdup, wslen, wsncasecmp, wsncat, wsncmp, wsncpy, wspbrk, wsprintf, wsrchr, wsscanf, wsspn, wstod, wstok, wstol, wstostr, wstring, wsxfrm | None | Solaris wide-character string operations that do not exist on Linux. |