10.2. Interfaces for libc

Table 10-1 defines the library name and shared object name for the libc library

Table 10-1. libc Definition

Library:libc
SONAME:libc.so.6

The behavior of the interfaces in this library is specified by the following specifications:

[LFS] Large File Support
[LSB] ISO/IEC 23360 Part 1
[RPC & XDR] RFC 1831/1832 RPC & XDR
[SUSv2] SUSv2
[SUSv3] POSIX 1003.1-2001 (ISO/IEC 9945-2003)
[SUSv4] POSIX 1003.1-2008 (ISO/IEC 9945-2009)
[SVID.4] SVID Issue 4

10.2.1. RPC

10.2.1.1. Interfaces for RPC

An LSB conforming implementation shall provide the architecture specific functions for RPC specified in Table 10-2, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-2. libc - RPC Function Interfaces

authnone_create(GLIBC_2.0) [SVID.4]callrpc(GLIBC_2.0) [RPC & XDR]clnt_create(GLIBC_2.0) [SVID.4]clnt_pcreateerror(GLIBC_2.0) [SVID.4]
clnt_perrno(GLIBC_2.0) [SVID.4]clnt_perror(GLIBC_2.0) [SVID.4]clnt_spcreateerror(GLIBC_2.0) [SVID.4]clnt_sperrno(GLIBC_2.0) [SVID.4]
clnt_sperror(GLIBC_2.0) [SVID.4]clntraw_create(GLIBC_2.0) [RPC & XDR]clnttcp_create(GLIBC_2.0) [RPC & XDR]clntudp_bufcreate(GLIBC_2.0) [RPC & XDR]
clntudp_create(GLIBC_2.0) [RPC & XDR]key_decryptsession(GLIBC_2.1) [SVID.4]pmap_getport(GLIBC_2.0) [LSB]pmap_set(GLIBC_2.0) [LSB]
pmap_unset(GLIBC_2.0) [LSB]svc_getreqset(GLIBC_2.0) [SVID.4]svc_register(GLIBC_2.0) [LSB]svc_run(GLIBC_2.0) [LSB]
svc_sendreply(GLIBC_2.0) [LSB]svcerr_auth(GLIBC_2.0) [SVID.4]svcerr_decode(GLIBC_2.0) [SVID.4]svcerr_noproc(GLIBC_2.0) [SVID.4]
svcerr_noprog(GLIBC_2.0) [SVID.4]svcerr_progvers(GLIBC_2.0) [SVID.4]svcerr_systemerr(GLIBC_2.0) [SVID.4]svcerr_weakauth(GLIBC_2.0) [SVID.4]
svcfd_create(GLIBC_2.0) [RPC & XDR]svcraw_create(GLIBC_2.0) [RPC & XDR]svctcp_create(GLIBC_2.0) [LSB]svcudp_create(GLIBC_2.0) [LSB]
xdr_accepted_reply(GLIBC_2.0) [SVID.4]xdr_array(GLIBC_2.0) [SVID.4]xdr_bool(GLIBC_2.0) [SVID.4]xdr_bytes(GLIBC_2.0) [SVID.4]
xdr_callhdr(GLIBC_2.0) [SVID.4]xdr_callmsg(GLIBC_2.0) [SVID.4]xdr_char(GLIBC_2.0) [SVID.4]xdr_double(GLIBC_2.0) [SVID.4]
xdr_enum(GLIBC_2.0) [SVID.4]xdr_float(GLIBC_2.0) [SVID.4]xdr_free(GLIBC_2.0) [SVID.4]xdr_int(GLIBC_2.0) [SVID.4]
xdr_long(GLIBC_2.0) [SVID.4]xdr_opaque(GLIBC_2.0) [SVID.4]xdr_opaque_auth(GLIBC_2.0) [SVID.4]xdr_pointer(GLIBC_2.0) [SVID.4]
xdr_reference(GLIBC_2.0) [SVID.4]xdr_rejected_reply(GLIBC_2.0) [SVID.4]xdr_replymsg(GLIBC_2.0) [SVID.4]xdr_short(GLIBC_2.0) [SVID.4]
xdr_string(GLIBC_2.0) [SVID.4]xdr_u_char(GLIBC_2.0) [SVID.4]xdr_u_int(GLIBC_2.0) [LSB]xdr_u_long(GLIBC_2.0) [SVID.4]
xdr_u_short(GLIBC_2.0) [SVID.4]xdr_union(GLIBC_2.0) [SVID.4]xdr_vector(GLIBC_2.0) [SVID.4]xdr_void(GLIBC_2.0) [SVID.4]
xdr_wrapstring(GLIBC_2.0) [SVID.4]xdrmem_create(GLIBC_2.0) [SVID.4]xdrrec_create(GLIBC_2.0) [SVID.4]xdrrec_endofrecord(GLIBC_2.0) [RPC & XDR]
xdrrec_eof(GLIBC_2.0) [SVID.4]xdrrec_skiprecord(GLIBC_2.0) [RPC & XDR]xdrstdio_create(GLIBC_2.0) [LSB] 

