Chapter 10. Libraries

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

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

Interfaces for libc

The behaviour of the interfaces in this library is specified by the following Standards.

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]

System Calls

Table 10-1. libc - System Calls Function Interfaces

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

Data Symbols

Table 10-2. libc - System Calls Data Interfaces

errno[7]    

Standard I/O

Table 10-3. libc - Standard I/O Function Interfaces

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

Data Symbols

Table 10-4. libc - Standard I/O Data Interfaces

_IO_2_1_stderr_[4]_IO_2_1_stdout_[4]stdin[7]  
_IO_2_1_stdin_[4]stderr[7]stdout[7]  

Signal Handling

Table 10-5. libc - Signal Handling Function Interfaces

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

Data Symbols

Table 10-6. libc - Signal Handling Data Interfaces

_sys_siglist[4]    

Standard Library

Table 10-7. libc - Standard Library Function Interfaces

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

Data Symbols

Table 10-8. libc - Standard Library Data Interfaces

__environ[4]_sys_errlist[4]getdate_err[7]opterr[4]optopt[4]
_environ[4]environ[7]optarg[7]optind[4] 

Localization Functions

Table 10-9. libc - Localization Functions Function Interfaces

__dcgettext(GLIBC_2.0)[4]catgets(GLIBC_2.0)[7]dcgettext(GLIBC_2.0)[4]iconv(GLIBC_2.0)[7]nl_langinfo(GLIBC_2.0)[7]
catclose(GLIBC_2.0)[7]catopen(GLIBC_2.0)[7]gettext(GLIBC_2.0)[4]localeconv(GLIBC_2.0)[7]setlocale(GLIBC_2.0)[7]

Data Symbols

Table 10-10. libc - Localization Functions Data Interfaces

_nl_msg_cat_cntr[4]    

Socket Interface

Table 10-11. libc - Socket Interface Function Interfaces

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

Data Symbols

Table 10-12. libc - Socket Interface Data Interfaces

h_errno[6]    

Wide Characters

Table 10-13. libc - Wide Characters Function Interfaces

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

String Functions

Table 10-14. libc - String Functions Function Interfaces

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

IPC Functions

Table 10-15. libc - IPC Functions Function Interfaces

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

Regular Expressions

Table 10-16. libc - Regular Expressions Function Interfaces

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

Data Symbols

Table 10-17. libc - Regular Expressions Data Interfaces

loc1[7]loc2[7]locs[7]  

Character Type Functions

Table 10-18. libc - Character Type Functions Function Interfaces

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

Data Symbols

Table 10-19. libc - Character Type Functions Data Interfaces

__ctype_b[4]__ctype_tolower[4]__ctype_toupper[4]  

Time Manipulation

Table 10-20. libc - Time Manipulation Function Interfaces

adjtime(GLIBC_2.0)[4]ctime(GLIBC_2.0)[7]gmtime(GLIBC_2.0)[7]tzname(GLIBC_2.0)[7] 
adjtimex(GLIBC_2.0)[4]daylight(GLIBC_2.0)[7]localtime(GLIBC_2.0)[7]tzset(GLIBC_2.0)[7] 
asctime(GLIBC_2.0)[7]difftime(GLIBC_2.0)[7]mktime(GLIBC_2.0)[7]ualarm(GLIBC_2.0)[7] 

Data Symbols

Table 10-21. libc - Time Manipulation Data Interfaces

timezone[7]    

Terminal Interface Functions

Table 10-22. libc - Terminal Interface Functions Function Interfaces

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

System Database Interface

Table 10-23. libc - System Database Interface Function Interfaces

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

Language Support

Table 10-24. libc - Language Support Function Interfaces

_obstack_begin(GLIBC_2.0)[4]_obstack_newchunk(GLIBC_2.0)[4]obstack_free(GLIBC_2.0)[4]  

Large File Support

Table 10-25. libc - Large File Support Function Interfaces

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

Notes

[1]

Symbol versions are unique for each architecture. In release 1.0 of this specification, the versions for only the IA32 architecture are specified. Versions will be correctly specified on a per achitecture basis in future releases of the specification.

[2]

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

[3]

Large File Support

[4]

Linux Standard Base

[5]

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

[6]

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

[7]

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