Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Interface Librarieslibc(3LIB)


NAME

 libc - C library

SYNOPSIS

 
cc [ flag... ] file... -lc [ 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.

Many features in this library are implemented upon dynamic linking. Some of these features are not implemented in the archive version.

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
__assert__builtin_alloca
__ctype__fbufsize
__filbuf__flbf
__flsbuf__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_access
_acct_addseverity
_alarm_altzone
_assert_catclose
_catgets_catopen
_cfgetispeed_cfgetospeed
_cfsetispeed_cfsetospeed
_chdir_chmod
_chown_chroot
_cleanup_close
_closedir_closefrom
_creat_crypt
_ctermid_ctype
_cuserid_daylight
_dup_dup2
_encrypt_environ
_execl_execle
_execlp_execv
_execve_execvp
_exit_exithandle
_fattach_fchdir
_fchmod_fchown
_fcntl_fdetach
_fdopen_fdwalk
_filbuf_fileno
_flsbuf_flushlbf
_fmtmsg_fork
_fpathconf_fstat
_fstatvfs_fsync
_ftok_getacct
_getcontext_getcwd
_getdate_getdate_err
_getdate_err_addr_getegid
_geteuid_getexecname
_getgid_getgrgid
_getgrnam_getgroups
_getitimer_getlogin
_getmsg_getopt
_getpass_getpgid
_getpgrp_getpid
_getpmsg_getppid
_getprojid_getpwnam
_getpwuid_getrlimit
_getsid_getsubopt
_gettaskid_gettimeofday
_gettxt_getuid
_getw_grantpt
_hcreate_hdestroy
_hsearch_initgroups
_insque_iob
_ioctl_isascii
_isastream_isatty
_isnan_isnand
_kill_lchown
_lfind_link
_lockf_longjmp
_lsearch_lseek
_lstat_lwp_cond_broadcast
_lwp_cond_reltimedwait_lwp_cond_signal
_lwp_cond_timedwait_lwp_cond_wait
_lwp_continue_lwp_create
_lwp_detach_lwp_exit
_lwp_getprivate_lwp_info
_lwp_kill_lwp_makecontext
_lwp_mutex_lock_lwp_mutex_trylock
_lwp_mutex_unlock_lwp_self
_lwp_sema_init_lwp_sema_post
_lwp_sema_trywait_lwp_sema_wait
_lwp_setprivate_lwp_suspend
_lwp_suspend2_lwp_wait
_makecontext_memccpy
_memcntl_mkdir
_mkfifo_mknod
_mkstemp_mktemp
_mlock_mmap
_modf_monitor
_mount_mprotect
_msgctl_msgget
_msgids_msgrcv
_msgsnap_msgsnd
_msync_munlock
_munmap_mutex_held
_mutex_lock_nextafter
_nftw_nice
_nl_langinfo_nsc_trydoorcall
_nss_XbyY_buf_alloc_nss_XbyY_buf_free
_nss_netdb_aliases_ntp_adjtime
_ntp_gettime_numeric
_open_opendir
_pathconf_pause
_pclose_pipe
_poll_popen
_profil_ptrace
_ptsname_putacct
_putenv_putmsg
_putpmsg_putw
_read_readdir
_readlink_readv
_remque_rename
_resolvepath_rewinddir
_rmdir_rw_read_held
_rw_write_held_rwlock_destroy
_sbrk_scalb
_seekdir_sema_destroy
_sema_held_semctl
_semget_semids
_semop_semtimedop
_setcontext_setgid
_setgroups_setitimer
_setjmp_setkey
_setpgid_setpgrp
_setrlimit_setsid
_settaskid_setuid
_shmat_shmctl
_shmdt_shmget
_shmids_sibuf
_sigaction_sigaddset
_sigaltstack_sigdelset
_sigemptyset_sigfillset
_sighold_sigignore
_sigismember_siglongjmp
_sigpause_sigpending
_sigprocmask_sigrelse
_sigsend_sigsendset
_sigset_sigsetjmp
_sigsuspend_sleep
_sobuf_stat
_statvfs_stime
_strdup_swab
_swapcontext_symlink
_sync_sys_buslist
_sys_cldlist_sys_fpelist
_sys_illlist_sys_segvlist
_sys_siginfolistp_sys_siglist
_sys_siglistn_sys_siglistp
_sys_traplist_syscall
_sysconf_sysinfo
_syslog_tcdrain
_tcflow_tcflush
_tcgetattr_tcgetpgrp
_tcgetsid_tcsendbreak
_tcsetattr_tcsetpgrp
_tdelete_tell
_telldir_tempnam
_tfind_time
_times_timezone
_toascii_tolower
_toupper_tsearch
_ttyname_twalk
_tzname_tzset
_ulimit_umask
_umount_umount2
_uname_unlink
_unlockpt_utime
_wait_waitid
_waitpid_wracct
_write_writev
_xftwa64l
abortabs
accessacct
acladdsev
addseverityadjtime
alarmaltzone
ascftimeasctime
asctime_ratexit
atofatoi
atolatoll
attropenbasename
bcmpbcopy
bindtextdomainbind_textdomain_codeset
brkbsd_signal
bsearchbtowc
bzerocalloc
catclosecatgets
catopencfgetispeed
cfgetospeedcfree
cfsetispeedcfsetospeed
cftimechdir
chmodchown
chrootclearerr
clockclose
closedirclosefrom
closelogcond_broadcast
cond_destroycond_init
cond_signalcond_timedwait
cond_waitconfstr
creatcrypt
csetcolcsetlen
ctermidctermid_r
ctimectime_r
cuseriddaylight
dcgettextdcngettext
dbm_clearerrdbm_close
dbm_deletedbm_error
dbm_fetchdbm_firstkey
dbm_nextkeydbm_open
dbm_storedcgettext
decimal_to_doubledecimal_to_extended
decimal_to_quadrupledecimal_to_single
dgettextdifftime
directiodirname
divdouble_to_decimal
drand48dup
dup2econvert
ecvtencrypt
endgrentendnetgrent
endpwentendspent
endusershellendutent
endutxentenviron
erand48errno
euccoleuclen
eucscolexecl
execleexeclp
execvexecve
execvpexit
exportfsextended_to_decimal
faclfattach
fchdirfchmod
fchownfchownat
fchrootfclose
fcntlfconvert
fcvtfdetach
fdopenfdopendir
fdwalkfeof
ferrorfflush
ffsfgetc
fgetgrentfgetgrent_r
fgetposfgetpwent
fgetpwent_rfgets
fgetspentfgetspent_r
fgetwcfgetws
file_to_decimalfileno
finiteflockfile
fmtmsgfnmatch
fopenfork
fork1fpathconf
fpclassfpgetmask
fpgetroundfpgetsticky
fprintffpsetmask
fpsetroundfpsetsticky
fputcfputs
fputwcfputws
freadfree
freopenfrexp
fscanffseek
fseekofsetpos
fstatfstatat
fstatfsfstatvfs
fsyncftell
ftelloftime
ftokftruncate
ftrylockfileftw
func_to_decimalfunlockfile
futimesatfwide
fwprintffwrite
fwscanfgconvert
gcvtgetacct
getcgetc_unlocked
getchargetchar_unlocked
getcontextgetcpuid
getcwdgetdate
getdate_errgetdents
getdtablesizegetegid
getenvgeteuid
getexecnamegetextmntent
getgidgetgrent
getgrent_rgetgrgid
getgrgid_rgetgrnam
getgrnam_rgetgroups
gethomelgroupgethostid
gethostnamegethrtime
gethrvtimegetitimer
getloadavggetlogin
getlogin_rgetmntany
getmntentgetmsg
getnetgrentgetnetgrent_r
getoptgetpagesize
getpagesizesgetpass
getpassphrasegetpgid
getpgrpgetpid
getpmsggetppid
getprioritygetprojid
getpwgetpwent
getpwent_rgetpwnam
getpwnam_rgetpwuid
getpwuid_rgetrctl
getrlimitgetrusage
getsgetsid
getspentgetspent_r
getspnamgetspnam_r
getsuboptgettaskid
gettextgettimeofday
gettxtgetuid
getusershellgetutent
getutidgetutline
getutmpgetutmpx
getutxentgetutxid
getutxlinegetvfsany
getvfsentgetvfsfile
getvfsspecgetw
getwcgetwchar
getwdgetwidth
getwsglob
globfreegmtime
gmtime_rgrantpt
gsignalhasmntopt
hcreatehdestroy
hsearchiconv
iconv_closeiconv_open
indexinitgroups
initstateinnetgr
insqueioctl
isaexecisalnum
isalphaisascii
isastreamisatty
iscntrlisdigit
isenglishisgraph
isideogramislower
isnanisnand
isnanfisnumber
isphonogramisprint
ispunctissetugid
isspaceisspecial
isupperiswalnum
iswalphaiswcntrl
iswctypeiswdigit
iswgraphiswlower
iswprintiswpunct
iswspaceiswupper
iswxdigitisxdigit
jrand48kill
killpgl64a
labsladd
lchownlckpwdf
lcong48ldexp
ldividelexp10
lfindlfmt
linkllabs
lldivllog10
llseeklltostr
localeconvlocaltime
localtime_rlockf
logblone
longjmplrand48
lsearchlseek
lshiftllstat
lsublten
lzeromadvise
makecontextmakeutx
mallocmblen
mbrlenmbrtowc
mbsinitmbsrtowcs
mbstowcsmbtowc
memalignmemccpy
memchrmemcmp
memcntlmemcpy
meminfomemmove
memsetmincore
mkdirmkfifo
mknodmkstemp
mktempmktime
mlockmlockall
mmapmodctl
modfmodff
modutxmonitor
mountmprotect
mrand48msgctl
msggetmsgids
msgrcvmsgsnap
msgsndmsync
munlockmunlockall
munmapmutex_destroy
mutex_initmutex_lock
mutex_trylockmutex_unlock
nextafternfs_getfh
nftwngettext
nicenl_langinfo
nrand48nss_default_finders
nss_deletenss_endent
nss_getentnss_search
nss_setentntp_adjtime
ntp_gettimeopen
openatopendir
openlogoptarg
opterroptind
optoptp_online
pathconfpause
pclosepcsample
perrorpfmt
pipeplock
pollpopen
preadprintf
printstackprocessor_bind
processor_infoprofil
pset_assignpset_bind
pset_createpset_destroy
pset_getattrpset_getloadavg
pset_infopset_list
pset_setattrpsiginfo
psignalpthread_atfork
pthread_attr_destroypthread_attr_getdetachstate
pthread_attr_getguardsizepthread_attr_getinheritsched
pthread_attr_getschedparampthread_attr_getschedpolicy
pthread_attr_getscopepthread_attr_getstackaddr
pthread_attr_getstacksizepthread_attr_init
pthread_attr_setdetachstatepthread_attr_setguardsize
pthread_attr_setinheritschedpthread_attr_setschedparam
pthread_attr_setschedpolicypthread_attr_setscope
pthread_attr_setstackaddrpthread_attr_setstacksize
pthread_cancelpthread_cond_broadcast
pthread_cond_destroypthread_cond_init
pthread_cond_reltimedwait_nppthread_cond_signal
pthread_cond_timedwaitpthread_cond_wait
pthread_condattr_destroypthread_condattr_getpshared
pthread_condattr_initpthread_condattr_setpshared
pthread_createpthread_detach
pthread_equalpthread_exit
pthread_getconcurrencypthread_getschedparam
pthread_getspecificpthread_join
pthread_key_createpthread_key_delete
pthread_killpthread_mutex_destroy
pthread_mutex_getprioceilingpthread_mutex_init
pthread_mutex_lockpthread_mutex_setprioceiling
pthread_mutex_trylockpthread_mutex_unlock
pthread_mutexattr_destroypthread_mutexattr_ getprioceiling
pthread_mutexattr_getprotocolpthread_mutexattr_getpshared
pthread_mutexattr_gettypepthread_mutexattr_init
pthread_mutexattr_setprioceilingpthread_mutexattr_setprotocol
pthread_mutexattr_setpsharedpthread_mutexattr_settype
pthread_oncepthread_rwlock_destroy
pthread_rwlock_initpthread_rwlock_rdlock
pthread_rwlock_tryrdlockpthread_rwlock_trywrlock
pthread_rwlock_unlockpthread_rwlock_wrlock
pthread_rwlockattr_destroypthread_rwlockattr_getpshared
pthread_rwlockattr_initpthread_rwlockattr_setpshared
pthread_selfpthread_setcancelstate
pthread_setcanceltypepthread_setconcurrency
pthread_setschedparampthread_setspecific
pthread_sigmaskpthread_testcancel
ptraceptsname
putacctputc
putc_unlockedputchar
putchar_unlockedputenv
putmsgputpmsg
putpwentputs
putspentpututline
pututxlineputw
putwcputwchar
putwspwrite
qeconvertqecvt
qfconvertqfcvt
qgconvertqgcvt
qsortquadruple_to_decimal
raiserand
rand_rrandom
rctl_walkrctlblk_get_enforced_value
rctlblk_get_firing_timerctlblk_get_global_action
rctlblk_get_global_flagsrctlblk_get_local_action
rctlblk_get_local_flagsrctlblk_get_privilege
rctlblk_get_recipient_pidrctlblk_get_value
rctlblk_set_local_actionrctlblk_set_local_flags
rctlblk_set_privilegerctlblk_set_value
rctlblk_set_valuere_comp
re_execread
readdirreaddir_r
readlinkreadv
reallocrealpath
rebootregcmp
regcompregerror
regexregexec
regfreeremove
remquerename
renameatresetmnttab
resolvepathrewind
rewinddirrindex
rmdirrw_rdlock
rw_read_heldrw_tryrdlock
rw_trywrlockrw_unlock
rw_write_heldrw_wrlock
rwlock_destroyrwlock_init
sbrkscalb
scanfseconvert
seed48seekdir
selectsema_destroy
sema_heldsema_init
sema_postsema_trywait
sema_waitsemctl
semgetsemids
semopsemtimedop
setbufsetbuffer
setcatsetcontext
setegidseteuid
setgidsetgrent
setgroupssethostname
setitimersetjmp
setkeysetlabel
setlinebufsetlocale
setlogmasksetnetgrent
setpgidsetpgrp
setprioritysetpwent
setrctlsetregid
setreuidsetrlimit
setsidsetspent
setstatesettaskid
settimeofdaysetuid
setusershellsetutent
setutxentsetvbuf
sfconvertsgconvert
shmatshmctl
shmdtshmget
shmidssig2str
sigactionsigaddset
sigaltstacksigdelset
sigemptysetsigfillset
sigfpesighold
sigignoresiginterrupt
sigismembersiglongjmp
signalsigpause
sigpendingsigprocmask
sigrelsesigsend
sigsendsetsigset
sigsetjmpsigstack
sigsuspendsigwait
single_to_decimalsleep
snprintfsprintf
srandsrand48
srandomsscanf
ssignalstat
statfsstatvfs
stimestr2sig
strcasecmpstrcat
strchrstrcmp
strcollstrcpy
strcspnstrdup
strerrorstrfmon
strftimestring_to_decimal
strlcatstrlcpy
strlenstrncasecmp
strncatstrncmp
strncpystrpbrk
strptimestrrchr
strsignalstrspn
strstrstrtod
strtokstrtok_r
strtolstrtoll
strtoulstrtoull
strtowsstrxfrm
swabswapcontext
swapctlswprintf
swscanfsymlink
syncsync_instruction_memory
syscallsysconf
sysfssysinfo
syslogsystem
tcdraintcflow
tcflushtcgetattr
tcgetpgrptcgetsid
tcsendbreaktcsetattr
tcsetpgrptdelete
telltelldir
tempnamtextdomain
tfindthr_continue
thr_createthr_exit
thr_getconcurrencythr_getprio
thr_getspecificthr_join
thr_keycreatethr_kill
thr_mainthr_min_stack
thr_selfthr_setconcurrency
thr_setpriothr_setspecific
thr_sigsetmaskthr_stksegment
thr_suspendthr_yield
timetimes
timezonetmpfile
tmpnamtmpnam_r
toasciitolower
touppertowctrans
towlowertowupper
truncatetsearch
ttynamettyname_r
ttyslottwalk
tznametzset
uadminualarm
ulckpwdfulimit
ulltostrumask
umountumount2
unameungetc
ungetwcunlink
unlinkatunlockpt
unorderedupdwtmp
updwtmpxusleep
ustatutime
utimesutmpname
utmpxnamevalloc
vforkvfprintf
vfscanfvfwprintf
vfwscanfvhangup
vlfmtvpfmt
vprintfvscanf
vsnprintfvsprintf
vsscanfvswprintf
vswscanfvsyslog
vwprintfvwscanf
waitwait3
wait4waitid
waitpidwalkcontext
watollwcrtomb
wcscatwcschr
wcscmpwcscoll
wcscpywcscspn
wcsftimewcslen
wcsncatwcsncmp
wcsncpywcspbrk
wcsrchrwcsrtombs
wcsspnwcsstr
wcstodwcstok
wcstolwcstombs
wcstoulwcswcs
wcswidthwcsxfrm
wctobwctomb
wctranswctype
wcwidthwmemchr
wmemcmpwmemcpy
wmemmovewmemset
wordexpwordfree
wprintfwracct
writewritev
wscanfwscasecmp
wscatwschr
wscmpwscol
wscollwscpy
wscspnwsdup
wslenwsncasecmp
wsncatwsncmp
wsncpywspbrk
wsprintfwsrchr
wsscanfwsspn
wstodwstok
wstolwstoll
wstostrwsxfrm
yield 

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

__div64__mul64
__posix_readdir_r__rem64
__udiv64__urem64
_bufendtab_creat64
_fstat64_fstatvfs64
_ftruncate64_ftw64
_getdents64_getrlimit64
_lastbuf_lockf64
_lseek64_lstat64
_mkstemp64_mmap64
_nftw64_open64
_pread64_pwrite64
_readdir64_readdir64_r
_s_fcntl_setrlimit64
_stat64_statvfs64
_sys_nsig_tell64
_truncate64_xftw64
creat64fgetpos64
fopen64freopen64
fseeko64fsetpos64
fstat64fstatvfs64
ftello64ftruncate64
ftw64getdents64
getrlimit64lockf64
lseek64lstat64
mkstemp64mmap64
nftw64open64
pread64pwrite64
readdir64readdir64_r
s_fcntls_ioctl
select_large_fdsetsetrlimit64
stat64statvfs64
sys_errlistsys_nerr
tell64tmpfile64
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 Intel version of this library:

__fpstart_fp_hw
_fpstart_fxstat
_lxstat_nuname
_thr_errno_addr_xmknod
_xstatnuname

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

 
/usr/lib/libc.a
archive library
/usr/lib/libc.so.1
shared object
/usr/lib/64/libc.so.1
64-bit shared object

ATTRIBUTES

 

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

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsl, SUNWarc (32-bit)
 SUNWcslx (64-bit)
MT-LevelSafe

SEE ALSO

 

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


SunOS 5.9Go To TopLast Changed 27 Feb 2001

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.