An LSB conforming implementation shall provide the architecture specific deprecated functions for RPC specified in Table 10-3, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-3. libc - RPC Deprecated Function Interfaces

key_decryptsession(GLIBC_2.1) [SVID.4]   

10.2.2. Epoll

10.2.2.1. Interfaces for Epoll

No external functions are defined for libc - Epoll in this part of the specification. See also the generic specification.

10.2.3. System Calls

10.2.3.1. Interfaces for System Calls

An LSB conforming implementation shall provide the architecture specific functions for System Calls specified in Table 10-4, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-4. libc - System Calls Function Interfaces

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

An LSB conforming implementation shall provide the architecture specific deprecated functions for System Calls specified in Table 10-5, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-5. libc - System Calls Deprecated Function Interfaces

fstatfs(GLIBC_2.0) [LSB]getdtablesize(GLIBC_2.0) [LSB]getpagesize(GLIBC_2.0) [LSB]getwd(GLIBC_2.0) [SUSv3]
statfs(GLIBC_2.0) [LSB]   

10.2.4. Standard I/O

10.2.4.1. Interfaces for Standard I/O

An LSB conforming implementation shall provide the architecture specific functions for Standard I/O specified in Table 10-6, with the full mandatory functionality as described in the referenced underlying specification.

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

_IO_feof(GLIBC_2.0) [LSB]_IO_getc(GLIBC_2.0) [LSB]_IO_putc(GLIBC_2.0) [LSB]_IO_puts(GLIBC_2.0) [LSB]
__fprintf_chk(GLIBC_2.4) [LSB]__printf_chk(GLIBC_2.4) [LSB]__snprintf_chk(GLIBC_2.4) [LSB]__sprintf_chk(GLIBC_2.4) [LSB]
__vfprintf_chk(GLIBC_2.4) [LSB]__vprintf_chk(GLIBC_2.4) [LSB]__vsnprintf_chk(GLIBC_2.4) [LSB]__vsprintf_chk(GLIBC_2.4) [LSB]
asprintf(GLIBC_2.0) [LSB]asprintf(GLIBC_2.4) [LSB]clearerr(GLIBC_2.0) [SUSv3]clearerr_unlocked(GLIBC_2.0) [LSB]
ctermid(GLIBC_2.0) [SUSv3]dprintf(GLIBC_2.4) [SUSv4]fclose(GLIBC_2.1) [SUSv3]fdopen(GLIBC_2.1) [SUSv3]
feof(GLIBC_2.0) [SUSv3]feof_unlocked(GLIBC_2.0) [LSB]ferror(GLIBC_2.0) [SUSv3]ferror_unlocked(GLIBC_2.0) [LSB]
fflush(GLIBC_2.0) [SUSv3]fflush_unlocked(GLIBC_2.0) [LSB]fgetc(GLIBC_2.0) [SUSv3]fgetc_unlocked(GLIBC_2.1) [LSB]
fgetpos(GLIBC_2.2) [SUSv3]fgets(GLIBC_2.0) [SUSv3]fgets_unlocked(GLIBC_2.1) [LSB]fgetwc_unlocked(GLIBC_2.2) [LSB]
fgetws_unlocked(GLIBC_2.2) [LSB]fileno(GLIBC_2.0) [SUSv3]fileno_unlocked(GLIBC_2.0) [LSB]flockfile(GLIBC_2.0) [SUSv3]
fopen(GLIBC_2.1) [SUSv3]fprintf(GLIBC_2.0) [SUSv3]fprintf(GLIBC_2.4) [SUSv3]fputc(GLIBC_2.0) [SUSv3]
fputc_unlocked(GLIBC_2.0) [LSB]fputs(GLIBC_2.0) [SUSv3]fputs_unlocked(GLIBC_2.1) [LSB]fputwc_unlocked(GLIBC_2.2) [LSB]
fputws_unlocked(GLIBC_2.2) [LSB]fread(GLIBC_2.0) [SUSv3]fread_unlocked(GLIBC_2.1) [LSB]freopen(GLIBC_2.0) [SUSv3]
fscanf(GLIBC_2.0) [LSB]fscanf(GLIBC_2.4) [LSB]fseek(GLIBC_2.0) [SUSv3]fseeko(GLIBC_2.1) [SUSv3]
fsetpos(GLIBC_2.2) [SUSv3]ftell(GLIBC_2.0) [SUSv3]ftello(GLIBC_2.1) [SUSv3]fwrite(GLIBC_2.0) [SUSv3]
fwrite_unlocked(GLIBC_2.1) [LSB]getc(GLIBC_2.0) [SUSv3]getc_unlocked(GLIBC_2.0) [SUSv3]getchar(GLIBC_2.0) [SUSv3]
getchar_unlocked(GLIBC_2.0) [SUSv3]getdelim(GLIBC_2.0) [SUSv4]getline(GLIBC_2.0) [SUSv4]getw(GLIBC_2.0) [SUSv2]
getwc_unlocked(GLIBC_2.2) [LSB]getwchar_unlocked(GLIBC_2.2) [LSB]pclose(GLIBC_2.1) [SUSv3]popen(GLIBC_2.1) [SUSv3]
printf(GLIBC_2.0) [SUSv3]printf(GLIBC_2.4) [SUSv3]putc(GLIBC_2.0) [SUSv3]putc_unlocked(GLIBC_2.0) [SUSv3]
putchar(GLIBC_2.0) [SUSv3]putchar_unlocked(GLIBC_2.0) [SUSv3]puts(GLIBC_2.0) [SUSv3]putw(GLIBC_2.0) [SUSv2]
putwc_unlocked(GLIBC_2.2) [LSB]putwchar_unlocked(GLIBC_2.2) [LSB]remove(GLIBC_2.0) [SUSv3]rewind(GLIBC_2.0) [SUSv3]
rewinddir(GLIBC_2.0) [SUSv3]scanf(GLIBC_2.0) [LSB]scanf(GLIBC_2.4) [LSB]seekdir(GLIBC_2.0) [SUSv3]
setbuf(GLIBC_2.0) [SUSv3]setbuffer(GLIBC_2.0) [LSB]setvbuf(GLIBC_2.0) [SUSv3]snprintf(GLIBC_2.0) [SUSv3]
snprintf(GLIBC_2.4) [SUSv3]sprintf(GLIBC_2.0) [SUSv3]sprintf(GLIBC_2.4) [SUSv3]sscanf(GLIBC_2.0) [LSB]
sscanf(GLIBC_2.4) [LSB]telldir(GLIBC_2.0) [SUSv3]tempnam(GLIBC_2.0) [SUSv3]ungetc(GLIBC_2.0) [SUSv3]
vasprintf(GLIBC_2.0) [LSB]vasprintf(GLIBC_2.4) [LSB]vdprintf(GLIBC_2.0) [LSB]vdprintf(GLIBC_2.4) [LSB]
vfprintf(GLIBC_2.0) [SUSv3]vfprintf(GLIBC_2.4) [SUSv3]vprintf(GLIBC_2.0) [SUSv3]vprintf(GLIBC_2.4) [SUSv3]
vsnprintf(GLIBC_2.0) [SUSv3]vsnprintf(GLIBC_2.4) [SUSv3]vsprintf(GLIBC_2.0) [SUSv3]vsprintf(GLIBC_2.4) [SUSv3]

