Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

libc(3lib) [bsd man page]

libc(3LIB)							Interface Libraries							libc(3LIB)

NAME
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 inter- faces. ____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 _Exit _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_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 _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 _stack_grow _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 _xftw a64l abort abs access acct acl addsev addseverity adjtime alarm alphasort altzone ascftime asctime asctime_r 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_long atomic_add_long_nv atomic_and_32 atomic_and_uint atomic_or_32 atomic_or_uint attropen basename bcmp bcopy bindtextdomain bind_textdomain_codeset brk bsd_signal bsearch btowc bzero calloc catclose catgets catopen cfgetispeed cfgetospeed cfsetispeed cfsetospeed cftime chdir chmod chown chroot clearerr clock 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 daylight dcgettext dcngettext dbm_clearerr dbm_close dbm_delete dbm_error dbm_fetch dbm_firstkey dbm_nextkey dbm_open dbm_store dcgettext decimal_to_double decimal_to_extended decimal_to_quadruple decimal_to_single dgettext difftime directio dirname div dladdr dladdr1 dlclose dldump dlerror dlinfo dlmopen dlopen dlsym dngettext double_to_decimal drand48 dup dup2 econvert ecvt encrypt endgrent endnetgrent endpwent endspent endusershell endutent endutxent environ erand48 errno euccol euclen eucscol execl execle execlp execv execve execvp exit extended_to_decimal facl fattach fchdir fchmod fchown fchownat fchroot fclose fcntl fconvert fcvt fdetach fdopen fdopendir fdwalk feof ferror fflush ffs fgetc fgetgrent fgetgrent_r fgetpos fgetpwent fgetpwent_r fgets fgetspent fgetspent_r fgetwc fgetws file_to_decimal fileno finite flockfile fmtmsg fnmatch fopen fork fork1 forkall fpathconf fpclass fpgetmask fpgetround fpgetsticky fprintf fpsetmask fpsetround fpsetsticky fputc fputs fputwc fputws fread free freopen frexp fscanf fseek fseeko fsetpos fstat fstatat fstatfs fstatvfs fsync ftell ftello ftime ftok ftruncate ftrylockfile ftw func_to_decimal funlockfile futimesat fwide fwprintf fwrite fwscanf gconvert gcvt getacct getc getc_unlocked getchar getchar_unlocked getcontext getcpuid getcwd getdate getdate_err getdents getdtablesize getegid getenv geteuid getexecname getextmntent getgid getgrent getgrent_r getgrgid getgrgid_r getgrnam getgrnam_r getgroups gethomelgroup gethostid gethostname gethrtime gethrvtime getisax getitimer 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 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 getusershell 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 imaxabs imaxdiv index initgroups initstate innetgr insque ioctl 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 l64a labs ladd lchown lckpwdf lcong48 ldexp ldivide lexp10 lfind lfmt link llabs lldiv llog10 llseek lltostr localeconv localtime localtime_r lockf logb lone longjmp lrand48 lsearch lseek lshiftl lstat lsub lten lzero madvise makecontext makeutx malloc mblen mbrlen mbrtowc mbsinit mbsrtowcs mbstowcs mbtowc memalign memccpy memchr memcmp memcntl memcpy meminfo memmove memset mincore mkdir mkfifo mknod mkstemp mktemp mktime mlock mlockall mmap modctl modf modff modutx monitor mount mprotect mrand48 msgctl msgget msgids msgrcv msgsnap msgsnd msync munlock munlockall munmap mutex_destroy mutex_init mutex_lock mutex_trylock mutex_unlock 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_openpt posix_spawn posix_spawn_file_actions_addclose 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_getsigmask posix_spawnattr_init posix_spawnattr_setflags posix_spawnattr_setpgroup posix_spawnattr_setschedparam posix_spawnattr_setschedpolicy posix_spawnattr_setsigdefault posix_spawnattr_setsigmask posix_spawnp pread printf printstack priocntl priocntlset priv_addset priv_allocset 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_delete pthread_kill pthread_mutex_consistent_np 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_np pthread_mutexattr_gettype pthread_mutexattr_init pthread_mutexattr_setprioceiling pthread_mutexattr_setprotocol pthread_mutexattr_setpshared pthread_mutexattr_setrobust_np 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 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 schedctl_exit schedctl_init schedctl_lookup schedctl_start schedctl_stop seconvert seed48 seekdir select sema_destroy sema_held sema_init sema_post sema_trywait sema_wait semctl semget semids semop semtimedop setbuf setbuffer setcat setcontext setegid setenv seteuid setgid setgrent setgroups sethostname setitimer setjmp setkey setlabel setlinebuf setlocale setlogmask setnetgrent setpflags setpgid setpgrp setppriv setpriority setpwent setrctl setregid setreuid setrlimit setsid setspent setstate settaskid settimeofday setuid setusershell setustack setutent setutxent setvbuf sfconvert sgconvert shmat shmctl shmdt shmget shmids sig2str sigaction sigaddset sigaltstack sigdelset sigemptyset sigfillset sigfpe sighold sigignore siginterrupt sigismember siglongjmp signal sigpause sigpending sigprocmask sigrelse sigsend sigsendset sigset sigsetjmp sigstack sigsuspend sigwait single_to_decimal sleep snprintf sprintf srand srand48 srandom sscanf ssignal stack_getbounds stack_inbounds stack_setbounds stack_violation stat statfs statvfs stime str2sig strcasecmp strcat strchr strcmp strcoll strcpy strcspn strdup strerror strerror_r strfmon strftime string_to_decimal strlcat strlcpy strlen strncasecmp strncat strncmp strncpy strpbrk strptime strrchr strsignal strspn strstr strtod strtof strtoimax strtok strtok_r strtol strtold strtoll strtoul strtoull strtoumax strtows strxfrm swab swapcontext swapctl swprintf swscanf symlink 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_kill thr_main thr_min_stack thr_self thr_setconcurrency thr_setprio thr_setspecific thr_sigsetmask thr_stksegment thr_suspend thr_yield time times timezone tmpfile tmpnam tmpnam_r toascii tolower toupper towctrans towlower towupper truncate tsearch ttyname ttyname_r ttyslot twalk tzname tzset uadmin ualarm 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 utimes utmpname utmpxname valloc vfork vfprintf vfscanf vfwprintf vfwscanf vhangup vlfmt vpfmt vprintf vscanf vsnprintf vsprintf vsscanf vswprintf vswscanf vsyslog vwprintf vwscanf wait wait3 wait4 waitid waitpid walkcontext watoll wcrtomb wcscat wcschr wcscmp wcscoll wcscpy wcscspn wcsftime wcslen wcsncat wcsncmp wcsncpy 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 _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 creat64 fgetpos64 fopen64 freopen64 fseeko64 fsetpos64 fstat64 fstatvfs64 ftello64 ftruncate64 ftw64 getdents64 getrlimit64 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 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl (32-bit) | +-----------------------------+-----------------------------+ | |SUNWcslx (64-bit) | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
pvs(1), intro(2), intro(3), attributes(5), lf64(5), standards(5) SunOS 5.10 12 Oct 2004 libc(3LIB)
Man Page