Chapter 16. Libraries

Table of Contents
Interfaces for libc
Data Definitions for libc
Interfaces Definitions for libc
Interfaces for libm
Data Definitions for libm
Interfaces for libpthread
Data Definitions for libpthread
Interfaces for libdl
Data Definitions for libdl
Interfaces for libcrypt
Data Definitions for libcrypt

An LSB-conforming implementation shall support some base libraries which provide interfaces for accessing the operating system, processor and other hardware in the system.

Interfaces that are unique to the IA32 platform are defined here. This section should be used in conjunction with the corresponding section in the Linux Standard Base Specification.

Interfaces for libc

Table 16-1. libc Definition

Library:libc
SONAME:libc.so.6

The behavior of the interfaces in this library is specified by the following standards.

ISO/IEC 9899: 1999, Programming Languages --C[1]
Large File Support[2]
Linux Standard Base[3]
IEEE Std POSIX.1-1996 [ISO/IEC 9945-1:1996][4]
CAE Specification, February 1997, Networking Services (XNS), Issue 5(ISBN: 1-85912-165-9, C523)[5]
CAE Specification, January 1997, System Interfaces and Headers (XSH),Issue 5 (ISBN: 1-85912-181-0, C606)[6]
The Single UNIX® Specification(SUS) Version 3[7]
System V Interface Definition, Issue 3 (ISBN 0201566524)[8]
System V Interface Definition,Fourth Edition[9]

RPC

Table 16-2. libc - RPC Function Interfaces

authnone_create(GLIBC_2.0)[9]svc_getreqset(GLIBC_2.0)[8]xdr_bytes(GLIBC_2.0)[8]xdr_opaque_auth(GLIBC_2.0)[8]xdr_union(GLIBC_2.0)[8]
clnt_create(GLIBC_2.0)[9]svcerr_auth(GLIBC_2.0)[8]xdr_callhdr(GLIBC_2.0)[8]xdr_pointer(GLIBC_2.0)[8]xdr_vector(GLIBC_2.0)[8]
clnt_pcreateerror(GLIBC_2.0)[9]svcerr_decode(GLIBC_2.0)[8]xdr_callmsg(GLIBC_2.0)[8]xdr_reference(GLIBC_2.0)[8]xdr_void(GLIBC_2.0)[8]
clnt_perrno(GLIBC_2.0)[9]svcerr_noproc(GLIBC_2.0)[8]xdr_char(GLIBC_2.0)[8]xdr_rejected_reply(GLIBC_2.0)[8]xdr_wrapstring(GLIBC_2.0)[8]
clnt_perror(GLIBC_2.0)[9]svcerr_noprog(GLIBC_2.0)[8]xdr_double(GLIBC_2.0)[8]xdr_replymsg(GLIBC_2.0)[8]xdrmem_create(GLIBC_2.0)[8]
clnt_spcreateerror(GLIBC_2.0)[9]svcerr_progvers(GLIBC_2.0)[8]xdr_enum(GLIBC_2.0)[8]xdr_short(GLIBC_2.0)[8]xdrrec_create(GLIBC_2.0)[8]
clnt_sperrno(GLIBC_2.0)[9]svcerr_systemerr(GLIBC_2.0)[8]xdr_float(GLIBC_2.0)[8]xdr_string(GLIBC_2.0)[8]xdrrec_eof(GLIBC_2.0)[8]
clnt_sperror(GLIBC_2.0)[9]svcerr_weakauth(GLIBC_2.0)[8]xdr_free(GLIBC_2.0)[8]xdr_u_char(GLIBC_2.0)[8] 
getdomainname(GLIBC_2.0)[3]xdr_accepted_reply(GLIBC_2.0)[8]xdr_int(GLIBC_2.0)[8]xdr_u_int(GLIBC_2.0)[3] 
key_decryptsession(GLIBC_2.1)[8]xdr_array(GLIBC_2.1)[8]xdr_long(GLIBC_2.1)[8]xdr_u_long(GLIBC_2.1)[8] 
setdomainname(GLIBC_2.0)[3]xdr_bool(GLIBC_2.0)[8]xdr_opaque(GLIBC_2.0)[8]xdr_u_short(GLIBC_2.0)[8] 

System Calls

Table 16-3. libc - System Calls Function Interfaces