An LSB conforming implementation shall provide the architecture specific deprecated functions for Standard I/O specified in Table 10-7, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-7. libc - Standard I/O Deprecated Function Interfaces

asprintf(GLIBC_2.0) [LSB]fprintf(GLIBC_2.0) [SUSv3]fscanf(GLIBC_2.0) [LSB]printf(GLIBC_2.0) [SUSv3]
scanf(GLIBC_2.0) [LSB]snprintf(GLIBC_2.0) [SUSv3]sprintf(GLIBC_2.0) [SUSv3]sscanf(GLIBC_2.0) [LSB]
tempnam(GLIBC_2.0) [SUSv3]vasprintf(GLIBC_2.0) [LSB]vdprintf(GLIBC_2.0) [LSB]vfprintf(GLIBC_2.0) [SUSv3]
vprintf(GLIBC_2.0) [SUSv3]vsnprintf(GLIBC_2.0) [SUSv3]vsprintf(GLIBC_2.0) [SUSv3] 

An LSB conforming implementation shall provide the architecture specific data interfaces for Standard I/O specified in Table 10-8, with the full mandatory functionality as described in the referenced underlying specification.

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

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

10.2.5. Signal Handling

10.2.5.1. Interfaces for Signal Handling

An LSB conforming implementation shall provide the architecture specific functions for Signal Handling specified in Table 10-9, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-9. libc - Signal Handling Function Interfaces

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

An LSB conforming implementation shall provide the architecture specific deprecated functions for Signal Handling specified in Table 10-10, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-10. libc - Signal Handling Deprecated Function Interfaces

sigpause(GLIBC_2.0) [LSB]   

An LSB conforming implementation shall provide the architecture specific data interfaces for Signal Handling specified in Table 10-11, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-11. libc - Signal Handling Data Interfaces

_sys_siglist(GLIBC_2.3.3) [LSB]   

10.2.6. Localization Functions

10.2.6.1. Interfaces for Localization Functions

An LSB conforming implementation shall provide the architecture specific functions for Localization Functions specified in Table 10-12, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-12. libc - Localization Functions Function Interfaces

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

An LSB conforming implementation shall provide the architecture specific data interfaces for Localization Functions specified in Table 10-13, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-13. libc - Localization Functions Data Interfaces

_nl_msg_cat_cntr(GLIBC_2.0) [LSB]   

10.2.7. Posix Spawn Option

10.2.7.1. Interfaces for Posix Spawn Option

An LSB conforming implementation shall provide the architecture specific functions for Posix Spawn Option specified in Table 10-14, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-14. libc - Posix Spawn Option Function Interfaces

