JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
man pages section 3: Library Interfaces and Headers     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

Introduction

Library Interfaces and Headers

acct(3HEAD)

acct.h(3HEAD)

aio(3HEAD)

aio.h(3HEAD)

ar(3HEAD)

archives(3HEAD)

archives.h(3HEAD)

ar.h(3HEAD)

assert(3HEAD)

assert.h(3HEAD)

complex(3HEAD)

complex.h(3HEAD)

cpio(3HEAD)

cpio.h(3HEAD)

dirent(3HEAD)

dirent.h(3HEAD)

errno(3HEAD)

errno.h(3HEAD)

fcntl(3HEAD)

fcntl.h(3HEAD)

fenv(3HEAD)

fenv.h(3HEAD)

float(3HEAD)

float.h(3HEAD)

floatingpoint(3HEAD)

floatingpoint.h(3HEAD)

fmtmsg(3HEAD)

fmtmsg.h(3HEAD)

fnmatch(3HEAD)

fnmatch.h(3HEAD)

ftw(3HEAD)

ftw.h(3HEAD)

glob(3HEAD)

glob.h(3HEAD)

grp(3HEAD)

grp.h(3HEAD)

iconv(3HEAD)

iconv.h(3HEAD)

if(3HEAD)

if.h(3HEAD)

in(3HEAD)

inet(3HEAD)

inet.h(3HEAD)

in.h(3HEAD)

inttypes(3HEAD)

inttypes.h(3HEAD)

ipc(3HEAD)

ipc.h(3HEAD)

iso646(3HEAD)

iso646.h(3HEAD)

langinfo(3HEAD)

langinfo.h(3HEAD)

lib300(3LIB)

lib300s(3LIB)

lib4014(3LIB)

lib450(3LIB)

libadm(3LIB)

libaio(3LIB)

libauto_ef(3LIB)

libbsdmalloc(3LIB)

libc(3LIB)

libc_db(3LIB)

libcfgadm(3LIB)

libcommputil(3LIB)

libcontract(3LIB)

libcpc(3LIB)

libcrypt(3LIB)

libcurses(3LIB)

libdat(3LIB)

libdevid(3LIB)

libdevinfo(3LIB)

libdl(3LIB)

libdlpi(3LIB)

libdns_sd(3LIB)

libdoor(3LIB)

libdtrace(3LIB)

libefi(3LIB)

libelf(3LIB)

libexacct(3LIB)

libfcoe(3LIB)

libfmevent(3LIB)

libform(3LIB)

libfstyp(3LIB)

libgen(3HEAD)

libgen(3LIB)

libgen.h(3HEAD)

libgss(3LIB)

libhbaapi(3LIB)

libicudata(3LIB)

libicui18n(3LIB)

libicuio(3LIB)

libicule(3LIB)

libiculx(3LIB)

libicutu(3LIB)

libicuuc(3LIB)

libilb(3LIB)

libintl(3HEAD)

libintl(3LIB)

libintl.h(3HEAD)

libiscsit(3LIB)

libkmf(3LIB)

libkrb5(3LIB)

libkstat(3LIB)

libkvm(3LIB)

libl(3LIB)

liblayout(3LIB)

liblgrp(3LIB)

libm(3LIB)

libmail(3LIB)

libmalloc(3LIB)

libmapmalloc(3LIB)

libmd(3LIB)

libmd5(3LIB)

libmenu(3LIB)

libmlib(3LIB)

libmlib_mt(3LIB)

libmp(3LIB)

libMPAPI(3LIB)

libmpapi(3LIB)

libmtmalloc(3LIB)

libmvec(3LIB)

libnsl(3LIB)

libnvpair(3LIB)

libpam(3LIB)

libpanel(3LIB)

libpapi(3LIB)

libpctx(3LIB)

libpicl(3LIB)

libpicltree(3LIB)

libpkcs11(3LIB)

libplot(3LIB)

libpool(3LIB)

libposix4(3LIB)

libproject(3LIB)

libpthread(3LIB)

libreparse(3LIB)

libresolv(3LIB)

librpcsvc(3LIB)

librt(3LIB)

librtld_db(3LIB)

libsasl(3LIB)

libscf(3LIB)

libsctp(3LIB)

libsec(3LIB)

libsecdb(3LIB)

libsendfile(3LIB)

libsip(3LIB)

libslp(3LIB)

libSMHBAAPI(3LIB)

libsmhbaapi(3LIB)

libsocket(3LIB)

libsrpt(3LIB)

libssagent(3LIB)

libssasnmp(3LIB)

libstmf(3LIB)

libsys(3LIB)

libsysevent(3LIB)

libtecla(3LIB)

libtermcap(3LIB)

libtermlib(3LIB)

libthread(3LIB)

libtsalarm(3LIB)

libtsnet(3LIB)

libtsol(3LIB)

libumem(3LIB)

libusb(3LIB)

libuuid(3LIB)

libv12n(3LIB)

libvolmgt(3LIB)

libvt0(3LIB)

libw(3LIB)

libxnet(3LIB)

libXtsol(3LIB)

libxtsol(3LIB)

liby(3LIB)

libzonestat(3LIB)