__fxstat(GLIBC_2.0)[3]fchown(GLIBC_2.0)[6]initgroups(GLIBC_2.0)[3]read(GLIBC_2.0)[6]setrlimit64(GLIBC_2.0)[2]
__getpgid(GLIBC_2.0)[3]fcntl(GLIBC_2.0)[3]ioctl(GLIBC_2.0)[3]readdir(GLIBC_2.0)[6]setsid(GLIBC_2.0)[6]
__lxstat(GLIBC_2.0)[3]fdatasync(GLIBC_2.0)[6]kill(GLIBC_2.0)[3]readdir_r(GLIBC_2.0)[6]setuid(GLIBC_2.0)[6]
__xmknod(GLIBC_2.0)[3]flock(GLIBC_2.0)[3]killpg(GLIBC_2.0)[6]readlink(GLIBC_2.0)[6]sleep(GLIBC_2.0)[6]
__xstat(GLIBC_2.0)[3]fork(GLIBC_2.0)[6]lchown(GLIBC_2.0)[6]readv(GLIBC_2.0)[6]statfs(GLIBC_2.0)[3]
access(GLIBC_2.0)[6]fstatfs(GLIBC_2.0)[3]link(GLIBC_2.0)[6]rename(GLIBC_2.0)[6]statvfs(GLIBC_2.0)[6]
acct(GLIBC_2.0)[3]fstatvfs(GLIBC_2.0)[6]lockf(GLIBC_2.0)[6]rmdir(GLIBC_2.0)[6]stime(GLIBC_2.0)[3]
alarm(GLIBC_2.0)[6]fsync(GLIBC_2.0)[6]lseek(GLIBC_2.0)[6]sbrk(GLIBC_2.0)[6]symlink(GLIBC_2.0)[6]
brk(GLIBC_2.0)[6]ftime(GLIBC_2.0)[6]mkdir(GLIBC_2.0)[6]sched_get_priority_max(GLIBC_2.0)[6]sync(GLIBC_2.0)[6]
chdir(GLIBC_2.0)[6]ftruncate(GLIBC_2.0)[6]mkfifo(GLIBC_2.0)[6]sched_get_priority_min(GLIBC_2.0)[6]sysconf(GLIBC_2.0)[6]
chmod(GLIBC_2.0)[6]getcontext(GLIBC_2.0)[6]mlock(GLIBC_2.0)[6]sched_getparam(GLIBC_2.0)[6]time(GLIBC_2.0)[6]
chown(GLIBC_2.1)[6]getegid(GLIBC_2.1)[6]mlockall(GLIBC_2.1)[6]sched_getscheduler(GLIBC_2.1)[6]times(GLIBC_2.1)[6]
chroot(GLIBC_2.0)[6]geteuid(GLIBC_2.0)[6]mmap(GLIBC_2.0)[6]sched_rr_get_interval(GLIBC_2.0)[6]truncate(GLIBC_2.0)[6]
clock(GLIBC_2.0)[6]getgid(GLIBC_2.0)[6]mprotect(GLIBC_2.0)[6]sched_setparam(GLIBC_2.0)[6]ulimit(GLIBC_2.0)[6]
close(GLIBC_2.0)[6]getgroups(GLIBC_2.0)[6]msync(GLIBC_2.0)[6]sched_setscheduler(GLIBC_2.0)[6]umask(GLIBC_2.0)[6]
closedir(GLIBC_2.0)[6]getitimer(GLIBC_2.0)[6]munlock(GLIBC_2.0)[6]sched_yield(GLIBC_2.0)[6]uname(GLIBC_2.0)[6]
creat(GLIBC_2.0)[6]getloadavg(GLIBC_2.0)[3]munlockall(GLIBC_2.0)[6]select(GLIBC_2.0)[5]unlink(GLIBC_2.0)[3]
dup(GLIBC_2.0)[6]getpagesize(GLIBC_2.0)[6]munmap(GLIBC_2.0)[6]setcontext(GLIBC_2.0)[6]utime(GLIBC_2.0)[6]
dup2(GLIBC_2.0)[6]getpgid(GLIBC_2.0)[6]nanosleep(GLIBC_2.0)[6]setegid(GLIBC_2.0)[3]utimes(GLIBC_2.0)[6]
execl(GLIBC_2.0)[6]getpgrp(GLIBC_2.0)[6]nice(GLIBC_2.0)[3]seteuid(GLIBC_2.0)[3]vfork(GLIBC_2.0)[6]
execle(GLIBC_2.0)[6]getpid(GLIBC_2.0)[6]open(GLIBC_2.0)[6]setgid(GLIBC_2.0)[6]wait(GLIBC_2.0)[6]
execlp(GLIBC_2.0)[6]getppid(GLIBC_2.0)[6]opendir(GLIBC_2.0)[6]setitimer(GLIBC_2.0)[6]wait3(GLIBC_2.0)[3]
execv(GLIBC_2.0)[6]getpriority(GLIBC_2.0)[6]pathconf(GLIBC_2.0)[6]setpgid(GLIBC_2.0)[6]wait4(GLIBC_2.0)[3]
execve(GLIBC_2.0)[6]getrlimit(GLIBC_2.0)[6]pause(GLIBC_2.0)[6]setpgrp(GLIBC_2.0)[6]waitid(GLIBC_2.0)[3]
execvp(GLIBC_2.0)[6]getrusage(GLIBC_2.0)[6]pipe(GLIBC_2.0)[6]setpriority(GLIBC_2.0)[6]waitpid(GLIBC_2.0)[3]
exit(GLIBC_2.0)[6]getsid(GLIBC_2.0)[6]poll(GLIBC_2.0)[6]setregid(GLIBC_2.0)[6]write(GLIBC_2.0)[6]
fchdir(GLIBC_2.0)[6]getuid(GLIBC_2.0)[6]pread(GLIBC_2.0)[6]setreuid(GLIBC_2.0)[6]writev(GLIBC_2.0)[6]
fchmod(GLIBC_2.0)[6]getwd(GLIBC_2.0)[6]pwrite(GLIBC_2.0)[6]setrlimit(GLIBC_2.0)[6] 

Table 16-4. libc - System Calls Deprecated Function Interfaces

fstatfs(GLIBC_2.0)[3]statfs(GLIBC_2.0)[3]waitid(GLIBC_2.0)[3]  

Standard I/O

Table 16-5. libc - Standard I/O Function Interfaces