posix_spawn(GLIBC_2.2) [SUSv3]posix_spawn_file_actions_addclose(GLIBC_2.2) [SUSv3]posix_spawn_file_actions_adddup2(GLIBC_2.2) [SUSv3]posix_spawn_file_actions_addopen(GLIBC_2.2) [SUSv3]
posix_spawn_file_actions_destroy(GLIBC_2.2) [SUSv3]posix_spawn_file_actions_init(GLIBC_2.2) [SUSv3]posix_spawnattr_destroy(GLIBC_2.2) [SUSv3]posix_spawnattr_getflags(GLIBC_2.2) [SUSv3]
posix_spawnattr_getpgroup(GLIBC_2.2) [SUSv3]posix_spawnattr_getschedparam(GLIBC_2.2) [SUSv3]posix_spawnattr_getschedpolicy(GLIBC_2.2) [SUSv3]posix_spawnattr_getsigdefault(GLIBC_2.2) [SUSv3]
posix_spawnattr_getsigmask(GLIBC_2.2) [SUSv3]posix_spawnattr_init(GLIBC_2.2) [SUSv3]posix_spawnattr_setflags(GLIBC_2.2) [SUSv3]posix_spawnattr_setpgroup(GLIBC_2.2) [SUSv3]
posix_spawnattr_setschedparam(GLIBC_2.2) [SUSv3]posix_spawnattr_setschedpolicy(GLIBC_2.2) [SUSv3]posix_spawnattr_setsigdefault(GLIBC_2.2) [SUSv3]posix_spawnattr_setsigmask(GLIBC_2.2) [SUSv3]
posix_spawnp(GLIBC_2.2) [SUSv3]   

10.2.8. Posix Advisory Option

10.2.8.1. Interfaces for Posix Advisory Option

An LSB conforming implementation shall provide the architecture specific functions for Posix Advisory Option specified in Table 10-15, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-15. libc - Posix Advisory Option Function Interfaces

posix_fadvise(GLIBC_2.2) [SUSv3]posix_fallocate(GLIBC_2.2) [SUSv3]posix_madvise(GLIBC_2.2) [SUSv3]posix_memalign(GLIBC_2.2) [SUSv3]

10.2.9. Socket Interface

10.2.9.1. Interfaces for Socket Interface

An LSB conforming implementation shall provide the architecture specific functions for Socket Interface specified in Table 10-16, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-16. libc - Socket Interface Function Interfaces

__h_errno_location(GLIBC_2.0) [LSB]accept(GLIBC_2.0) [SUSv3]bind(GLIBC_2.0) [SUSv3]bindresvport(GLIBC_2.0) [LSB]
connect(GLIBC_2.0) [SUSv3]gethostid(GLIBC_2.0) [SUSv3]gethostname(GLIBC_2.0) [SUSv3]getpeername(GLIBC_2.0) [SUSv3]
getsockname(GLIBC_2.0) [SUSv3]getsockopt(GLIBC_2.0) [LSB]if_freenameindex(GLIBC_2.1) [SUSv3]if_indextoname(GLIBC_2.1) [SUSv3]
if_nameindex(GLIBC_2.1) [SUSv3]if_nametoindex(GLIBC_2.1) [SUSv3]listen(GLIBC_2.0) [SUSv3]recv(GLIBC_2.0) [SUSv3]
recvfrom(GLIBC_2.0) [SUSv3]recvmsg(GLIBC_2.0) [SUSv3]send(GLIBC_2.0) [SUSv4]sendmsg(GLIBC_2.0) [SUSv4]
sendto(GLIBC_2.0) [SUSv4]setsockopt(GLIBC_2.0) [LSB]shutdown(GLIBC_2.0) [SUSv3]sockatmark(GLIBC_2.2.4) [SUSv3]
socket(GLIBC_2.0) [SUSv3]socketpair(GLIBC_2.0) [SUSv3]  

An LSB conforming implementation shall provide the architecture specific data interfaces for Socket Interface specified in Table 10-17, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-17. libc - Socket Interface Data Interfaces

in6addr_any(GLIBC_2.1) [SUSv3]in6addr_loopback(GLIBC_2.1) [SUSv3]  

10.2.10. Wide Characters

10.2.10.1. Interfaces for Wide Characters

An LSB conforming implementation shall provide the architecture specific functions for Wide Characters specified in Table 10-18, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-18. libc - Wide Characters Function Interfaces

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

An LSB conforming implementation shall provide the architecture specific deprecated functions for Wide Characters specified in Table 10-19, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-19. libc - Wide Characters Deprecated Function Interfaces

__wcstold_internal(GLIBC_2.0) [LSB]fwprintf(GLIBC_2.2) [SUSv3]fwscanf(GLIBC_2.2) [LSB]swprintf(GLIBC_2.2) [SUSv3]
swscanf(GLIBC_2.2) [LSB]vfwprintf(GLIBC_2.2) [SUSv3]vfwscanf(GLIBC_2.2) [LSB]vswprintf(GLIBC_2.2) [SUSv3]
vswscanf(GLIBC_2.2) [LSB]vwprintf(GLIBC_2.2) [SUSv3]vwscanf(GLIBC_2.2) [LSB]wcstold(GLIBC_2.0) [SUSv3]
wprintf(GLIBC_2.2) [SUSv3]wscanf(GLIBC_2.2) [LSB]  