limits(3HEAD)

limits.h(3HEAD)

locale(3HEAD)

locale.h(3HEAD)

math(3HEAD)

math.h(3HEAD)

mman(3HEAD)

mman.h(3HEAD)

monetary(3HEAD)

monetary.h(3HEAD)

mqueue(3HEAD)

mqueue.h(3HEAD)

msg(3HEAD)

msg.h(3HEAD)

ndbm(3HEAD)

ndbm.h(3HEAD)

netdb(3HEAD)

netdb.h(3HEAD)

nl_types(3HEAD)

nl_types.h(3HEAD)

paths(3HEAD)

paths.h(3HEAD)

poll(3HEAD)

poll.h(3HEAD)

pthread(3HEAD)

pthread.h(3HEAD)

pwd(3HEAD)

pwd.h(3HEAD)

regex(3HEAD)

regex.h(3HEAD)

resource(3HEAD)

resource.h(3HEAD)

sched(3HEAD)

sched.h(3HEAD)

search(3HEAD)

search.h(3HEAD)

select(3HEAD)

select.h(3HEAD)

sem(3HEAD)

semaphore(3HEAD)

semaphore.h(3HEAD)

sem.h(3HEAD)

setjmp(3HEAD)

setjmp.h(3HEAD)

shm(3HEAD)

shm.h(3HEAD)

siginfo(3HEAD)

siginfo.h(3HEAD)

signal(3HEAD)

signal.h(3HEAD)

SMHBA_GetAdapterAttributes(3LIB)

SMHBA_GetAdapterPortAttributes(3LIB)

SMHBA_GetBindingCapability(3LIB)

SMHBA_GetBindingSupport(3LIB)

SMHBA_GetDiscoveredPortAttributes(3LIB)

SMHBA_GetFCPhyAttributes(3LIB)

SMHBA_GetLUNStatistics(3LIB)

SMHBA_GetNumberofPorts(3LIB)

SMHBA_GetPersistentBinding(3LIB)

SMHBA_GetPhyStatistics(3LIB)

SMHBA_GetPortAttributesByWWN(3LIB)

SMHBA_GetPortType(3LIB)

SMHBA_GetProtocolStatistics(3LIB)

SMHBA_GetSASPhyAttributes(3LIB)

SMHBA_GetTargetMapping(3LIB)

SMHBA_GetVendorLibraryAttributes(3LIB)

SMHBA_GetVersion(3LIB)

SMHBA_GetWrapperLibraryAttributes(3LIB)

SMHBA_RegisterForAdapterAddEvents(3LIB)

SMHBA_RegisterForAdapterEvents(3LIB)

SMHBA_RegisterForAdapterPhyStatEvents(3LIB)

SMHBA_RegisterForAdapterPortEvents(3LIB)

SMHBA_RegisterForAdapterPortStatEvents(3LIB)

SMHBA_RegisterForTargetEvents(3LIB)

SMHBA_RegisterLibrary(3LIB)

SMHBA_RemoveAllPersistentBindings(3LIB)

SMHBA_RemovePersistentBinding(3LIB)

SMHBA_ScsiInquiry(3LIB)

SMHBA_ScsiReadCapacity(3LIB)

SMHBA_ScsiReportLuns(3LIB)

SMHBA_SendECHO(3LIB)

SMHBA_SendSMPPassThru(3LIB)

SMHBA_SendTEST(3LIB)

SMHBA_SetBindingSupport(3LIB)

SMHBA_SetPersistentBinding(3LIB)

socket(3HEAD)

socket.h(3HEAD)

spawn(3HEAD)

spawn.h(3HEAD)

stat(3HEAD)

stat.h(3HEAD)

statvfs(3HEAD)

statvfs.h(3HEAD)

stdbool(3HEAD)

stdbool.h(3HEAD)

stddef(3HEAD)

stddef.h(3HEAD)

stdint(3HEAD)

stdint.h(3HEAD)

stdio(3HEAD)

stdio.h(3HEAD)

stdlib(3HEAD)

stdlib.h(3HEAD)

string(3HEAD)

string.h(3HEAD)

strings(3HEAD)

strings.h(3HEAD)

stropts(3HEAD)

stropts.h(3HEAD)

syslog(3HEAD)

syslog.h(3HEAD)

tar(3HEAD)

tar.h(3HEAD)

tcp(3HEAD)

tcp.h(3HEAD)

termios(3HEAD)

termios.h(3HEAD)

tgmath(3HEAD)

tgmath.h(3HEAD)

time(3HEAD)

timeb(3HEAD)

timeb.h(3HEAD)

time.h(3HEAD)

times(3HEAD)

times.h(3HEAD)

types32(3HEAD)

types32.h(3HEAD)

types(3HEAD)

types.h(3HEAD)

ucontext(3HEAD)

ucontext.h(3HEAD)

uio(3HEAD)

uio.h(3HEAD)

ulimit(3HEAD)

ulimit.h(3HEAD)

un(3HEAD)

un.h(3HEAD)

unistd(3HEAD)

unistd.h(3HEAD)

utime(3HEAD)

utime.h(3HEAD)

utmpx(3HEAD)

utmpx.h(3HEAD)