_IO_feof(GLIBC_2.0)[3]fgetc(GLIBC_2.0)[6]fseeko(GLIBC_2.0)[6]putc(GLIBC_2.0)[6]snprintf(GLIBC_2.0)[6]
_IO_getc(GLIBC_2.0)[3]fgetpos(GLIBC_2.0)[6]fsetpos(GLIBC_2.0)[6]putc_unlocked(GLIBC_2.0)[6]sprintf(GLIBC_2.0)[6]
_IO_putc(GLIBC_2.0)[3]fgets(GLIBC_2.0)[6]ftell(GLIBC_2.0)[6]putchar(GLIBC_2.0)[6]sscanf(GLIBC_2.0)[6]
_IO_puts(GLIBC_2.0)[3]fgetwc_unlocked(GLIBC_2.0)[6]ftello(GLIBC_2.0)[6]putchar_unlocked(GLIBC_2.0)[6]telldir(GLIBC_2.0)[6]
alphasort(GLIBC_2.0)[3]fileno(GLIBC_2.0)[6]fwrite(GLIBC_2.0)[6]puts(GLIBC_2.0)[6]tempnam(GLIBC_2.0)[6]
asprintf(GLIBC_2.0)[3]flockfile(GLIBC_2.0)[6]getc(GLIBC_2.0)[6]putw(GLIBC_2.0)[6]ungetc(GLIBC_2.0)[6]
clearerr(GLIBC_2.0)[6]fopen(GLIBC_2.0)[6]getc_unlocked(GLIBC_2.0)[6]remove(GLIBC_2.0)[6]vasprintf(GLIBC_2.0)[3]
ctermid(GLIBC_2.0)[6]fprintf(GLIBC_2.0)[6]getchar(GLIBC_2.0)[6]rewind(GLIBC_2.0)[6]vdprintf(GLIBC_2.0)[3]
fclose(GLIBC_2.1)[6]fputc(GLIBC_2.1)[6]getchar_unlocked(GLIBC_2.1)[6]rewinddir(GLIBC_2.1)[6]vfprintf(GLIBC_2.1)[6]
fdopen(GLIBC_2.1)[6]fputs(GLIBC_2.1)[6]gets(GLIBC_2.1)[3]scanf(GLIBC_2.1)[6]vprintf(GLIBC_2.1)[6]
feof(GLIBC_2.0)[6]fread(GLIBC_2.0)[6]getw(GLIBC_2.0)[6]seekdir(GLIBC_2.0)[6]vsnprintf(GLIBC_2.0)[6]
ferror(GLIBC_2.0)[6]freopen(GLIBC_2.0)[6]pclose(GLIBC_2.0)[6]setbuf(GLIBC_2.0)[6]vsprintf(GLIBC_2.0)[6]
fflush(GLIBC_2.0)[6]fscanf(GLIBC_2.0)[6]popen(GLIBC_2.0)[6]setbuffer(GLIBC_2.0)[3] 
fflush_unlocked(GLIBC_2.0)[6]fseek(GLIBC_2.0)[6]printf(GLIBC_2.0)[6]setvbuf(GLIBC_2.0)[6] 

Table 16-6. libc - Standard I/O Deprecated Function Interfaces

alphasort(GLIBC_2.0)[3]    

Table 16-7. libc - Standard I/O Data Interfaces

stderr(GLIBC_2.0)[6]stdin(GLIBC_2.0)[6]stdout(GLIBC_2.0)[6]  

Signal Handling

Table 16-8. libc - Signal Handling Function Interfaces

__libc_current_sigrtmax(GLIBC_2.1)[3]sigaddset(GLIBC_2.1)[6]sighold(GLIBC_2.1)[6]sigpause(GLIBC_2.1)[6]sigsuspend(GLIBC_2.1)[6]
__libc_current_sigrtmin(GLIBC_2.1)[3]sigaltstack(GLIBC_2.1)[6]sigignore(GLIBC_2.1)[6]sigpending(GLIBC_2.1)[6]sigtimedwait(GLIBC_2.1)[6]
__sigsetjmp(GLIBC_2.0)[3]sigandset(GLIBC_2.0)[3]siginterrupt(GLIBC_2.0)[6]sigprocmask(GLIBC_2.0)[6]sigwait(GLIBC_2.0)[6]
__sysv_signal(GLIBC_2.0)[3]sigblock(GLIBC_2.0)[3]sigisemptyset(GLIBC_2.0)[3]sigqueue(GLIBC_2.0)[6]sigwaitinfo(GLIBC_2.0)[6]
bsd_signal(GLIBC_2.0)[6]sigdelset(GLIBC_2.0)[6]sigismember(GLIBC_2.0)[6]sigrelse(GLIBC_2.0)[6] 
psignal(GLIBC_2.0)[3]sigemptyset(GLIBC_2.0)[6]siglongjmp(GLIBC_2.0)[6]sigreturn(GLIBC_2.0)[3] 
raise(GLIBC_2.0)[6]sigfillset(GLIBC_2.0)[6]signal(GLIBC_2.0)[6]sigset(GLIBC_2.0)[6] 
sigaction(GLIBC_2.0)[6]siggetmask(GLIBC_2.0)[3]sigorset(GLIBC_2.0)[3]sigstack(GLIBC_2.0)[6] 

Table 16-9. libc - Signal Handling Data Interfaces

_sys_siglist(GLIBC_2.1)[3]    

Localization Functions

Table 16-10. libc - Localization Functions Function Interfaces