10.2.11. String Functions

10.2.11.1. Interfaces for String Functions

An LSB conforming implementation shall provide the architecture specific functions for String Functions specified in Table 10-20, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-20. libc - String Functions Function Interfaces

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

An LSB conforming implementation shall provide the architecture specific deprecated functions for String Functions specified in Table 10-21, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-21. libc - String Functions Deprecated Function Interfaces

__strtold_internal(GLIBC_2.0) [LSB]strerror_r(GLIBC_2.0) [LSB]strfmon(GLIBC_2.0) [SUSv3]strtold(GLIBC_2.0) [SUSv3]

10.2.12. IPC Functions

10.2.12.1. Interfaces for IPC Functions

An LSB conforming implementation shall provide the architecture specific functions for IPC Functions specified in Table 10-22, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-22. libc - IPC Functions Function Interfaces

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

10.2.13. Regular Expressions

10.2.13.1. Interfaces for Regular Expressions

An LSB conforming implementation shall provide the architecture specific functions for Regular Expressions specified in Table 10-23, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-23. libc - Regular Expressions Function Interfaces

regcomp(GLIBC_2.0) [SUSv3]regerror(GLIBC_2.0) [SUSv3]regexec(GLIBC_2.3.4) [LSB]regfree(GLIBC_2.0) [SUSv3]

10.2.14. Character Type Functions

10.2.14.1. Interfaces for Character Type Functions

An LSB conforming implementation shall provide the architecture specific functions for Character Type Functions specified in Table 10-24, with the full mandatory functionality as described in the referenced underlying specification.

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

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

10.2.15. Time Manipulation

10.2.15.1. Interfaces for Time Manipulation

An LSB conforming implementation shall provide the architecture specific functions for Time Manipulation specified in Table 10-25, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-25. libc - Time Manipulation Function Interfaces

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

An LSB conforming implementation shall provide the architecture specific data interfaces for Time Manipulation specified in Table 10-26, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-26. libc - Time Manipulation Data Interfaces

__daylight(GLIBC_2.0) [LSB]__timezone(GLIBC_2.0) [LSB]__tzname(GLIBC_2.0) [LSB]daylight(GLIBC_2.0) [SUSv3]
timezone(GLIBC_2.0) [SUSv3]tzname(GLIBC_2.0) [SUSv3]  

10.2.16. Terminal Interface Functions

10.2.16.1. Interfaces for Terminal Interface Functions

An LSB conforming implementation shall provide the architecture specific functions for Terminal Interface Functions specified in Table 10-27, with the full mandatory functionality as described in the referenced underlying specification.

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

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

10.2.17. System Database Interface

10.2.17.1. Interfaces for System Database Interface

An LSB conforming implementation shall provide the architecture specific functions for System Database Interface specified in Table 10-28, with the full mandatory functionality as described in the referenced underlying specification.

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

endgrent(GLIBC_2.0) [SUSv3]endprotoent(GLIBC_2.0) [SUSv3]endpwent(GLIBC_2.0) [SUSv3]endservent(GLIBC_2.0) [SUSv3]
endutent(GLIBC_2.0) [LSB]endutxent(GLIBC_2.1) [SUSv3]getgrent(GLIBC_2.0) [SUSv3]getgrent_r(GLIBC_2.1.2) [LSB]
getgrgid(GLIBC_2.0) [SUSv3]getgrgid_r(GLIBC_2.1.2) [SUSv3]getgrnam(GLIBC_2.0) [SUSv3]getgrnam_r(GLIBC_2.1.2) [SUSv3]
getgrouplist(GLIBC_2.2.4) [LSB]gethostbyaddr(GLIBC_2.0) [SUSv3]gethostbyaddr_r(GLIBC_2.1.2) [LSB]gethostbyname(GLIBC_2.0) [SUSv3]
gethostbyname2(GLIBC_2.0) [LSB]gethostbyname2_r(GLIBC_2.1.2) [LSB]gethostbyname_r(GLIBC_2.1.2) [LSB]getprotobyname(GLIBC_2.0) [SUSv3]
getprotobyname_r(GLIBC_2.1.2) [LSB]getprotobynumber(GLIBC_2.0) [SUSv3]getprotobynumber_r(GLIBC_2.1.2) [LSB]getprotoent(GLIBC_2.0) [SUSv3]
getprotoent_r(GLIBC_2.1.2) [LSB]getpwent(GLIBC_2.0) [SUSv3]getpwent_r(GLIBC_2.1.2) [LSB]getpwnam(GLIBC_2.0) [SUSv3]
getpwnam_r(GLIBC_2.1.2) [SUSv3]getpwuid(GLIBC_2.0) [SUSv3]getpwuid_r(GLIBC_2.1.2) [SUSv3]getservbyname(GLIBC_2.0) [SUSv3]
getservbyname_r(GLIBC_2.1.2) [LSB]getservbyport(GLIBC_2.0) [SUSv3]getservbyport_r(GLIBC_2.1.2) [LSB]getservent(GLIBC_2.0) [SUSv3]
getservent_r(GLIBC_2.1.2) [LSB]getutent(GLIBC_2.0) [LSB]getutent_r(GLIBC_2.0) [LSB]getutxent(GLIBC_2.1) [SUSv3]
getutxid(GLIBC_2.1) [SUSv3]getutxline(GLIBC_2.1) [SUSv3]pututxline(GLIBC_2.1) [SUSv3]setgrent(GLIBC_2.0) [SUSv3]
setgroups(GLIBC_2.0) [LSB]setprotoent(GLIBC_2.0) [SUSv3]setpwent(GLIBC_2.0) [SUSv3]setservent(GLIBC_2.0) [SUSv3]
setutent(GLIBC_2.0) [LSB]setutxent(GLIBC_2.1) [SUSv3]utmpname(GLIBC_2.0) [LSB] 