utsname(3HEAD)

utsname.h(3HEAD)

values(3HEAD)

values.h(3HEAD)

wait(3HEAD)

wait.h(3HEAD)

wchar(3HEAD)

wchar.h(3HEAD)

wctype(3HEAD)

wctype.h(3HEAD)

wordexp(3HEAD)

wordexp.h(3HEAD)

libc

- C library

Description

Functions in this library provide various facilities defined by System V, ANSI C, POSIX, and so on. See standards(5). In addition, those facilities previously defined in the internationalization and the wide-character libraries are now defined in this library, as are the facilities previously defined in the multithreading libraries, libthread and libpthread.

INTERFACES

The shared object libc.so.1 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.

____loc1
___errno
__builtin_alloca
__ctype
__fbufsize
__flbf
__flt_rounds
__fpending
__fpurge
__freadable
__freading
__fsetlocking
__fwritable
__fwriting
__huge_val
__iob
__loc1
__major
__makedev
__minor
__nsw_extended_action
__nsw_freeconfig
__nsw_getconfig
__posix_asctime_r
__posix_ctime_r
__posix_getgrgid_r
__posix_getgrnam_r
__posix_getlogin_r
__posix_getpwnam_r
__posix_getpwuid_r
__posix_sigwait
__posix_ttyname_r
__priocntl
__priocntlset
__pthread_cleanup_pop
__pthread_cleanup_push
__sysconf_xpg5
__xpg4
__xpg4_putmsg
__xpg4_putpmsg
_Exit
_altzone
_assert
_cleanup
_ctype
_daylight
_environ
_exit
_exithandle
_filbuf
_flsbuf
_flushlbf
_getdate_err
_getdate_err_addr
_iob
_isnan
_isnand
_lwp_cond_broadcast
_lwp_cond_reltimedwait
_lwp_cond_signal
_lwp_cond_timedwait
_lwp_cond_wait
_lwp_continue
_lwp_info
_lwp_kill
_lwp_mutex_lock
_lwp_mutex_trylock
_lwp_mutex_unlock
_lwp_self
_lwp_sema_init
_lwp_sema_post
_lwp_sema_trywait
_lwp_sema_wait
_lwp_suspend
_lwp_suspend2
_modf
_nextafter
_nsc_trydoorcall
_nss_XbyY_buf_alloc
_nss_XbyY_buf_free
_nss_netdb_aliases
_numeric
_scalb
_sibuf
_sobuf
_stack_grow
_sys_buslist
_sys_cldlist
_sys_fpelist
_sys_illlist
_sys_segvlist
_sys_siginfolistp
_sys_siglist
_sys_siglistn
_sys_siglistp
_sys_traplist
_timezone
_tolower
_toupper
_tzname
_xftw
a64l
abort
abs
access
acct
acl
addrtosymstr
addsev
addseverity
adjtime
aio_cancel
aio_error
aio_fsync
aio_read
aio_return
aio_suspend
aio_waitn
aio_write
aiocancel
aioread
aiowait
aiowrite
alarm
alphasort
altzone
ascftime
asctime
asctime_r
asprintf
atexit
atof
atoi
atol
atoll
atomic_add_16
atomic_add_16_nv
atomic_add_32
atomic_add_32_nv
atomic_add_64
atomic_add_64_nv
atomic_add_8
atomic_add_8_nv
atomic_add_char
atomic_add_char_nv
atomic_add_int
atomic_add_int_nv
atomic_add_long
atomic_add_long_nv
atomic_add_ptr
atomic_add_ptr_nv
atomic_add_short
atomic_add_short_nv
atomic_and_16
atomic_and_16_nv
atomic_and_32
atomic_and_32_nv
atomic_and_64
atomic_and_64_nv
atomic_and_8
atomic_and_8_nv
atomic_and_uchar
atomic_and_uchar_nv
atomic_and_uint
atomic_and_uint_nv
atomic_and_ulong
atomic_and_ulong_nv
atomic_and_ushort
atomic_and_ushort_nv
atomic_cas_16
atomic_cas_32
atomic_cas_64
atomic_cas_8
atomic_cas_ptr
atomic_cas_uchar
atomic_cas_uint
atomic_cas_ulong
atomic_cas_ushort
atomic_clear_long_excl
atomic_dec_16
atomic_dec_16_nv
atomic_dec_32
atomic_dec_32_nv
atomic_dec_64
atomic_dec_64_nv
atomic_dec_8
atomic_dec_8_nv
atomic_dec_ptr
atomic_dec_ptr_nv
atomic_dec_uchar
atomic_dec_uchar_nv
atomic_dec_uint
atomic_dec_uint_nv
atomic_dec_ulong
atomic_dec_ulong_nv
atomic_dec_ushort
atomic_dec_ushort_nv
atomic_inc_16
atomic_inc_16_nv
atomic_inc_32
atomic_inc_32_nv
atomic_inc_64
atomic_inc_64_nv
atomic_inc_8
atomic_inc_8_nv
atomic_inc_ptr
atomic_inc_ptr_nv
atomic_inc_uchar
atomic_inc_uchar_nv
atomic_inc_uint
atomic_inc_uint_nv
atomic_inc_ulong
atomic_inc_ulong_nv
atomic_inc_ushort
atomic_inc_ushort_nv
atomic_or_16
atomic_or_16_nv
atomic_or_32
atomic_or_32_nv
atomic_or_64
atomic_or_64_nv
atomic_or_8
atomic_or_8_nv
atomic_or_uchar
atomic_or_uchar_nv
atomic_or_uint
atomic_or_uint_nv
atomic_or_ulong
atomic_or_ulong_nv
atomic_or_ushort
atomic_or_ushort_nv
atomic_set_long_excl
atomic_swap_16
atomic_swap_32
atomic_swap_64
atomic_swap_8
atomic_swap_ptr
atomic_swap_uchar
atomic_swap_uint
atomic_swap_ulong
atomic_swap_ushort
attropen
backtrace
backtrace_symbols
backtrace_symbols_fd
basename
bcmp
bcopy
bindtextdomain
bind_textdomain_codeset
brk
bsd_signal
bsearch
btowc
bzero
calloc
canonicalize_file_name
catclose
catgets
catopen
cfgetispeed
cfgetospeed
cfsetispeed
cfsetospeed
cftime
chdir
chkauthattr
chmod
chown
chroot
clearenv
clearerr
clock
clock_getres
clock_gettime
clock_nanosleep
clock_settime
close
closedir
closefrom
closelog
cond_broadcast
cond_destroy
cond_init
cond_reltimedwait
cond_signal
cond_timedwait
cond_wait
confstr
creat
crypt
crypt_genhash_impl
crypt_gensalt
crypt_gensalt_impl
csetcol
csetlen
ctermid
ctermid_r
ctime
ctime_r
cuserid
daemon
daylight
dbm_clearerr
dbm_close
dbm_delete
dbm_error
dbm_fetch
dbm_firstkey
dbm_nextkey
dbm_open
dbm_store
dcgettext
dcngettext
decimal_to_double
decimal_to_extended
decimal_to_quadruple
decimal_to_single
dgettext
difftime
directio
dirfd
dirname
div
dl_iterate_phdr
dladdr
dladdr1
dlclose
dldump
dlerror
dlinfo
dlmopen
dlopen
dlsym
dngettext
door_bind
door_call
door_create
door_cred
door_getparam
door_info
door_return
door_revoke
door_server_create
door_setparam
door_ucred
door_unbind
door_xcreate
double_to_decimal
drand48
dup
dup2
econvert
ecvt
enable_extended_FILE_stdio
encrypt
endauthattr
endexecattr
endgrent
endnetgrent
endprofattr
endpwent
enduserattr
endspent
endusershell
endutent
endutxent
environ
erand48
err
errno
errx
euccol
euclen
eucscol
execl
execle
execlp
execv
execve
execvex
execvp
exit
extended_to_decimal
faccessat
facl
fattach
fchdir
fchmod
fchmodat
fchown
fchownat
fchroot
fclose
fcloseall
fcntl
fconvert
fcvt
fdatasync
fdetach
fdopen
fdopendir
fdwalk
feof
ferror
fexecve
fflush
ffs
ffsl
ffsll
fgetattr
fgetc
fgetgrent
fgetgrent_r
fgetpos
fgetpwent
fgetpwent_r
fgets
fgetspent
fgetspent_r
fgetuserattr
fgetwc
fgetws
file_to_decimal
fileno
finite
fls
flsl
flsll
flockfile
fmtmsg
fnmatch
fopen
fork
fork1
forkall
forkallx
forkx
fpathconf
fpclass
fpgetmask
fpgetround
fpgetsticky
fprintf
fpsetmask
fpsetround
fpsetsticky
fputc
fputs
fputwc
fputws
fread
frealpath
free
free_authattr
free_execattr
free_profattr
free_proflist
free_userattr
freopen
frexp
fscanf
fseek
fseeko
fsetattr
fsetpos
fstat
fstatat
fstatfs
fstatvfs
fsync
ftell
ftello
ftime
ftok
ftruncate
ftrylockfile
ftw
func_to_decimal
funlockfile
futimens
futimesat
fwide
fwprintf
fwprintf
fwscanf
gconvert
gcvt
getacct
getattrat
getauthattr
getauthnam
getc
getc_unlocked
getchar
getchar_unlocked
getcontext
getcpuid
getcwd
getdate
getdate_err
getdelim
getdents
getdtablesize
getegid
getenv
geteuid
getexecattr
getexecname
getexecprof
getexecuser
getextmntent
getgid
getgrent
getgrent_r
getgrgid
getgrgid_r
getgrnam
getgrnam_r
getgroups
gethomelgroup
gethostid
gethostname
gethrtime
gethrvtime
getisax
getitimer
getline
getloadavg
getlogin
getlogin_r
getmntany
getmntent
getmsg
getnetgrent
getnetgrent_r
getopt
getopt_clip
getopt_long
getopt_long_only
getpagesize
getpagesizes
getpass
getpassphrase
getpeerucred
getpflags
getpgid
getpgrp
getpid
getpmsg
getppid
getppriv
getpriority
getprofattr
getprofnam
getprogname
getprojid
getpw
getpwent
getpwent_r
getpwnam
getpwnam_r
getpwuid
getpwuid_r
getrctl
getrlimit
getrusage
gets
getsid
getspent
getspent_r
getspnam
getspnam_r
getsubopt
gettaskid
gettext
gettimeofday
gettxt
getuid
getuserattr
getuserattrnam
getuserattruid
getusernam
getusershell
getuseruid
getustack
getutent
getutid
getutline
getutmp
getutmpx
getutxent
getutxid
getutxline
getvfsany
getvfsent
getvfsfile
getvfsspec
getw
getwc
getwchar
getwd
getwidth
getws
getzoneid
getzoneidbyname
getzonenamebyid
glob
globfree
gmtime
gmtime_r
grantpt
gsignal
hasmntopt
hcreate
hdestroy
hsearch
iconv
iconv_close
iconv_open
iconvctl
iconvstr
imaxabs
imaxdiv
index
initgroups
initstate
innetgr
insque
ioctl
is_system_labeled
isaexec
isalnum
isalpha
isascii
isastream
isatty
isblank
iscntrl
isdigit
isenglish
isgraph
isideogram
islower
isnan
isnand
isnanf
isnumber
isphonogram
isprint
ispunct
issetugid
isspace
isspecial
isupper
iswalnum
iswalpha
iswblank
iswcntrl
iswctype
iswdigit
iswgraph
iswlower
iswprint
iswpunct
iswspace
iswupper
iswxdigit
isxdigit
jrand48
kill
killpg
kva_match
l64a
labs
ladd
lchown
lckpwdf
lcong48
ldexp
ldivide
lexp10
lfind
lfmt
link
linkat
lio_listio
llabs
lldiv
llog10
llseek
lltostr
localeconv
localelist
localelistfree
localtime
localtime_r
lockf
logb
lone
longjmp
lrand48
lsearch
lseek
lshiftl
lstat
lsub
lten
lzero
madvise
makecontext
makeutx
malloc
match_execattr
mblen
mbrlen
mbrtowc
mbsinit
mbsrtowcs
mbstowcs
mbtowc
memalign
membar_consumer
membar_enter
membar_exit
membar_producer
memccpy
memchr
memcmp
memcntl
memcpy
meminfo
memmem
memmove
memset
mincore
mkdir
mkdirat
mkfifo
mkfifoat
mknod
mknodat
mkstemp
mktemp
mktime
mlock
mlockall
mmap
mmapobj
modctl
modf
modff
modutx
monitor
mount
mprotect
mq_close
mq_getattr
mq_notify
mq_open
mq_receive
mq_reltimedreceive_np
mq_reltimedsend_np
mq_send
mq_setattr
mq_timedreceive
mq_timedsend
mq_unlink
mrand48
msgctl
msgget
msgids
msgrcv
msgsnap
msgsnd
msync
munlock
munlockall
munmap
mutex_consistent
mutex_destroy
mutex_init
mutex_lock
mutex_trylock
mutex_unlock
nanosleep
nextafter
nfs_getfh
nftw
ngettext
nice
nl_langinfo
nrand48
nss_default_finders
nss_delete
nss_endent
nss_getent
nss_search
nss_setent
ntp_adjtime
ntp_gettime
open
openat
opendir
openlog
optarg
opterr
optind
optopt
p_online
pathconf
pause
pclose
pcsample
perror
pfmt
pipe
plock
poll
popen
port_alert
port_associate
port_create
port_dissociate
port_get
port_getn
port_send
port_sendn
posix_fadvise
posix_fallocate
posix_madvise
posix_memalign
posix_openpt
posix_spawn
posix_spawn_file_actions_addclose
posix_spawn_file_actions_addclosefrom_np
posix_spawn_file_actions_adddup2
posix_spawn_file_actions_addopen
posix_spawn_file_actions_destroy
posix_spawn_file_actions_init
posix_spawnattr_destroy
posix_spawnattr_getflags
posix_spawnattr_getpgroup
posix_spawnattr_getschedparam
posix_spawnattr_getschedpolicy
posix_spawnattr_getsigdefault
posix_spawnattr_getsigignore_np
posix_spawnattr_getsigmask
posix_spawnattr_init
posix_spawnattr_setflags
posix_spawnattr_setpgroup
posix_spawnattr_setschedparam
posix_spawnattr_setschedpolicy
posix_spawnattr_setsigdefault
posix_spawnattr_setsigignore_np
posix_spawnattr_setsigmask
posix_spawnp
ppoll
pread
printf
printstack
priocntl
priocntlset
priv_addset
priv_allocset
priv_basicset
priv_copyset
priv_delset
priv_emptyset
priv_fillset
priv_freeset
priv_getbyname
priv_getbynum
priv_getsetbyname
priv_getsetbynum
priv_gettext
priv_ineffect
priv_intersect
priv_inverse
priv_isemptyset
priv_isequalset
priv_isfullset
priv_ismember
priv_issubset
priv_set
priv_set_to_str
priv_str_to_set
priv_union
processor_bind
processor_info
profil
pselect
pset_assign
pset_bind
pset_create
pset_destroy
pset_getattr
pset_getloadavg
pset_info
pset_list
pset_setattr
psiginfo
psignal
pthread_atfork
pthread_attr_destroy
pthread_attr_getdetachstate
pthread_attr_getguardsize
pthread_attr_getinheritsched
pthread_attr_getschedparam
pthread_attr_getschedpolicy
pthread_attr_getscope
pthread_attr_getstack
pthread_attr_getstackaddr
pthread_attr_getstacksize
pthread_attr_init
pthread_attr_setdetachstate
pthread_attr_setguardsize
pthread_attr_setinheritsched
pthread_attr_setschedparam
pthread_attr_setschedpolicy
pthread_attr_setscope
pthread_attr_setstack
pthread_attr_setstackaddr
pthread_attr_setstacksize
pthread_barrier_destroy
pthread_barrier_init
pthread_barrier_wait
pthread_barrierattr_destroy
pthread_barrierattr_getpshared
pthread_barrierattr_init
pthread_barrierattr_setpshared
pthread_cancel
pthread_cond_broadcast
pthread_cond_destroy
pthread_cond_init
pthread_cond_reltimedwait_np
pthread_cond_signal
pthread_cond_timedwait
pthread_cond_wait
pthread_condattr_destroy
pthread_condattr_getclock
pthread_condattr_getpshared
pthread_condattr_init
pthread_condattr_setclock
pthread_condattr_setpshared
pthread_create
pthread_detach
pthread_equal
pthread_exit
pthread_getconcurrency
pthread_getschedparam
pthread_getspecific
pthread_join
pthread_key_create
pthread_key_create_once_np
pthread_key_delete
pthread_kill
pthread_mutex_consistent
pthread_mutex_destroy
pthread_mutex_getprioceiling
pthread_mutex_init
pthread_mutex_lock
pthread_mutex_reltimedlock_np
pthread_mutex_setprioceiling
pthread_mutex_timedlock
pthread_mutex_trylock
pthread_mutex_unlock
pthread_mutexattr_destroy
pthread_mutexattr_getprioceiling
pthread_mutexattr_getprotocol
pthread_mutexattr_getpshared
pthread_mutexattr_getrobust
pthread_mutexattr_gettype
pthread_mutexattr_init
pthread_mutexattr_setprioceiling
pthread_mutexattr_setprotocol
pthread_mutexattr_setpshared
pthread_mutexattr_setrobust
pthread_mutexattr_settype
pthread_once
pthread_rwlock_destroy
pthread_rwlock_init
pthread_rwlock_rdlock
pthread_rwlock_reltimedrdlock_np
pthread_rwlock_reltimedwrlock_np
pthread_rwlock_timedrdlock
pthread_rwlock_timedwrlock
pthread_rwlock_tryrdlock
pthread_rwlock_trywrlock
pthread_rwlock_unlock
pthread_rwlock_wrlock
pthread_rwlockattr_destroy
pthread_rwlockattr_getpshared
pthread_rwlockattr_init
pthread_rwlockattr_setpshared
pthread_self
pthread_setcancelstate
pthread_setcanceltype
pthread_setconcurrency
pthread_setspecific
pthread_sigmask
pthread_setschedparam
pthread_setschedprio
pthread_spin_destroy
pthread_spin_init
pthread_spin_lock
pthread_spin_trylock
pthread_spin_unlock
pthread_testcancel
ptsname
putacct
putc
putc_unlocked
putchar
putchar_unlocked
putenv
putmsg
putpmsg
putpwent
puts
putspent
pututline
pututxline
putw
putwc
putwchar
putws
pwrite
qeconvert
qecvt
qfconvert
qfcvt
qgconvert
qgcvt
qsort
quadruple_to_decimal
raise
rand
rand_r
random
rctl_walk
rctlblk_get_enforced_value
rctlblk_get_firing_time
rctlblk_get_global_action
rctlblk_get_global_flags
rctlblk_get_local_action
rctlblk_get_local_flags
rctlblk_get_privilege
rctlblk_get_recipient_pid
rctlblk_get_value
rctlblk_set_local_action
rctlblk_set_local_flags
rctlblk_set_privilege
rctlblk_set_recipient_pid
rctlblk_set_value
rctlblk_size
re_comp
re_exec
read
readdir
readdir_r
readlink
readlinkat
readv
realloc
realpath
reboot
regcmp
regcomp
regerror
regex
regexec
regfree
remove
remque
rename
renameat
resetmnttab
resolvepath
rewind
rewinddir
rindex
rmdir
rw_rdlock
rw_read_held
rw_tryrdlock
rw_trywrlock
rw_unlock
rw_write_held
rw_wrlock
rwlock_destroy
rwlock_init
sbrk
scalb
scandir
scanf
sched_get_priority_max
sched_get_priority_min
sched_getparam
sched_getscheduler
sched_rr_get_interval
sched_setparam
sched_setscheduler
sched_yield
schedctl_exit
schedctl_init
schedctl_lookup
schedctl_start
schedctl_stop
seconvert
seed48
seekdir
select
sem_close
sem_destroy
sem_getvalue
sem_init
sem_open
sem_post
sem_reltimedwait_np
sem_timedwait
sem_trywait
sem_unlink
sem_wait
sema_destroy
sema_held
sema_init
sema_post
sema_trywait
sema_wait
semctl
semget
semids
semop
semtimedop
setauthattr
setattrat
setbuf
setbuffer
setcat
setcontext
setegid
setenv
seteuid
setexecattr
setgid
setgrent
setgroups
sethostname
setitimer
setjmp
setkey
setlabel
setlinebuf
setlocale
setlogmask
setnetgrent
setpflags
setpgid
setpgrp
setppriv
setpriority
setprofattr
setprogname
setpwent
setrctl
setregid
setreuid
setrlimit
setsid
setspent
setstate
settaskid
settimeofday
setuid
setuserattr
setusershell
setustack
setutent
setutxent
setvbuf
sfconvert
sgconvert
shm_open
shm_unlink
shmadv
shmat
shmctl
shmdt
shmget
shmids
sig2str
sigaction
sigaddset
sigaltstack
sigdelset
sigemptyset
sigfillset
sigfpe
sighold
sigignore
siginterrupt
sigismember
siglongjmp
signal
sigpause
sigpending
sigprocmask
sigqueue
sigrelse
sigsend
sigsendset
sigset
sigsetjmp
sigstack
sigsuspend
sigtimedwait
sigwait
sigwaitinfo
single_to_decimal
sleep
smt_pause
snprintf
sprintf
srand
srand48
srandom
sscanf
ssignal
stack_getbounds
stack_inbounds
stack_setbounds
stack_violation
stat
statfs
statvfs
stime
stpcpy
stpncpy
str2sig
strcasecmp
strcasestr
strcat
strchrnul
strchr
strcmp
strcoll
strcpy
strcspn
strdup
strdupa
strerror
strerror_r
strfmon
strftime
string_to_decimal
strlcat
strlcpy
strlen
strncasecmp
strncat
strncmp
strncpy
strndup
strndupa
strnstr
strpbrk
strptime
strrchr
strsep
strsignal
strspn
strstr
strtod
strtof
strtoimax
strtok
strtok_r
strtol
strtold
strtoll
strtoul
strtoull
strtoumax
strtows
strxfrm
swab
swapcontext
swapctl
swprintf
swscanf
symlink
symlinkat
sync
sync_instruction_memory
sysconf
sysfs
sysinfo
syslog
system
tcdrain
tcflow
tcflush
tcgetattr
tcgetpgrp
tcgetsid
tcsendbreak
tcsetattr
tcsetpgrp
tdelete
tell
telldir
tempnam
textdomain
tfind
thr_continue
thr_create
thr_exit
thr_getconcurrency
thr_getprio
thr_getspecific
thr_join
thr_keycreate
thr_keycreate_once
thr_kill
thr_main
thr_min_stack
thr_self
thr_setconcurrency
thr_setprio
thr_setspecific
thr_sigsetmask
thr_stksegment
thr_suspend
thr_yield
time
timer_create
timer_delete
timer_getoverrun
timer_gettime
timer_settime
times
timezone
tmpfile
tmpnam
tmpnam_r
toascii
tolower
toupper
towctrans
towlower
towupper
truncate
tsearch
ttyname
ttyname_r
ttyslot
twalk
tzname
tzset
u8_strcmp
u8_textprep_str
u8_validate
uadmin
ualarm
uconv_u16tou32
uconv_u16tou8
uconv_u32tou16
uconv_u32tou8
uconv_u8tou16
uconv_u8tou32
ucred_free
ucred_get
ucred_getegid
ucred_geteuid
ucred_getgroups
ucred_getpflags
ucred_getpid
ucred_getprivset
ucred_getprojid
ucred_getrgid
ucred_getruid
ucred_getsgid
ucred_getsuid
ucred_getzoneid
ucred_size
ulckpwdf
ulimit
ulltostr
umask
umount
umount2
uname
ungetc
ungetwc
unlink
unlinkat
unlockpt
unordered
unsetenv
updwtmp
updwtmpx
usleep
ustat
utime
utimensat
utimes
utmpname
utmpxname
uucopy
valloc
vasprintf
verr
verrx
vfork
vforkx
vfprintf
vfscanf
vfwprintf
vfwscanf
vhangup
vlfmt
vpfmt
vprintf
vscanf
vsnprintf
vsprintf
vsscanf
vswprintf
vswscanf
vsyslog
vwarn
vwarnx
vwprintf
vwscanf
wait
wait3
wait4
waitid
waitpid
walkcontext
warn
warnx
watoll
wcpcpy
wcpncpy
wcrtomb
wcscasecmp
wcscat
wcschr
wcscmp
wcscoll
wcscpy
wcscspn
wcsdup
wcsftime
wcslen
wcsncasecmp
wcsncat
wcsncmp
wcsncpy
wcsnlen
wcspbrk
wcsrchr
wcsrtombs
wcsspn
wcsstr
wcstod
wcstof
wcstoimax
wcstok
wcstol
wcstold
wcstoll
wcstombs
wcstoul
wcstoull
wcstoumax
wcswcs
wcswidth
wcsxfrm
wctob
wctomb
wctrans
wctype
wcwidth
wmemchr
wmemcmp
wmemcpy
wmemmove
wmemset
wordexp
wordfree
wprintf
wracct
write
writev
wscanf
wscasecmp
wscat
wschr
wscmp
wscol
wscoll
wscpy
wscspn
wsdup
wslen
wsncasecmp
wsncat
wsncmp
wsncpy
wspbrk
wsprintf
wsrchr
wsscanf
wsspn
wstod
wstok
wstol
wstoll
wstostr
wsxfrm
yield
The following interfaces are unique to the 32-bit version of this library:
__div64
__mul64
__posix_readdir_r
__rem64
__udiv64
__urem64
_bufendtab
_lastbuf
_s_fcntl
_sys_nsig
_xftw64
aio_cancel64
aio_error64
aio_fsync64
aio_read64
aio_return64
aio_suspend64
aio_waitn64
aio_write64
creat64
fgetpos64
fopen64
freopen64
fseeko64
fsetpos64
fstat64
fstatvfs64
ftello64
ftruncate64
ftw64
getdents64
getrlimit64
lio_listio64
lockf64
lseek64
lstat64
mkstemp64
mmap64
nftw64
open64
pread64
ptrace
pwrite64
readdir64
readdir64_r
s_fcntl
s_ioctl
select_large_fdset
setrlimit64
stat64
statvfs64
sys_errlist
sys_nerr
tell64
tmpfile64
truncate64