__dcgettext(GLIBC_2.0)[3]catgets(GLIBC_2.0)[6]dgettext(GLIBC_2.0)[3]iconv_close(GLIBC_2.0)[6]nl_langinfo(GLIBC_2.0)[6]
bind_textdomain_codeset(GLIBC_2.2)[3]catopen(GLIBC_2.2)[6]dngettext(GLIBC_2.2)[3]iconv_open(GLIBC_2.2)[6]setlocale(GLIBC_2.2)[6]
bindtextdomain(GLIBC_2.0)[3]dcgettext(GLIBC_2.0)[3]gettext(GLIBC_2.0)[3]localeconv(GLIBC_2.0)[6]textdomain(GLIBC_2.0)[3]
catclose(GLIBC_2.0)[6]dcngettext(GLIBC_2.0)[3]iconv(GLIBC_2.0)[6]ngettext(GLIBC_2.0)[3] 

Table 16-11. libc - Localization Functions Deprecated Function Interfaces

__dcgettext(GLIBC_2.0)[3]    

Table 16-12. libc - Localization Functions Data Interfaces

_nl_msg_cat_cntr(GLIBC_2.0)[3]    

Socket Interface

Table 16-13. libc - Socket Interface Function Interfaces

__h_errno_location(GLIBC_2.0)[3]gethostbyname_r(GLIBC_2.0)[3]getsockopt(GLIBC_2.0)[5]send(GLIBC_2.0)[5]socket(GLIBC_2.0)[5]
accept(GLIBC_2.0)[5]gethostid(GLIBC_2.0)[6]listen(GLIBC_2.0)[5]sendmsg(GLIBC_2.0)[5]socketpair(GLIBC_2.0)[5]
bind(GLIBC_2.0)[5]gethostname(GLIBC_2.0)[5]recv(GLIBC_2.0)[5]sendto(GLIBC_2.0)[5] 
bindresvport(GLIBC_2.0)[3]getpeername(GLIBC_2.0)[5]recvfrom(GLIBC_2.0)[5]setsockopt(GLIBC_2.0)[5] 
connect(GLIBC_2.0)[5]getsockname(GLIBC_2.0)[5]recvmsg(GLIBC_2.0)[5]shutdown(GLIBC_2.0)[5] 

Wide Characters

Table 16-14. libc - Wide Characters Function Interfaces

__wcstod_internal(GLIBC_2.0)[3]mbsinit(GLIBC_2.0)[6]vwscanf(GLIBC_2.0)[1]wcsnlen(GLIBC_2.0)[3]wcstoumax(GLIBC_2.0)[1]
__wcstof_internal(GLIBC_2.0)[3]mbsnrtowcs(GLIBC_2.0)[3]wcpcpy(GLIBC_2.0)[3]wcsnrtombs(GLIBC_2.0)[3]wcstouq(GLIBC_2.0)[3]
__wcstol_internal(GLIBC_2.0)[3]mbsrtowcs(GLIBC_2.0)[6]wcpncpy(GLIBC_2.0)[3]wcspbrk(GLIBC_2.0)[1]wcswcs(GLIBC_2.0)[6]
__wcstold_internal(GLIBC_2.0)[3]mbstowcs(GLIBC_2.0)[6]wcrtomb(GLIBC_2.0)[6]wcsrchr(GLIBC_2.0)[6]wcswidth(GLIBC_2.0)[6]
__wcstoul_internal(GLIBC_2.0)[3]mbtowc(GLIBC_2.0)[6]wcscasecmp(GLIBC_2.0)[3]wcsrtombs(GLIBC_2.0)[6]wcsxfrm(GLIBC_2.0)[6]
btowc(GLIBC_2.0)[6]putwc(GLIBC_2.0)[1]wcscat(GLIBC_2.0)[6]wcsspn(GLIBC_2.0)[6]wctob(GLIBC_2.0)[6]
fgetwc(GLIBC_2.2)[6]putwchar(GLIBC_2.2)[1]wcschr(GLIBC_2.2)[6]wcsstr(GLIBC_2.2)[6]wctomb(GLIBC_2.2)[6]
fgetws(GLIBC_2.2)[1]swprintf(GLIBC_2.2)[6]wcscmp(GLIBC_2.2)[6]wcstod(GLIBC_2.2)[6]wctrans(GLIBC_2.2)[6]
fputwc(GLIBC_2.2)[1]swscanf(GLIBC_2.2)[1]wcscoll(GLIBC_2.2)[6]wcstof(GLIBC_2.2)[1]wctype(GLIBC_2.2)[6]
fputws(GLIBC_2.2)[1]towctrans(GLIBC_2.2)[6]wcscpy(GLIBC_2.2)[6]wcstoimax(GLIBC_2.2)[1]wcwidth(GLIBC_2.2)[6]
fwide(GLIBC_2.2)[1]towlower(GLIBC_2.2)[1]wcscspn(GLIBC_2.2)[6]wcstok(GLIBC_2.2)[6]wmemchr(GLIBC_2.2)[6]
fwprintf(GLIBC_2.2)[6]towupper(GLIBC_2.2)[6]wcsdup(GLIBC_2.2)[3]wcstol(GLIBC_2.2)[6]wmemcmp(GLIBC_2.2)[6]
fwscanf(GLIBC_2.2)[1]ungetwc(GLIBC_2.2)[1]wcsftime(GLIBC_2.2)[1]wcstold(GLIBC_2.2)[1]wmemcpy(GLIBC_2.2)[6]
getwc(GLIBC_2.2)[1]vfwprintf(GLIBC_2.2)[1]wcslen(GLIBC_2.2)[6]wcstoll(GLIBC_2.2)[1]wmemmove(GLIBC_2.2)[6]
getwchar(GLIBC_2.2)[6]vfwscanf(GLIBC_2.2)[1]wcsncasecmp(GLIBC_2.2)[3]wcstombs(GLIBC_2.2)[6]wmemset(GLIBC_2.2)[6]
mblen(GLIBC_2.0)[6]vswprintf(GLIBC_2.0)[1]wcsncat(GLIBC_2.0)[6]wcstoq(GLIBC_2.0)[3]wprintf(GLIBC_2.0)[1]
mbrlen(GLIBC_2.0)[6]vswscanf(GLIBC_2.0)[1]wcsncmp(GLIBC_2.0)[6]wcstoul(GLIBC_2.0)[6]wscanf(GLIBC_2.0)[1]
mbrtowc(GLIBC_2.0)[6]vwprintf(GLIBC_2.0)[1]wcsncpy(GLIBC_2.0)[6]wcstoull(GLIBC_2.0)[1] 

