An LSB-conforming implementation shall support some base libraries which provide interfaces for accessing the operating system, processor and other hardware in the system.
Table 11-1. libc Definition
Library: | libc |
SONAME: | See archLSB. |
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] |
LI18NUX 2000 Globalization Specification, Version 1.0 with Amendment 4[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 V Interface Definition, Issue 3 (ISBN 0201566524)[8] |
System V Interface Definition,Fourth Edition[9] |
Table 11-2. libc - RPC Function Interfaces
authnone_create[9] | setdomainname[4] | xdr_array[8] | xdr_int[8] | xdr_u_char[8] |
clnt_create[9] | svc_getreqset[8] | xdr_bool[8] | xdr_long[8] | xdr_u_long[8] |
clnt_pcreateerror[9] | svcerr_auth[8] | xdr_bytes[8] | xdr_opaque[8] | xdr_u_short[8] |
clnt_perrno[9] | svcerr_decode[8] | xdr_callhdr[8] | xdr_opaque_auth[8] | xdr_union[8] |
clnt_perror[9] | svcerr_noproc[8] | xdr_callmsg[8] | xdr_pointer[8] | xdr_vector[8] |
clnt_spcreateerror[9] | svcerr_noprog[8] | xdr_char[8] | xdr_reference[8] | xdr_void[8] |
clnt_sperrno[9] | svcerr_progvers[8] | xdr_double[8] | xdr_rejected_reply[8] | xdr_wrapstring[8] |
clnt_sperror[9] | svcerr_systemerr[8] | xdr_enum[8] | xdr_replymsg[8] | xdrmem_create[8] |
getdomainname[4] | svcerr_weakauth[8] | xdr_float[8] | xdr_short[8] | xdrrec_create[8] |
key_decryptsession[8] | xdr_accepted_reply[8] | xdr_free[8] | xdr_string[8] | xdrrec_eof[8] |
Table 11-3. libc - System Calls Function Interfaces
__fxstat[4] | fchown[7] | ioctl[7] | readdir[7] | setsid[7] |
__getpgid[4] | fcntl[7] | kill[4] | readdir_r[7] | setuid[7] |
__lxstat[4] | fdatasync[7] | killpg[7] | readlink[7] | sleep[7] |
__xmknod[4] | flock[4] | lchown[7] | readv[7] | statfs[4] |
__xstat[4] | fork[7] | link[7] | rename[7] | statvfs[7] |
access[7] | fstatfs[4] | lockf[7] | rmdir[7] | stime[4] |
acct[4] | fsync[7] | lseek[7] | sbrk[7] | symlink[7] |
alarm[7] | ftime[7] | mkdir[7] | sched_get_priority_max[7] | sync[7] |
brk[7] | ftruncate[7] | mkfifo[7] | sched_get_priority_min[7] | sysconf[7] |
chdir[7] | getcontext[7] | mlock[7] | sched_getparam[7] | time[7] |
chmod[7] | getegid[7] | mlockall[7] | sched_getscheduler[7] | times[7] |
chown[7] | geteuid[7] | mmap[7] | sched_rr_get_interval[7] | truncate[7] |
chroot[7] | getgid[7] | mprotect[7] | sched_setparam[7] | ulimit[7] |
clock[7] | getgroups[7] | msync[7] | sched_setscheduler[7] | umask[7] |
close[7] | getitimer[7] | munlock[7] | sched_yield[7] | uname[7] |
closedir[7] | getloadavg[4] | munlockall[7] | select[6] | unlink[4] |
creat[7] | getpagesize[7] | munmap[7] | setcontext[7] | utime[7] |
dup[7] | getpgid[7] | nanosleep[7] | setegid[4] | utimes[7] |
dup2[7] | getpgrp[7] | nice[7] | seteuid[4] | vfork[7] |
execl[7] | getpid[7] | open[7] | setgid[7] | wait[7] |
execle[7] | getppid[7] | opendir[7] | setitimer[7] | wait3[7] |
execlp[7] | getpriority[7] | pathconf[7] | setpgid[7] | wait4[4] |
execv[7] | getrlimit[7] | pause[7] | setpgrp[7] | waitid[7] |
execve[7] | getrusage[7] | pipe[7] | setpriority[7] | waitpid[7] |
execvp[7] | getsid[7] | poll[7] | setregid[7] | write[7] |
exit[7] | getuid[7] | pread[7] | setreuid[7] | writev[7] |
fchdir[7] | getwd[7] | pwrite[7] | setrlimit[7] | |
fchmod[7] | initgroups[4] | read[7] | setrlimit64[2] |
Table 11-4. libc - Standard I/O Function Interfaces
_IO_feof[4] | fgetpos[7] | fsetpos[7] | putc[7] | snprintf[7] |
_IO_getc[4] | fgets[7] | fstatvfs[7] | putc_unlocked[7] | sprintf[7] |
_IO_putc[4] | fgetwc_unlocked[7] | ftell[7] | putchar[7] | sscanf[7] |
_IO_puts[4] | fileno[7] | ftello[7] | putchar_unlocked[7] | telldir[7] |
alphasort[4] | flockfile[7] | fwrite[7] | puts[7] | tempnam[7] |
clearerr[7] | fopen[7] | getc[7] | putw[7] | ungetc[7] |
ctermid[7] | fprintf[7] | getc_unlocked[7] | remove[7] | vasprintf[4] |
fclose[7] | fputc[7] | getchar[7] | rewind[7] | vdprintf[4] |
fdopen[7] | fputs[7] | getchar_unlocked[7] | rewinddir[7] | vfprintf[7] |
feof[7] | fread[7] | gets[7] | scanf[7] | vprintf[7] |
ferror[7] | freopen[7] | getw[7] | seekdir[7] | vsnprintf[7] |
fflush[7] | fscanf[7] | pclose[7] | setbuf[7] | vsprintf[7] |
fflush_unlocked[7] | fseek[7] | popen[7] | setbuffer[4] | wprintf[1] |
fgetc[7] | fseeko[7] | printf[7] | setvbuf[7] | wscanf[1] |
Table 11-5. libc - Standard I/O Data Interfaces
stderr[7] | stdin[7] | stdout[7] |
Table 11-6. libc - Signal Handling Function Interfaces
__libc_current_sigrtmax[4] | sigaddset[7] | sighold[7] | sigpause[7] | sigsuspend[7] |
__libc_current_sigrtmin[4] | sigaltstack[7] | sigignore[7] | sigpending[7] | sigtimedwait[7] |
__sigsetjmp[4] | sigandset[4] | siginterrupt[7] | sigprocmask[7] | sigwait[7] |
__sysv_signal[4] | sigblock[4] | sigisemptyset[4] | sigqueue[7] | sigwaitinfo[7] |
bsd_signal[7] | sigdelset[7] | sigismember[7] | sigrelse[7] | |
psignal[4] | sigemptyset[7] | siglongjmp[7] | sigreturn[4] | |
raise[7] | sigfillset[7] | signal[7] | sigset[7] | |
sigaction[7] | siggetmask[4] | sigorset[4] | sigstack[7] |
Table 11-8. libc - Standard Library Function Interfaces
_Exit[1] | erand48[7] | hsearch[7] | malloc[7] | srand48[7] |
__assert_fail[4] | err[4] | htonl[6] | memmem[4] | srandom[7] |
__cxa_atexit[4] | error[4] | htons[6] | mkstemp[7] | strtod[7] |
__errno_location[4] | errx[4] | imaxabs[1] | mktemp[7] | strtol[7] |
__fpending[4] | fcvt[7] | imaxdiv[1] | mrand48[7] | strtoul[7] |
__getpagesize[4] | fmtmsg[7] | inet_addr[6] | nftw[7] | swapcontext[7] |
__sysconf[4] | fnmatch[7] | inet_aton[6] | nrand48[7] | syslog[7] |
_exit[7] | fpathconf[7] | inet_ntoa[6] | ntohl[6] | system[4] |
_longjmp[7] | free[7] | initstate[7] | ntohs[6] | textdomain[3] |
_setjmp[7] | ftrylockfile[7] | insque[7] | openlog[7] | tfind[7] |
a64l[7] | ftw[7] | isatty[7] | perror[7] | tmpfile[7] |
abort[7] | funlockfile[7] | isblank[4] | posix_memalign[5] | tmpnam[7] |
abs[7] | gcvt[7] | isinf[1] | ptsname[7] | tsearch[7] |
atexit[7] | getcwd[7] | isinfl[1] | putenv[7] | ttyname[7] |
atof[7] | getdate[7] | isnan[1] | qsort[7] | ttyname_r[7] |
atoi[7] | getenv[7] | isnanf[1] | rand[7] | twalk[7] |
atol[7] | getlogin[7] | isnanl[1] | rand_r[7] | unlockpt[7] |
basename[7] | getopt[4] | jrand48[7] | random[7] | unsetenv[4] |
bindtextdomain[3] | getopt_long[4] | l64a[7] | random_r[4] | usleep[7] |
bsearch[7] | getopt_long_only[4] | labs[7] | realloc[7] | verrx[4] |
calloc[7] | getsubopt[7] | lcong48[7] | realpath[7] | vsyslog[4] |
closelog[7] | gettimeofday[7] | ldiv[7] | remque[7] | warn[4] |
confstr[7] | glob[7] | lfind[7] | seed48[7] | warnx[4] |
cuserid[7] | glob64[4] | llabs[1] | setenv[4] | wordexp[7] |
daemon[4] | globfree[7] | lldiv[1] | sethostid[4] | wordfree[7] |
dirname[7] | globfree64[4] | longjmp[7] | sethostname[4] | |
div[7] | grantpt[7] | lrand48[7] | setlogmask[7] | |
drand48[7] | hcreate[7] | lsearch[7] | setstate[7] | |
ecvt[7] | hdestroy[7] | makecontext[7] | srand[7] |
Table 11-10. libc - Localization Functions Function Interfaces
__dcgettext[4] | catgets[7] | dcngettext[3] | gettext[4] | nl_langinfo[7] |
bind_textdomain_codeset[3] | catopen[7] | dgettext[3] | iconv[7] | setlocale[7] |
catclose[7] | dcgettext[3] | dngettext[3] | localeconv[7] |
Table 11-11. libc - Localization Functions Data Interfaces
_nl_msg_cat_cntr[4] |
Table 11-12. libc - Socket Interface Function Interfaces
__h_errno_location[4] | gethostbyname_r[4] | getsockopt[6] | send[6] | socket[6] |
accept[6] | gethostid[7] | listen[6] | sendmsg[6] | socketpair[6] |
bind[6] | gethostname[6] | recv[6] | sendto[6] | |
bindresvport[4] | getpeername[6] | recvfrom[6] | setsockopt[6] | |
connect[6] | getsockname[6] | recvmsg[6] | shutdown[6] |
Table 11-13. libc - Wide Characters Function Interfaces
__wcstod_internal[4] | mbrlen[7] | vswscanf[1] | wcsncmp[7] | wcstoul[7] |
__wcstof_internal[4] | mbrtowc[7] | vwprintf[1] | wcsncpy[7] | wcstoull[1] |
__wcstol_internal[4] | mbsinit[7] | vwscanf[1] | wcsnlen[4] | wcstoumax[1] |
__wcstold_internal[4] | mbsnrtowcs[4] | wcpcpy[4] | wcsnrtombs[4] | wcstouq[4] |
__wcstoul_internal[4] | mbsrtowcs[7] | wcpncpy[4] | wcspbrk[1] | wcswcs[7] |
btowc[7] | mbstowcs[7] | wcrtomb[7] | wcsrchr[7] | wcswidth[7] |
fgetwc[7] | mbtowc[7] | wcscasecmp[4] | wcsrtombs[7] | wcsxfrm[7] |
fgetws[1] | putwc[1] | wcscat[7] | wcsspn[7] | wctob[7] |
fputwc[1] | putwchar[1] | wcschr[7] | wcsstr[7] | wctomb[7] |
fputws[1] | swprintf[7] | wcscmp[7] | wcstod[7] | wctrans[7] |
fwide[1] | swscanf[1] | wcscoll[7] | wcstof[1] | wctype[7] |
fwprintf[4] | towctrans[7] | wcscpy[7] | wcstoimax[1] | wcwidth[7] |
fwscanf[1] | towlower[1] | wcscspn[7] | wcstok[7] | wmemchr[7] |
getwc[1] | towupper[7] | wcsdup[4] | wcstol[7] | wmemcmp[7] |
getwchar[7] | ungetwc[1] | wcsftime[1] | wcstold[1] | wmemcpy[7] |
iconv_close[7] | vfwprintf[1] | wcslen[7] | wcstoll[1] | wmemmove[7] |
iconv_open[7] | vfwscanf[1] | wcsncasecmp[4] | wcstombs[7] | wmemset[7] |
mblen[7] | vswprintf[1] | wcsncat[7] | wcstoq[4] |
Table 11-14. libc - String Functions Function Interfaces
__mempcpy[4] | bzero[7] | strcasestr[4] | strncasecmp[7] | strtoimax[1] |
__rawmemchr[4] | ffs[7] | strcat[7] | strncat[7] | strtok[7] |
__stpcpy[4] | index[7] | strchr[7] | strncmp[7] | strtok_r[4] |
__strdup[4] | memccpy[7] | strcmp[7] | strncpy[7] | strtold[1] |
__strtod_internal[4] | memchr[7] | strcoll[7] | strndup[4] | strtoll[1] |
__strtof_internal[4] | memcmp[7] | strcpy[7] | strnlen[4] | strtoq[4] |
__strtok_r[4] | memcpy[7] | strcspn[7] | strpbrk[7] | strtoull[1] |
__strtol_internal[4] | memmove[7] | strdup[7] | strptime[4] | strtoumax[1] |
__strtold_internal[4] | memrchr[4] | strerror[7] | strrchr[7] | strtouq[4] |
__strtoll_internal[4] | memset[7] | strerror_r[4] | strsep[4] | strverscmp[4] |
__strtoul_internal[4] | rindex[7] | strfmon[7] | strsignal[4] | strxfrm[7] |
__strtoull_internal[4] | stpcpy[4] | strfry[4] | strspn[7] | swab[7] |
bcmp[7] | stpncpy[4] | strftime[7] | strstr[7] | |
bcopy[7] | strcasecmp[7] | strlen[7] | strtof[1] |
Table 11-18. libc - Character Type Functions Function Interfaces
__ctype_get_mb_cur_max[4] | isdigit[7] | iswalnum[7] | iswlower[7] | toascii[7] |
_tolower[7] | isgraph[7] | iswalpha[7] | iswprint[7] | tolower[7] |
_toupper[7] | islower[7] | iswblank[4] | iswpunct[7] | toupper[7] |
isalnum[7] | isprint[7] | iswcntrl[7] | iswspace[7] | |
isalpha[7] | ispunct[7] | iswctype[4] | iswupper[7] | |
isascii[7] | isspace[7] | iswdigit[7] | iswxdigit[7] | |
iscntrl[7] | isupper[7] | iswgraph[7] | isxdigit[7] |
Table 11-19. libc - Character Type Functions Data Interfaces
__ctype_b[4] | __ctype_tolower[4] | __ctype_toupper[4] |
Table 11-23. libc - System Database Interface Function Interfaces
endgrent[7] | getgrgid[7] | getpwnam[7] | getutxent[7] | setprotoent[6] |
endhostent[6] | getgrnam[7] | getpwnam_r[4] | getutxid[7] | setpwent[7] |
endnetent[6] | gethostbyaddr[6] | getpwuid[7] | getutxline[7] | setservent[6] |
endprotoent[6] | gethostbyname[4] | getpwuid_r[7] | pututxline[7] | setutent[4] |
endpwent[7] | getnetbyaddr[6] | getservbyname[4] | setgrent[7] | setutxent[7] |
endservent[6] | getprotobyname[4] | getservbyport[6] | setgroups[4] | |
endutent[7] | getprotobynumber[6] | getservent[4] | sethostent[6] | |
endutxent[7] | getprotoent[4] | getutent[4] | setmntent[4] | |
getgrent[7] | getpwent[7] | getutent_r[4] | setnetent[6] |
Table 11-24. libc - Language Support Function Interfaces
__libc_start_main[4] | _obstack_begin[4] | _obstack_newchunk[4] | obstack_free[4] |
Table 11-25. libc - Large File Support Function Interfaces
__fxstat64[4] | fopen64[2] | ftello64[2] | mkstemp64[2] | readdir64[2] |
__lxstat64[4] | freopen64[2] | ftruncate64[2] | mmap64[2] | tmpfile64[2] |
__xstat64[4] | fseeko64[2] | ftw64[2] | nftw64[2] | truncate64[2] |
alphasort64[4] | fsetpos64[2] | getrlimit64[2] | open64[2] | |
creat64[2] | fstatfs64[2] | lockf64[2] | pread64[2] | |
fgetpos64[2] | fstatvfs64[2] | lseek64[2] | pwrite64[2] |
[1] | ISO/IEC 9899: 1999, Programming Languages --C |
[2] | Large File Support |
[3] | LI18NUX 2000 Globalization Specification, Version 1.0 with Amendment 4 |
[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) |
[8] | System V Interface Definition, Issue 3 (ISBN 0201566524) |
[9] | System V Interface Definition,Fourth Edition |