The following interfaces are unique to the 32-bit SPARC version of this library:

.div
.mul
.rem
.stret1
.stret2
.stret4
.stret8
.udiv
.umul
.urem
_Q_add
_Q_cmp
_Q_cmpe
_Q_div
_Q_dtoq
_Q_feq
_Q_fge
_Q_fgt
_Q_fle
_Q_flt
_Q_fne
_Q_itoq
_Q_lltoq
_Q_mul
_Q_neg
_Q_qtod
_Q_qtoi
_Q_qtoll
_Q_qtos
_Q_qtou
_Q_qtoull
_Q_sqrt
_Q_stoq
_Q_sub
_Q_ulltoq
_Q_utoq
__dtoll
__dtou
__dtoull
__ftoll
__ftou
__ftoull
__umul64
The following interfaces are unique to the 32-bit x86 version of this library:
__fpstart
_fp_hw
_fpstart
_fxstat
_lxstat
_nuname
_thr_errno_addr
_xmknod
_xstat
nuname

The following interfaces are unique to the 64-bit SPARC version of this library:

_Qp_add
_Qp_cmp
_Qp_cmpe
_Qp_div
_Qp_dtoq
_Qp_feq
_Qp_fge
_Qp_fgt
_Qp_fle
_Qp_flt
_Qp_fne
_Qp_itoq
_Qp_mul
_Qp_neg
_Qp_qtod
_Qp_qtoi
_Qp_qtos
_Qp_qtoui
_Qp_qtoux
_Qp_qtox
_Qp_sqrt
_Qp_stoq
_Qp_sub
_Qp_uitoq
_Qp_uxtoq
_Qp_xtoq
__align_cpy_1
__align_cpy_16
__align_cpy_2
__align_cpy_4
__align_cpy_8
__dtoul
__ftoul
__sparc_utrap_install