String Functions

Table 16-15. libc - String Functions Function Interfaces

__mempcpy(GLIBC_2.0)[3]bzero(GLIBC_2.0)[6]strcasestr(GLIBC_2.0)[3]strncasecmp(GLIBC_2.0)[6]strtoimax(GLIBC_2.0)[1]
__rawmemchr(GLIBC_2.1)[3]ffs(GLIBC_2.1)[6]strcat(GLIBC_2.1)[6]strncat(GLIBC_2.1)[6]strtok(GLIBC_2.1)[6]
__stpcpy(GLIBC_2.0)[3]index(GLIBC_2.0)[6]strchr(GLIBC_2.0)[6]strncmp(GLIBC_2.0)[6]strtok_r(GLIBC_2.0)[3]
__strdup(GLIBC_2.0)[3]memccpy(GLIBC_2.0)[6]strcmp(GLIBC_2.0)[6]strncpy(GLIBC_2.0)[6]strtold(GLIBC_2.0)[1]
__strtod_internal(GLIBC_2.0)[3]memchr(GLIBC_2.0)[6]strcoll(GLIBC_2.0)[6]strndup(GLIBC_2.0)[3]strtoll(GLIBC_2.0)[1]
__strtof_internal(GLIBC_2.0)[3]memcmp(GLIBC_2.0)[6]strcpy(GLIBC_2.0)[6]strnlen(GLIBC_2.0)[3]strtoq(GLIBC_2.0)[3]
__strtok_r(GLIBC_2.0)[3]memcpy(GLIBC_2.0)[6]strcspn(GLIBC_2.0)[6]strpbrk(GLIBC_2.0)[6]strtoull(GLIBC_2.0)[1]
__strtol_internal(GLIBC_2.0)[3]memmove(GLIBC_2.0)[6]strdup(GLIBC_2.0)[6]strptime(GLIBC_2.0)[3]strtoumax(GLIBC_2.0)[1]
__strtold_internal(GLIBC_2.0)[3]memrchr(GLIBC_2.0)[3]strerror(GLIBC_2.0)[6]strrchr(GLIBC_2.0)[6]strtouq(GLIBC_2.0)[3]
__strtoll_internal(GLIBC_2.0)[3]memset(GLIBC_2.0)[6]strerror_r(GLIBC_2.0)[3]strsep(GLIBC_2.0)[3]strverscmp(GLIBC_2.0)[3]
__strtoul_internal(GLIBC_2.0)[3]rindex(GLIBC_2.0)[6]strfmon(GLIBC_2.0)[6]strsignal(GLIBC_2.0)[3]strxfrm(GLIBC_2.0)[6]
__strtoull_internal(GLIBC_2.0)[3]stpcpy(GLIBC_2.0)[3]strfry(GLIBC_2.0)[3]strspn(GLIBC_2.0)[6]swab(GLIBC_2.0)[6]
bcmp(GLIBC_2.0)[6]stpncpy(GLIBC_2.0)[3]strftime(GLIBC_2.0)[6]strstr(GLIBC_2.0)[6] 
bcopy(GLIBC_2.0)[6]strcasecmp(GLIBC_2.0)[6]strlen(GLIBC_2.0)[6]strtof(GLIBC_2.0)[1] 

IPC Functions

Table 16-16. libc - IPC Functions Function Interfaces

ftok(GLIBC_2.0)[6]msgrcv(GLIBC_2.0)[6]semget(GLIBC_2.0)[6]shmctl(GLIBC_2.0)[6] 
msgctl(GLIBC_2.0)[6]msgsnd(GLIBC_2.0)[6]semop(GLIBC_2.0)[6]shmdt(GLIBC_2.0)[6] 
msgget(GLIBC_2.0)[6]semctl(GLIBC_2.0)[6]shmat(GLIBC_2.0)[6]shmget(GLIBC_2.0)[6] 

Regular Expressions

Table 16-17. libc - Regular Expressions Function Interfaces

advance(GLIBC_2.0)[6]re_exec(GLIBC_2.0)[6]regerror(GLIBC_2.0)[6]regfree(GLIBC_2.0)[6] 
re_comp(GLIBC_2.0)[6]regcomp(GLIBC_2.0)[6]regexec(GLIBC_2.0)[6]step(GLIBC_2.0)[6] 

Table 16-18. libc - Regular Expressions Data Interfaces

loc1(GLIBC_2.0)[6]loc2(GLIBC_2.0)[6]locs(GLIBC_2.0)[6]  

Character Type Functions

Table 16-19. libc - Character Type Functions Function Interfaces