An LSB conforming implementation shall provide the architecture specific deprecated functions for System Database Interface specified in Table 10-29, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-29. libc - System Database Interface Deprecated Function Interfaces

gethostbyaddr(GLIBC_2.0) [SUSv3]gethostbyaddr_r(GLIBC_2.1.2) [LSB]gethostbyname(GLIBC_2.0) [SUSv3]gethostbyname2(GLIBC_2.0) [LSB]
gethostbyname2_r(GLIBC_2.1.2) [LSB]gethostbyname_r(GLIBC_2.1.2) [LSB]  

10.2.18. Language Support

10.2.18.1. Interfaces for Language Support

An LSB conforming implementation shall provide the architecture specific functions for Language Support specified in Table 10-30, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-30. libc - Language Support Function Interfaces

__libc_start_main(GLIBC_2.0) [LSB]   

10.2.19. Large File Support

10.2.19.1. Interfaces for Large File Support

An LSB conforming implementation shall provide the architecture specific functions for Large File Support specified in Table 10-31, with the full mandatory functionality as described in the referenced underlying specification.

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

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

An LSB conforming implementation shall provide the architecture specific deprecated functions for Large File Support specified in Table 10-32, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-32. libc - Large File Support Deprecated Function Interfaces

fstatfs64(GLIBC_2.1) [LSB]statfs64(GLIBC_2.1) [LSB]  

10.2.20. Inotify

10.2.20.1. Interfaces for Inotify

No external functions are defined for libc - Inotify in this part of the specification. See also the generic specification.

10.2.21. Standard Library

10.2.21.1. Interfaces for Standard Library

An LSB conforming implementation shall provide the architecture specific functions for Standard Library specified in Table 10-33, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-33. libc - Standard Library Function Interfaces

