manpages.info - online man pages   

SunOS man pages : libc (3)

Interface Libraries                                    libc(3LIB)

NAME

libc - the 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 inter- nationalization and the wide-character libraries are now defined in this library. The shared object libc.so.1 provides the public interfaces defined below. For additional information on shared object interfaces, see intro(3). Many features in this library are implemented upon dynamic linking. Some of these features are not implemented in the archive version. Interface names followed by an asterisk (*) do not appear in the 64-bit version of the library.

INTERFACES

SYSVABI_1.3 (generic) - The System V Application Binary Interface, Third Edi- tion: abort abs _access access _acct acct _alarm alarm _altzone asctime __assert atexit atof atoi atol bsearch calloc _catclose catclose _catgets catgets _catopen catopen _cfgetispeed cfgetispeed _cfgetospeed cfgetospeed _cfsetispeed cfsetispeed _cfsetospeed cfsetospeed _chdir chdir _chmod chmod _chown chown _chroot chroot _cleanup clearerr clock _close close _closedir closedir _creat creat _ctermid ctermid ctime __ctype _cuserid cuserid _daylight daylight difftime div _dup dup _dup2 dup2 _environ environ _execl execl _execle execle _execlp SunOS 5.8 Last change: 4 Aug 1998 1 Interface Libraries libc(3LIB) execlp _execv execv _execve execve _execvp execvp _exit exit _fattach fattach _fchdir fchdir _fchmod fchmod _fchown fchown fclose _fcntl fcntl _fdetach fdetach _fdopen fdopen feof ferror fflush fgetc fgetpos fgets __filbuf _fileno fileno __flsbuf _fmtmsg fmtmsg fopen _fork fork _fpathconf fpathconf fprintf fputc fputs fread free freopen frexp fscanf fseek fsetpos _fstat fstat _fstatvfs fstatvfs _fsync fsync ftell _ftok ftok fwrite getc getchar _getcontext getcontext _getcwd getcwd _getdate getdate _getdate_err getdate_err _getegid getegid getenv _geteuid geteuid _getgid getgid _getgrgid getgrgid _getgrnam getgrnam _getgroups getgroups _getlogin getlogin _getmsg getmsg _getopt getopt _getpass getpass _getpgid getpgid _getpgrp getpgrp _getpid getpid _getpmsg getpmsg _getppid getppid _getpwnam getpwnam _getpwuid getpwuid _getrlimit getrlimit gets _getsid getsid _getsubopt getsubopt _gettxt gettxt _getuid getuid _getw getw gmtime _grantpt grantpt _hcreate hcreate _hdestroy hdestroy _hsearch hsearch _initgroups initgroups __iob _ioctl ioctl isalnum isalpha _isascii isascii _isastream isastream _isatty isatty iscntrl isdigit isgraph islower _isnan isnan _isnand isnand isprint ispunct isspace isupper isxdigit _kill kill SunOS 5.8 Last change: 4 Aug 1998 2 Interface Libraries libc(3LIB) labs _lchown lchown ldexp ldiv _lfind lfind _link link localeconv localtime _lockf lockf logb longjmp _lsearch lsearch _lseek lseek _lstat lstat _makecontext makecontext malloc mblen mbstowcs mbtowc _memccpy memccpy memchr memcmp _memcntl memcntl memcpy memmove memset _mkdir mkdir _mkfifo mkfifo _mknod mknod _mktemp mktemp mktime _mlock mlock _mmap mmap _modf modf _monitor monitor _mount mount _mprotect mprotect _msgctl msgctl _msgget msgget _msgrcv msgrcv _msgsnd msgsnd _msync msync _munlock munlock _munmap munmap _nextafter nextafter _nftw nftw _nice nice _nl_langinfo nl_langinfo _numeric _open open _opendir opendir optarg opterr optind optopt _pathconf pathconf _pause pause _pclose pclose perror _pipe pipe _poll poll _popen popen printf _profil profil _ptrace ptrace _ptsname ptsname putc putchar _putenv putenv _putmsg putmsg _putpmsg putpmsg puts _putw putw qsort raise rand _read read _readdir readdir _readlink readlink _readv readv realloc remove _rename rename rewind _rewinddir rewinddir _rmdir rmdir _scalb scalb scanf _seekdir seekdir _semctl semctl _semget semget _semop semop setbuf _setcontext setcontext _setgid setgid _setgroups SunOS 5.8 Last change: 4 Aug 1998 3 Interface Libraries libc(3LIB) setgroups setjmp setlabel setlocale _setpgid setpgid _setpgrp setpgrp _setrlimit setrlimit _setsid setsid _setuid setuid setvbuf _shmat shmat _shmctl shmctl _shmdt shmdt _shmget shmget _sigaction sigaction _sigaddset sigaddset _sigaltstack sigaltstack _sigdelset sigdelset _sigemptyset sigemptyset _sigfillset sigfillset _sighold sighold _sigignore sigignore _sigismember sigismember _siglongjmp siglongjmp signal _sigpause sigpause _sigpending sigpending _sigprocmask sigprocmask _sigrelse sigrelse _sigsend sigsend _sigsendset sigsendset _sigset sigset _sigsetjmp sigsetjmp _sigsuspend sigsuspend _sleep sleep sprintf srand sscanf _stat stat _statvfs statvfs _stime stime strcat strchr strcmp strcoll strcpy strcspn _strdup strdup strerror strftime strlen strncat strncmp strncpy strpbrk strrchr strspn strstr strtod strtok strtol strtoul strxfrm _swab swab _swapcontext swapcontext _symlink symlink _sync sync _sysconf sysconf system _tcdrain tcdrain _tcflow tcflow _tcflush tcflush _tcgetattr tcgetattr _tcgetpgrp tcgetpgrp _tcgetsid tcgetsid _tcsendbreak tcsendbreak _tcsetattr tcsetattr _tcsetpgrp tcsetpgrp _tdelete tdelete _tell tell _telldir telldir _tempnam tempnam _tfind tfind _time time _times times _timezone timezone tmpfile tmpnam _toascii toascii _tolower tolower _toupper toupper _tsearch tsearch _ttyname ttyname _twalk twalk _tzname SunOS 5.8 Last change: 4 Aug 1998 4 Interface Libraries libc(3LIB) tzname _tzset tzset _ulimit ulimit _umask umask _umount umount _uname uname ungetc _unlink unlink _unlockpt unlockpt _utime utime vfprintf vprintf vsprintf _wait wait _waitid waitid _waitpid waitpid wcstombs wctomb _write write _writev writev _xftw SYSVABI_1.3 (SPARC) - The SPARC Processor Supplement. This interface con- tains all of the generic SYSVABI_1.3, and defines: _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_mul _Q_neg _Q_qtod _Q_qtoi _Q_qtos _Q_qtou _Q_sqrt _Q_stoq _Q_sub _Q_utoq .div __dtou __ftou __huge_val .mul .rem .stret1 .stret2 .stret4 .stret8 .udiv .umul .urem SYSVABI_1.3 (i386) - The Intel386 Processor Supplement. This interface con- tains all of the generic SYSVABI_1.3, and defines: __flt_rounds _fp_hw __fpstart _fpstart _fxstat __huge_val _lxstat _nuname nuname _sbrk sbrk _xmknod _xstat SISCD_2.3 (SPARC only) - The SPARC Compliance Definition, revison 2.3. This interface inherits all definitions from SYSVABI_1.3, and defines: _addseverity addseverity asctime_r _crypt crypt ctime_r __div64 __dtoll __dtoull _encrypt encrypt endgrent SunOS 5.8 Last change: 4 Aug 1998 5 Interface Libraries libc(3LIB) endpwent ___errno errno fgetgrent fgetgrent_r fgetpwent fgetpwent_r flockfile __ftoll __ftoull funlockfile getchar_unlocked getc_unlocked getgrent getgrent_r getgrgid_r getgrnam_r _getitimer getitimer getlogin_r getpwent getpwent_r getpwnam_r getpwuid_r _gettimeofday gettimeofday gmtime_r _iob localtime_r __mul64 putchar_unlocked putc_unlocked rand_r readdir_r __rem64 _sbrk sbrk setgrent _setitimer setitimer _setkey setkey setpwent strtok_r _sysinfo sysinfo ttyname_r __udiv64 __umul64 __urem64 SUNW_1.1 (generic): a64l acl addsev adjtime altzone ascftime _assert atoll bcmp bcopy brk _bufendtab __builtin_alloca bzero cfree cftime closelog cond_broadcast cond_destroy cond_init cond_signal cond_timedwait cond_wait confstr csetcol csetlen ctermid_r _ctype dbm_close dbm_delete dbm_fetch dbm_firstkey dbm_nextkey dbm_open dbm_store decimal_to_double decimal_to_extended decimal_to_quadruple decimal_to_single double_to_decimal drand48 econvert ecvt endnetgrent endspent endusershell endutent endutxent erand48 euccol euclen eucscol _exithandle exportfs extended_to_decimal facl fchroot fconvert fcvt ffs fgetspent fgetspent_r SunOS 5.8 Last change: 4 Aug 1998 6 Interface Libraries libc(3LIB) _filbuf file_to_decimal finite _flsbuf fnmatch fork1 fpclass fpgetmask fpgetround fpgetsticky fpsetmask fpsetround fpsetsticky fstatfs ftime ftruncate ftw func_to_decimal gconvert gcvt _getdate_err_addr getdents getdtablesize gethostid gethostname gethrtime gethrvtime getmntany getmntent getnetgrent getnetgrent_r getpagesize getpriority getpw getrusage getspent getspent_r getspnam getspnam_r getusershell getutent getutid getutline getutmp getutmpx getutxent getutxid getutxline getvfsany getvfsent getvfsfile getvfsspec getwd getwidth glob globfree gsignal hasmntopt iconv iconv_close iconv_open index initstate innetgr _insque insque isnanf jrand48 killpg l64a ladd _lastbuf* lckpwdf lcong48 ldivide lexp10 lfmt llabs lldiv llog10 llseek lltostr lmul lone lrand48 lshiftl lsub lten _lwp_cond_broadcast _lwp_cond_signal _lwp_cond_timedwait _lwp_cond_wait _lwp_continue _lwp_create _lwp_exit _lwp_getprivate _lwp_info _lwp_kill _lwp_makecontext _lwp_mutex_lock _lwp_mutex_trylock _lwp_mutex_unlock _lwp_self _lwp_sema_init SunOS 5.8 Last change: 4 Aug 1998 7 Interface Libraries libc(3LIB) _lwp_sema_post _lwp_sema_wait _lwp_setprivate _lwp_suspend _lwp_wait lzero madvise __major __makedev makeutx memalign mincore __minor mlockall modctl modff modutx mrand48 munlockall mutex_destroy _mutex_held mutex_init _mutex_lock mutex_lock mutex_trylock mutex_unlock nfs_getfh nrand48 _nsc_trydoorcall _nss_XbyY_buf_alloc _nss_XbyY_buf_free nss_default_finders nss_delete nss_endent nss_getent _nss_netdb_aliases nss_search nss_setent __nsw_extended_action __nsw_freeconfig __nsw_getconfig openlog pfmt plock p_online __posix_asctime_r __posix_ctime_r __posix_getgrgid_r __posix_getgrnam_r __posix_getlogin_r __posix_getpwnam_r __posix_getpwuid_r __posix_readdir_r* __posix_sigwait __posix_ttyname_r pread __priocntl __priocntlset processor_bind processor_info psiginfo psignal pthread_condattr_destroy pthread_condattr_getpshared pthread_condattr_init pthread_condattr_setpshared pthread_cond_broadcast pthread_cond_destroy pthread_cond_init pthread_cond_signal pthread_cond_timedwait pthread_cond_wait pthread_mutexattr_destroy pthread_mutexattr_ getprioceiling pthread_mutexattr_getprotocol pthread_mutexattr_getpshared pthread_mutexattr_init pthread_mutexattr_ setprioceiling pthread_mutexattr_setprotocol pthread_mutexattr_setpshared pthread_mutex_destroy pthread_mutex_getprioceiling pthread_mutex_init pthread_mutex_lock pthread_mutex_setprioceiling pthread_mutex_trylock pthread_mutex_unlock putpwent putspent pututline pututxline pwrite qeconvert qecvt qfconvert qfcvt qgconvert qgcvt quadruple_to_decimal random SunOS 5.8 Last change: 4 Aug 1998 8 Interface Libraries libc(3LIB) realpath reboot re_comp re_exec regcomp regerror regexec regfree _remque remque rindex rwlock_init rw_rdlock _rw_read_held rw_read_held rw_tryrdlock rw_trywrlock rw_unlock _rw_write_held rw_write_held rw_wrlock seconvert seed48 select _sema_held sema_held sema_init sema_post sema_trywait sema_wait setbuffer setcat setegid seteuid sethostname setlinebuf setlogmask setnetgrent setpriority setregid setreuid setspent setstate settimeofday setusershell setutent setutxent sfconvert sgconvert _sibuf sig2str sigfpe sigwait single_to_decimal _sobuf srand48 srandom ssignal statfs str2sig strcasecmp strfmon string_to_decimal strncasecmp strptime strsignal strtoll strtoull swapctl sync_instruction_memory _sys_buslist _syscall syscall _sys_cldlist _sys_fpelist sysfs _sys_illlist* _syslog syslog _sys_nsig* _sys_segvlist _sys_siginfolistp _sys_siglist _sys_siglistn _sys_siglistp _sys_traplist thr_continue thr_create thr_exit thr_getconcurrency thr_getprio thr_getspecific thr_join thr_keycreate thr_kill thr_min_stack thr_self thr_setconcurrency thr_setprio thr_setspecific thr_sigsetmask thr_stksegment thr_suspend thr_yield SunOS 5.8 Last change: 4 Aug 1998 9 Interface Libraries libc(3LIB) tmpnam_r truncate ttyslot uadmin ualarm ulckpwdf ulltostr unordered updwtmp updwtmpx usleep ustat utimes utmpname utmpxname valloc vfork vhangup vlfmt vpfmt vsyslog wait3 wait4 wordexp wordfree __xpg4 yield SUNW_1.1 (SPARC) - This interface inherits all definitions from the gen- eric SUNW_1.1 and the SISCD_2.3, and defines: __flt_rounds SUNW_1.1 (i386) - This interface contains all definitions from SISCD_2.3, inherits all definitions from the generic SUNW_1.1 and the SYSVABI_1.3, and defines: _thr_errno_addr SUNW_1.2 - SUNW_1.17 (generic) - These interfaces inherit all definitions from the gen- eric SUNW_1.1, and define: basename bindtextdomain bsd_signal _creat64* creat64* dbm_clearerr dbm_error dcgettext dgettext directio dirname fgetpos64* fgetwc fgetws fopen64* fputwc fputws freopen64* fseeko fseeko64* fsetpos64* _fstat64* fstat64* _fstatvfs64* fstatvfs64* ftello ftello64* _ftruncate64* ftruncate64* _ftw64* ftw64* _getdents64* getdents64* _getexecname SunOS 5.8 Last change: 4 Aug 1998 10 Interface Libraries libc(3LIB) getexecname getpassphrase _getrlimit64* getrlimit64* gettext getwc getwchar getws isenglish isideogram isnumber isphonogram isspecial iswalnum iswalpha iswcntrl iswctype iswdigit iswgraph iswlower iswprint iswpunct iswspace iswupper iswxdigit __loc1 _lockf64* lockf64* _longjmp _lseek64* lseek64* _lstat64* lstat64* _lwp_sema_trywait _mkstemp64* mkstemp64* _mmap64* mmap64* _nftw64* nftw64* _ntp_adjtime ntp_adjtime _ntp_gettime ntp_gettime _open64* open64* _pread64* pread64* pset_assign pset_bind pset_create pset_destroy pset_info pthread_atfork pthread_attr_destroy pthread_attr_getdetachstate pthread_attr_getinheritsched pthread_attr_getschedparam pthread_attr_getschedpolicy pthread_attr_getscope pthread_attr_getstackaddr pthread_attr_getstacksize pthread_attr_init pthread_attr_setdetachstate pthread_attr_setinheritsched pthread_attr_setschedparam pthread_attr_setschedpolicy pthread_attr_setscope pthread_attr_setstackaddr pthread_attr_setstacksize pthread_cancel __pthread_cleanup_pop __pthread_cleanup_push pthread_create pthread_detach pthread_equal pthread_exit pthread_getschedparam pthread_getspecific pthread_join pthread_key_create pthread_key_delete pthread_kill pthread_once pthread_self pthread_setcancelstate pthread_setcanceltype pthread_setschedparam pthread_setspecific pthread_sigmask pthread_testcancel putwc putwchar putws _pwrite64* pwrite64* _readdir64* readdir64* _readdir64_r* readdir64_r* regcmp regex _resolvepath resolvepath SunOS 5.8 Last change: 4 Aug 1998 11 Interface Libraries libc(3LIB) _rwlock_destroy rwlock_destroy _sema_destroy sema_destroy _setjmp _setrlimit64* setrlimit64* _s_fcntl* s_fcntl* siginterrupt sigstack s_ioctl* snprintf _stat64* stat64* _statvfs64* statvfs64* strtows textdomain tmpfile64* towctrans towlower towupper _truncate64* truncate64* ungetwc vsnprintf watoll wcscat wcschr wcscmp wcscoll wcscpy wcscspn wcsftime wcslen wcsncat wcsncmp wcsncpy wcspbrk wcsrchr wcsspn wcstod wcstok wcstol wcstoul wcswcs wcswidth wcsxfrm wctrans wctype wcwidth 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 _xftw64* __xpg4_putmsg __xpg4_putpmsg SUNW_1.18 (generic) - These interfaces inherit all definitions from the gen- eric SUNW_1.1, and define: btowc __fbufsize __flbf _flushbf __fpending __fpurge __freadable __freading __fwritable __fwriting fwide fwprintf SunOS 5.8 Last change: 4 Aug 1998 12 Interface Libraries libc(3LIB) fwscanf getloadavg mbsinit mbsrtowcs mbrlen mbrtowc pcsample pthread_attr_getguardsize pthread_attr_setguardsize pthread_getconcurrency pthread_setconcurrency pthread_mutexattr_gettype pthread_mutexattr_settype pthread_rwlock_destroy pthread_rwlock_init pthread_rwlock_rdlock pthread_rwlock_tryrdlock pthread_rwlock_wrlock pthread_rwlock_trytrywrlock pthread_rwlock_unlock pthread_rwlockattr_destroy pthread_rwlockattr_init pthread_rwlockattr_getpshared pthread_rwlockattr_setpshared swprintf swscanf vswprintf vswprintf vwprintf wcrtomb wcsrtombs wcsstr wctob wmemchr wmemcmp wmemcpy wmemmove wmemset wprintf wscanf

FILES

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

ATTRIBUTES

See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Availability | SUNWcsl, SUNWarc (32-bit) | |_____________________________|_____________________________| | | SUNWcslx (64-bit) | |_____________________________|_____________________________| | MT-Level | Safe | |_____________________________|_____________________________|

SEE ALSO

pvs(1), intro(2), intro(3), attributes(5), lf64(5), standards(5) SunOS 5.8 Last change: 4 Aug 1998 13