__ctype_get_mb_cur_max(GLIBC_2.0)[3]isdigit(GLIBC_2.0)[6]iswalnum(GLIBC_2.0)[6]iswlower(GLIBC_2.0)[6]toascii(GLIBC_2.0)[6]
_tolower(GLIBC_2.0)[6]isgraph(GLIBC_2.0)[6]iswalpha(GLIBC_2.0)[6]iswprint(GLIBC_2.0)[6]tolower(GLIBC_2.0)[6]
_toupper(GLIBC_2.0)[6]islower(GLIBC_2.0)[6]iswblank(GLIBC_2.0)[7]iswpunct(GLIBC_2.0)[6]toupper(GLIBC_2.0)[6]
isalnum(GLIBC_2.0)[6]isprint(GLIBC_2.0)[6]iswcntrl(GLIBC_2.0)[6]iswspace(GLIBC_2.0)[6] 
isalpha(GLIBC_2.0)[6]ispunct(GLIBC_2.0)[6]iswctype(GLIBC_2.0)[3]iswupper(GLIBC_2.0)[6] 
isascii(GLIBC_2.0)[6]isspace(GLIBC_2.0)[6]iswdigit(GLIBC_2.0)[6]iswxdigit(GLIBC_2.0)[6] 
iscntrl(GLIBC_2.0)[6]isupper(GLIBC_2.0)[6]iswgraph(GLIBC_2.0)[6]isxdigit(GLIBC_2.0)[6] 

Table 16-20. libc - Character Type Functions Data Interfaces

__ctype_b(GLIBC_2.0)[3]__ctype_tolower(GLIBC_2.0)[3]__ctype_toupper(GLIBC_2.0)[3]  

Time Manipulation

Table 16-21. libc - Time Manipulation Function Interfaces

adjtime(GLIBC_2.0)[3]asctime_r(GLIBC_2.0)[6]difftime(GLIBC_2.0)[6]localtime(GLIBC_2.0)[6]tzset(GLIBC_2.0)[6]
adjtimex(GLIBC_2.0)[3]ctime(GLIBC_2.0)[6]gmtime(GLIBC_2.0)[6]localtime_r(GLIBC_2.0)[6]ualarm(GLIBC_2.0)[6]
asctime(GLIBC_2.0)[6]ctime_r(GLIBC_2.0)[6]gmtime_r(GLIBC_2.0)[6]mktime(GLIBC_2.0)[6] 

Table 16-22. libc - Time Manipulation Data Interfaces

__daylight(GLIBC_2.0)[3]__tzname(GLIBC_2.0)[3]timezone(GLIBC_2.0)[6]  
__timezone(GLIBC_2.0)[3]daylight(GLIBC_2.0)[6]tzname(GLIBC_2.0)[6]  

Terminal Interface Functions

Table 16-23. libc - Terminal Interface Functions Function Interfaces

cfgetispeed(GLIBC_2.0)[6]cfsetispeed(GLIBC_2.0)[6]tcdrain(GLIBC_2.0)[6]tcgetattr(GLIBC_2.0)[6]tcsendbreak(GLIBC_2.0)[6]
cfgetospeed(GLIBC_2.0)[6]cfsetospeed(GLIBC_2.0)[6]tcflow(GLIBC_2.0)[6]tcgetpgrp(GLIBC_2.0)[6]tcsetattr(GLIBC_2.0)[6]
cfmakeraw(GLIBC_2.0)[3]cfsetspeed(GLIBC_2.0)[3]tcflush(GLIBC_2.0)[6]tcgetsid(GLIBC_2.0)[6]tcsetpgrp(GLIBC_2.0)[6]

System Database Interface

Table 16-24. libc - System Database Interface Function Interfaces

endgrent(GLIBC_2.0)[6]getgrgid(GLIBC_2.0)[6]getprotoent(GLIBC_2.0)[6]getutent(GLIBC_2.0)[3]setmntent(GLIBC_2.0)[3]
endhostent(GLIBC_2.0)[5]getgrgid_r(GLIBC_2.0)[6]getpwent(GLIBC_2.0)[6]getutent_r(GLIBC_2.0)[3]setnetent(GLIBC_2.0)[5]
endnetent(GLIBC_2.0)[5]getgrnam(GLIBC_2.0)[6]getpwnam(GLIBC_2.0)[6]getutxent(GLIBC_2.0)[6]setprotoent(GLIBC_2.0)[5]
endprotoent(GLIBC_2.0)[5]getgrnam_r(GLIBC_2.0)[6]getpwnam_r(GLIBC_2.0)[3]getutxid(GLIBC_2.0)[6]setpwent(GLIBC_2.0)[6]
endpwent(GLIBC_2.0)[6]gethostbyaddr(GLIBC_2.0)[5]getpwuid(GLIBC_2.0)[6]getutxline(GLIBC_2.0)[6]setservent(GLIBC_2.0)[5]
endservent(GLIBC_2.0)[5]gethostbyname(GLIBC_2.0)[3]getpwuid_r(GLIBC_2.0)[6]pututxline(GLIBC_2.0)[6]setutent(GLIBC_2.0)[3]
endutent(GLIBC_2.0)[6]getnetbyaddr(GLIBC_2.0)[5]getservbyname(GLIBC_2.0)[3]setgrent(GLIBC_2.0)[6]setutxent(GLIBC_2.0)[6]
endutxent(GLIBC_2.1)[6]getprotobyname(GLIBC_2.1)[6]getservbyport(GLIBC_2.1)[5]setgroups(GLIBC_2.1)[3] 
getgrent(GLIBC_2.0)[6]getprotobynumber(GLIBC_2.0)[5]getservent(GLIBC_2.0)[3]sethostent(GLIBC_2.0)[5] 