Files

/lib/libc.so.1

shared object

/lib/64/libc.so.1

64–bit shared object

/lib/c_synonyms.so.1

A compatibility library to provide access to obsolete libc synonym symbols

/lib/64/c_synonyms.so.1

A 64-bit compatibility library to provide access to obsolete libc synonym symbols

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library
MT-Level
Safe

See Also

pvs(1), Intro(2), Intro(3), attributes(5), lf64(5), standards(5)

Notes

The synonyms compatibility library, c_synonyms.so.1, provides a mechanism to support old applications and libraries that were mistakenly built using now-obsolete synonym symbols from libc.

Before the advent of direct binding (-B direct) libc provided many functions with two names. For example, getpwent() and _getpwent(). These two names referred to exactly the same function in libc. The leading-underscore symbol was intended to be used by system libraries in order to avoid conflicting with an application that might define its own version of getpwent() with completely different semantics. Standard-conforming applications may not define and use function names with leading underscores.

Solaris system libraries are now built with direct binding. This means that a system library that calls getpwent() will bind directly to the instance of getpwent() in libc, even if the application to which it is linked defines a different getpwent() for its own use. The application binds to its instance of getpwent() and there is no resulting conflict. The direct binding mechanism is equally available to libraries not delivered with Solaris.

As a result of this evolution, most of the leading-underscore synonym symbols have been removed from libc. This means that applications that call these now-obsolete function names will cease to work. They will typically draw the error:

$ ./application
ld.so.1: fatal: relocation error: symbol _getpwent:
referenced symbol not found
Killed

All of the old leading-underscore symbols have been copied to the synonyms compatibility library. This library simply redirects the calls to the non-underscore instances of the corresponding functions in libc. Use it as a pre-loaded object:

$ LD_PRELOAD=c_synonyms.so.1 ./application

The synonyms compatibility library is intended neither to enable the generation of applications that call the obsolete leading-underscore synonym functions, nor to endorse this particular programming practice.