_Exit(GLIBC_2.1.1) [SUSv3]__assert_fail(GLIBC_2.0) [LSB]__cxa_atexit(GLIBC_2.1.3) [LSB]__cxa_finalize(GLIBC_2.1.3) [LSB]
__errno_location(GLIBC_2.0) [LSB]__fpending(GLIBC_2.2) [LSB]__getpagesize(GLIBC_2.0) [LSB]__isinf(GLIBC_2.0) [LSB]
__isinff(GLIBC_2.0) [LSB]__isinfl(GLIBC_2.0) [LSB]__isinfl(GLIBC_2.4) [LSB]__isnan(GLIBC_2.0) [LSB]
__isnanf(GLIBC_2.0) [LSB]__isnanl(GLIBC_2.0) [LSB]__isnanl(GLIBC_2.4) [LSB]__sysconf(GLIBC_2.2) [LSB]
__xpg_basename(GLIBC_2.0) [LSB]_exit(GLIBC_2.0) [SUSv3]_longjmp(GLIBC_2.0) [SUSv3]_setjmp(GLIBC_2.0) [SUSv3]
a64l(GLIBC_2.0) [SUSv3]abort(GLIBC_2.0) [SUSv3]abs(GLIBC_2.0) [SUSv3]alphasort(GLIBC_2.0) [SUSv4]
alphasort64(GLIBC_2.2) [LSB]atof(GLIBC_2.0) [SUSv3]atoi(GLIBC_2.0) [SUSv3]atol(GLIBC_2.0) [SUSv3]
atoll(GLIBC_2.0) [SUSv3]basename(GLIBC_2.0) [LSB]bsearch(GLIBC_2.0) [SUSv3]calloc(GLIBC_2.0) [SUSv3]
closelog(GLIBC_2.0) [SUSv3]confstr(GLIBC_2.0) [SUSv3]cuserid(GLIBC_2.0) [SUSv2]daemon(GLIBC_2.0) [LSB]
dirfd(GLIBC_2.0) [SUSv4]dirname(GLIBC_2.0) [SUSv3]div(GLIBC_2.0) [SUSv3]dl_iterate_phdr(GLIBC_2.2.4) [LSB]
drand48(GLIBC_2.0) [SUSv3]drand48_r(GLIBC_2.0) [LSB]ecvt(GLIBC_2.0) [SUSv3]erand48(GLIBC_2.0) [SUSv3]
erand48_r(GLIBC_2.0) [LSB]err(GLIBC_2.0) [LSB]error(GLIBC_2.0) [LSB]errx(GLIBC_2.0) [LSB]
fcvt(GLIBC_2.0) [SUSv3]fmemopen(GLIBC_2.2) [SUSv4]fmtmsg(GLIBC_2.1) [SUSv3]fnmatch(GLIBC_2.2.3) [SUSv3]
fpathconf(GLIBC_2.0) [SUSv3]free(GLIBC_2.0) [SUSv3]freeaddrinfo(GLIBC_2.0) [SUSv3]ftrylockfile(GLIBC_2.0) [SUSv3]
ftw(GLIBC_2.0) [SUSv3]funlockfile(GLIBC_2.0) [SUSv3]gai_strerror(GLIBC_2.1) [SUSv3]gcvt(GLIBC_2.0) [SUSv3]
getaddrinfo(GLIBC_2.0) [SUSv3]getcwd(GLIBC_2.0) [SUSv3]getdate(GLIBC_2.1) [SUSv3]getdomainname(GLIBC_2.0) [LSB]
getenv(GLIBC_2.0) [SUSv3]getlogin(GLIBC_2.0) [SUSv3]getlogin_r(GLIBC_2.0) [SUSv3]getnameinfo(GLIBC_2.1) [SUSv3]
getopt(GLIBC_2.0) [LSB]getopt_long(GLIBC_2.0) [LSB]getopt_long_only(GLIBC_2.0) [LSB]getsubopt(GLIBC_2.0) [SUSv3]
gettimeofday(GLIBC_2.0) [SUSv3]glob(GLIBC_2.0) [SUSv3]glob64(GLIBC_2.1) [LSB]globfree(GLIBC_2.0) [SUSv3]
globfree64(GLIBC_2.1) [LSB]grantpt(GLIBC_2.1) [SUSv3]hcreate(GLIBC_2.0) [SUSv3]hcreate_r(GLIBC_2.0) [LSB]
hdestroy(GLIBC_2.0) [SUSv3]hdestroy_r(GLIBC_2.0) [LSB]hsearch(GLIBC_2.0) [SUSv3]hsearch_r(GLIBC_2.0) [LSB]
htonl(GLIBC_2.0) [SUSv3]htons(GLIBC_2.0) [SUSv3]imaxabs(GLIBC_2.1.1) [SUSv3]imaxdiv(GLIBC_2.1.1) [SUSv3]
inet_addr(GLIBC_2.0) [SUSv3]inet_aton(GLIBC_2.0) [LSB]inet_ntoa(GLIBC_2.0) [SUSv3]inet_ntop(GLIBC_2.0) [SUSv3]
inet_pton(GLIBC_2.0) [SUSv3]initstate(GLIBC_2.0) [SUSv3]initstate_r(GLIBC_2.0) [LSB]insque(GLIBC_2.0) [SUSv3]
isatty(GLIBC_2.0) [SUSv3]isblank(GLIBC_2.0) [SUSv3]jrand48(GLIBC_2.0) [SUSv3]jrand48_r(GLIBC_2.0) [LSB]
l64a(GLIBC_2.0) [SUSv3]labs(GLIBC_2.0) [SUSv3]lcong48(GLIBC_2.0) [SUSv3]lcong48_r(GLIBC_2.0) [LSB]
ldiv(GLIBC_2.0) [SUSv3]lfind(GLIBC_2.0) [SUSv3]llabs(GLIBC_2.0) [SUSv3]lldiv(GLIBC_2.0) [SUSv3]
longjmp(GLIBC_2.0) [SUSv3]lrand48(GLIBC_2.0) [SUSv3]lrand48_r(GLIBC_2.0) [LSB]lsearch(GLIBC_2.0) [SUSv3]
makecontext(GLIBC_2.1) [SUSv3]malloc(GLIBC_2.0) [SUSv3]memmem(GLIBC_2.0) [LSB]mkdtemp(GLIBC_2.2) [SUSv4]
mkstemp(GLIBC_2.0) [SUSv3]mktemp(GLIBC_2.0) [SUSv3]mrand48(GLIBC_2.0) [SUSv3]mrand48_r(GLIBC_2.0) [LSB]
nftw(GLIBC_2.3.3) [SUSv3]nrand48(GLIBC_2.0) [SUSv3]nrand48_r(GLIBC_2.0) [LSB]ntohl(GLIBC_2.0) [SUSv3]
ntohs(GLIBC_2.0) [SUSv3]open_memstream(GLIBC_2.0) [SUSv4]openlog(GLIBC_2.0) [SUSv3]perror(GLIBC_2.0) [SUSv3]
posix_openpt(GLIBC_2.2.1) [SUSv3]ptsname(GLIBC_2.1) [SUSv3]putenv(GLIBC_2.0) [SUSv3]qsort(GLIBC_2.0) [SUSv3]
rand(GLIBC_2.0) [SUSv3]rand_r(GLIBC_2.0) [SUSv3]random(GLIBC_2.0) [SUSv3]random_r(GLIBC_2.0) [LSB]
realloc(GLIBC_2.0) [SUSv3]realpath(GLIBC_2.3) [SUSv3]remque(GLIBC_2.0) [SUSv3]scandir(GLIBC_2.0) [SUSv4]
scandir64(GLIBC_2.2) [LSB]seed48(GLIBC_2.0) [SUSv3]seed48_r(GLIBC_2.0) [LSB]sendfile(GLIBC_2.1) [LSB]
setenv(GLIBC_2.0) [SUSv3]sethostname(GLIBC_2.0) [LSB]setlogmask(GLIBC_2.0) [SUSv3]setstate(GLIBC_2.0) [SUSv3]
setstate_r(GLIBC_2.0) [LSB]srand(GLIBC_2.0) [SUSv3]srand48(GLIBC_2.0) [SUSv3]srand48_r(GLIBC_2.0) [LSB]
srandom(GLIBC_2.0) [SUSv3]srandom_r(GLIBC_2.0) [LSB]strtod(GLIBC_2.0) [SUSv3]strtol(GLIBC_2.0) [SUSv3]
strtoul(GLIBC_2.0) [SUSv3]swapcontext(GLIBC_2.1) [SUSv3]syslog(GLIBC_2.0) [SUSv3]syslog(GLIBC_2.4) [SUSv3]
system(GLIBC_2.0) [LSB]tdelete(GLIBC_2.0) [SUSv3]tfind(GLIBC_2.0) [SUSv3]tmpfile(GLIBC_2.1) [SUSv3]
tmpnam(GLIBC_2.0) [SUSv3]tsearch(GLIBC_2.0) [SUSv3]ttyname(GLIBC_2.0) [SUSv3]ttyname_r(GLIBC_2.0) [SUSv3]
twalk(GLIBC_2.0) [SUSv3]unlockpt(GLIBC_2.1) [SUSv3]unsetenv(GLIBC_2.0) [SUSv3]usleep(GLIBC_2.0) [SUSv3]
verrx(GLIBC_2.0) [LSB]vfscanf(GLIBC_2.0) [LSB]vfscanf(GLIBC_2.4) [LSB]vscanf(GLIBC_2.0) [LSB]
vscanf(GLIBC_2.4) [LSB]vsscanf(GLIBC_2.0) [LSB]vsscanf(GLIBC_2.4) [LSB]vsyslog(GLIBC_2.0) [LSB]
vsyslog(GLIBC_2.4) [LSB]warn(GLIBC_2.0) [LSB]warnx(GLIBC_2.0) [LSB]wordexp(GLIBC_2.1) [SUSv3]
wordfree(GLIBC_2.1) [SUSv3]   