Table 16-25. libc - System Database Interface Deprecated Function Interfaces

endhostent(GLIBC_2.0)[5]sethostent(GLIBC_2.0)[5]setmntent(GLIBC_2.0)[3]  

Language Support

Table 16-26. libc - Language Support Function Interfaces

__divdi3(GLIBC_2.0)[3]__moddi3(GLIBC_2.0)[3]__umoddi3(GLIBC_2.0)[3]_obstack_newchunk(GLIBC_2.0)[3] 
__libc_start_main(GLIBC_2.0)[3]__udivdi3(GLIBC_2.0)[3]_obstack_begin(GLIBC_2.0)[3]obstack_free(GLIBC_2.0)[3] 

Large File Support

Table 16-27. libc - Large File Support Function Interfaces

__fxstat64(GLIBC_2.2)[3]fopen64(GLIBC_2.2)[2]ftello64(GLIBC_2.2)[2]mkstemp64(GLIBC_2.2)[2]readdir64(GLIBC_2.2)[2]
__lxstat64(GLIBC_2.2)[3]freopen64(GLIBC_2.2)[2]ftruncate64(GLIBC_2.2)[2]mmap64(GLIBC_2.2)[2]statfs64(GLIBC_2.2)[3]
__xstat64(GLIBC_2.2)[3]fseeko64(GLIBC_2.2)[2]ftw64(GLIBC_2.2)[2]nftw64(GLIBC_2.2)[2]statvfs64(GLIBC_2.2)[2]
alphasort64(GLIBC_2.1)[3]fsetpos64(GLIBC_2.1)[2]getrlimit64(GLIBC_2.1)[2]open64(GLIBC_2.1)[2]tmpfile64(GLIBC_2.1)[2]
creat64(GLIBC_2.1)[2]fstatfs64(GLIBC_2.1)[3]lockf64(GLIBC_2.1)[2]pread64(GLIBC_2.1)[2]truncate64(GLIBC_2.1)[2]
fgetpos64(GLIBC_2.1)[2]fstatvfs64(GLIBC_2.1)[2]lseek64(GLIBC_2.1)[2]pwrite64(GLIBC_2.1)[2] 

Table 16-28. libc - Large File Support Deprecated Function Interfaces

alphasort64(GLIBC_2.1)[3]fstatfs64(GLIBC_2.1)[3]statfs64(GLIBC_2.1)[3]  

Standard Library

Table 16-29. libc - Standard Library Function Interfaces

_Exit(GLIBC_2.1.1)[1]div(GLIBC_2.1.1)[6]globfree64(GLIBC_2.1.1)[3]llabs(GLIBC_2.1.1)[1]setlogmask(GLIBC_2.1.1)[6]
__assert_fail(GLIBC_2.0)[3]drand48(GLIBC_2.0)[6]grantpt(GLIBC_2.0)[6]lldiv(GLIBC_2.0)[1]setstate(GLIBC_2.0)[6]
__cxa_atexit(GLIBC_2.1.3)[3]ecvt(GLIBC_2.1.3)[6]hcreate(GLIBC_2.1.3)[6]longjmp(GLIBC_2.1.3)[6]srand(GLIBC_2.1.3)[6]
__errno_location(GLIBC_2.0)[3]erand48(GLIBC_2.0)[6]hdestroy(GLIBC_2.0)[6]lrand48(GLIBC_2.0)[6]srand48(GLIBC_2.0)[6]
__fpending(GLIBC_2.2)[3]err(GLIBC_2.2)[3]hsearch(GLIBC_2.2)[6]lsearch(GLIBC_2.2)[6]srandom(GLIBC_2.2)[6]
__getpagesize(GLIBC_2.0)[3]error(GLIBC_2.0)[3]htonl(GLIBC_2.0)[5]makecontext(GLIBC_2.0)[6]strtod(GLIBC_2.0)[6]
__isinf(GLIBC_2.0)[3]errx(GLIBC_2.0)[3]htons(GLIBC_2.0)[5]malloc(GLIBC_2.0)[6]strtol(GLIBC_2.0)[6]
__isinff(GLIBC_2.0)[3]fcvt(GLIBC_2.0)[6]imaxabs(GLIBC_2.0)[1]memmem(GLIBC_2.0)[3]strtoul(GLIBC_2.0)[6]
__isinfl(GLIBC_2.0)[3]fmtmsg(GLIBC_2.0)[6]imaxdiv(GLIBC_2.0)[1]mkstemp(GLIBC_2.0)[6]swapcontext(GLIBC_2.0)[6]
__isnan(GLIBC_2.0)[3]fnmatch(GLIBC_2.0)[6]inet_addr(GLIBC_2.0)[5]mktemp(GLIBC_2.0)[6]syslog(GLIBC_2.0)[6]
__isnanf(GLIBC_2.0)[3]fpathconf(GLIBC_2.0)[6]inet_aton(GLIBC_2.0)[5]mrand48(GLIBC_2.0)[6]system(GLIBC_2.0)[3]
__isnanl(GLIBC_2.0)[3]free(GLIBC_2.0)[6]inet_ntoa(GLIBC_2.0)[5]nftw(GLIBC_2.0)[6]tfind(GLIBC_2.0)[6]
__sysconf(GLIBC_2.2)[3]freeaddrinfo(GLIBC_2.2)[7]inet_ntop(GLIBC_2.2)[7]nrand48(GLIBC_2.2)[6]tmpfile(GLIBC_2.2)[6]
_exit(GLIBC_2.0)[6]ftrylockfile(GLIBC_2.0)[6]inet_pton(GLIBC_2.0)[7]ntohl(GLIBC_2.0)[5]tmpnam(GLIBC_2.0)[6]
_longjmp(GLIBC_2.0)[6]ftw(GLIBC_2.0)[6]initstate(GLIBC_2.0)[6]ntohs(GLIBC_2.0)[5]tsearch(GLIBC_2.0)[6]
_setjmp(GLIBC_2.0)[6]funlockfile(GLIBC_2.0)[6]insque(GLIBC_2.0)[6]openlog(GLIBC_2.0)[6]ttyname(GLIBC_2.0)[6]
a64l(GLIBC_2.0)[6]gai_strerror(GLIBC_2.0)[7]ioperm(GLIBC_2.0)[3]perror(GLIBC_2.0)[6]ttyname_r(GLIBC_2.0)[6]
abort(GLIBC_2.0)[6]gcvt(GLIBC_2.0)[6]iopl(GLIBC_2.0)[3]posix_memalign(GLIBC_2.0)[4]twalk(GLIBC_2.0)[6]
abs(GLIBC_2.0)[6]getaddrinfo(GLIBC_2.0)[7]isatty(GLIBC_2.0)[6]ptsname(GLIBC_2.0)[6]unlockpt(GLIBC_2.0)[6]
atexit(GLIBC_2.0)[6]getcwd(GLIBC_2.0)[6]isblank(GLIBC_2.0)[7]putenv(GLIBC_2.0)[6]unsetenv(GLIBC_2.0)[3]
atof(GLIBC_2.0)[6]getdate(GLIBC_2.0)[6]isinf(GLIBC_2.0)[1]qsort(GLIBC_2.0)[6]usleep(GLIBC_2.0)[6]
atoi(GLIBC_2.0)[6]getenv(GLIBC_2.0)[6]isinff(GLIBC_2.0)rand(GLIBC_2.0)[6]verrx(GLIBC_2.0)[3]
atol(GLIBC_2.0)[6]getlogin(GLIBC_2.0)[6]isinfl(GLIBC_2.0)[1]rand_r(GLIBC_2.0)[6]vfscanf(GLIBC_2.0)[1]
atoll(GLIBC_2.0)[1]getnameinfo(GLIBC_2.0)[7]isnan(GLIBC_2.0)[1]random(GLIBC_2.0)[6]vscanf(GLIBC_2.0)[1]
basename(GLIBC_2.0)[6]getopt(GLIBC_2.0)[3]isnanf(GLIBC_2.0)[1]random_r(GLIBC_2.0)[3]vsscanf(GLIBC_2.0)[1]
bsearch(GLIBC_2.0)[6]getopt_long(GLIBC_2.0)[3]isnanl(GLIBC_2.0)[1]realloc(GLIBC_2.0)[6]vsyslog(GLIBC_2.0)[3]
calloc(GLIBC_2.0)[6]getopt_long_only(GLIBC_2.0)[3]jrand48(GLIBC_2.0)[6]realpath(GLIBC_2.0)[6]warn(GLIBC_2.0)[3]
closelog(GLIBC_2.0)[6]getsubopt(GLIBC_2.0)[6]l64a(GLIBC_2.0)[6]remque(GLIBC_2.0)[6]warnx(GLIBC_2.0)[3]
confstr(GLIBC_2.0)[6]gettimeofday(GLIBC_2.0)[6]labs(GLIBC_2.0)[6]seed48(GLIBC_2.0)[6]wordexp(GLIBC_2.0)[6]
cuserid(GLIBC_2.0)[6]glob(GLIBC_2.0)[6]lcong48(GLIBC_2.0)[6]setenv(GLIBC_2.0)[3]wordfree(GLIBC_2.0)[6]
daemon(GLIBC_2.0)[3]glob64(GLIBC_2.0)[3]ldiv(GLIBC_2.0)[6]sethostid(GLIBC_2.0)[3] 
dirname(GLIBC_2.0)[6]globfree(GLIBC_2.0)[6]lfind(GLIBC_2.0)[6]sethostname(GLIBC_2.0)[3] 

Table 16-30. libc - Standard Library Data Interfaces

__environ(GLIBC_2.0)[3]_sys_errlist(GLIBC_2.0)[3]getdate_err(GLIBC_2.0)[6]opterr(GLIBC_2.0)[3]optopt(GLIBC_2.0)[3]
_environ(GLIBC_2.0)[3]environ(GLIBC_2.0)[6]optarg(GLIBC_2.0)[6]optind(GLIBC_2.0)[3] 

Notes

[1]

ISO/IEC 9899: 1999, Programming Languages --C

[2]

Large File Support

[3]

Linux Standard Base

[4]

IEEE Std POSIX.1-1996 [ISO/IEC 9945-1:1996]

[5]

CAE Specification, February 1997, Networking Services (XNS), Issue 5(ISBN: 1-85912-165-9, C523)

[6]

CAE Specification, January 1997, System Interfaces and Headers (XSH),Issue 5 (ISBN: 1-85912-181-0, C606)

[7]

The Single UNIX® Specification(SUS) Version 3

[8]

System V Interface Definition, Issue 3 (ISBN 0201566524)

[9]

System V Interface Definition,Fourth Edition