An LSB conforming implementation shall provide the architecture specific deprecated functions for Standard Library specified in Table 10-34, with the full mandatory functionality as described in the referenced underlying specification.

Note: These interfaces are deprecated, and applications should avoid using them. These interfaces may be withdrawn in future releases of this specification.

Table 10-34. libc - Standard Library Deprecated Function Interfaces

__isinfl(GLIBC_2.0) [LSB]__isnanl(GLIBC_2.0) [LSB]basename(GLIBC_2.0) [LSB]getdomainname(GLIBC_2.0) [LSB]
inet_aton(GLIBC_2.0) [LSB]syslog(GLIBC_2.0) [SUSv3]tmpnam(GLIBC_2.0) [SUSv3]vfscanf(GLIBC_2.0) [LSB]
vscanf(GLIBC_2.0) [LSB]vsscanf(GLIBC_2.0) [LSB]vsyslog(GLIBC_2.0) [LSB] 

An LSB conforming implementation shall provide the architecture specific data interfaces for Standard Library specified in Table 10-35, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-35. libc - Standard Library Data Interfaces

__environ(GLIBC_2.0) [LSB]_environ(GLIBC_2.0) [LSB]_sys_errlist(GLIBC_2.4) [LSB]environ(GLIBC_2.0) [SUSv3]
getdate_err(GLIBC_2.1) [SUSv3]optarg(GLIBC_2.0) [SUSv3]opterr(GLIBC_2.0) [SUSv3]optind(GLIBC_2.0) [SUSv3]
optopt(GLIBC_2.0) [SUSv3]   

10.2.22. GNU Extensions for libc

10.2.22.1. Interfaces for GNU Extensions for libc

An LSB conforming implementation shall provide the architecture specific functions for GNU Extensions for libc specified in Table 10-36, with the full mandatory functionality as described in the referenced underlying specification.

Table 10-36. libc - GNU Extensions for libc Function Interfaces

gnu_get_libc_release(GLIBC_2.1) [LSB]gnu_get_libc_version(GLIBC_2.1) [LSB]