1 LIBC(3LIB)                    Interface Libraries                   LIBC(3LIB)
   2 
   3 
   4 
   5 NAME
   6        libc - C library
   7 
   8 DESCRIPTION
   9        Functions in this library provide various facilities defined by System
  10        V, ANSI C, POSIX, and so on.  See standards(5). In addition, those
  11        facilities previously defined in the internationalization and the wide-
  12        character libraries are now defined in this library, as are the
  13        facilities previously defined in the multithreading libraries,
  14        libthread and libpthread.
  15 
  16 INTERFACES
  17        The shared object libc.so.1 provides the public interfaces defined
  18        below.  See Intro(3) for additional information on shared object
  19        interfaces.
  20 
  21 
  22 
  23 
  24        ____loc1                            ___errno
  25        __builtin_alloca                    __ctype
  26        __fbufsize                          __flbf
  27        __flt_rounds                        __fpending
  28        __fpurge                            __freadable
  29        __freading                          __fsetlocking
  30        __fwritable                         __fwriting
  31        __huge_val                          __iob
  32        __loc1                              __major
  33        __makedev                           __mb_cur_max_l
  34        __minor
  35        __nsw_extended_action               __nsw_freeconfig
  36        __nsw_getconfig                     __posix_asctime_r
  37        __posix_ctime_r                     __posix_getgrgid_r
  38        __posix_getgrnam_r                  __posix_getlogin_r
  39        __posix_getpwnam_r                  __posix_getpwuid_r
  40        __posix_sigwait                     __posix_ttyname_r
  41        __priocntl                          __priocntlset
  42        __pthread_cleanup_pop               __pthread_cleanup_push
  43        __sysconf_xpg5                      __unlockpt_xpg4
  44        __xpg4                              __xpg4_putmsg
  45        __xpg4_putpmsg                      _Exit
  46        _altzone                            _assert
  47        _cleanup                            _ctype
  48        _daylight                           _environ
  49        _exit                               _exithandle
  50        _filbuf                             _flsbuf
  51        _flushlbf                           _getdate_err
  52        _getdate_err_addr                   _iob
  53        _isnan                              _isnand
  54        _lwp_cond_broadcast                 _lwp_cond_reltimedwait
  55        _lwp_cond_signal                    _lwp_cond_timedwait
  56        _lwp_cond_wait                      _lwp_continue
  57        _lwp_info                           _lwp_kill
  58        _lwp_mutex_lock                     _lwp_mutex_trylock
  59        _lwp_mutex_unlock                   _lwp_self
  60        _lwp_sema_init                      _lwp_sema_post
  61        _lwp_sema_trywait                   _lwp_sema_wait
  62        _lwp_suspend                        _lwp_suspend2
  63        _modf                               _nextafter
  64        _nsc_trydoorcall                    _nss_XbyY_buf_alloc
  65        _nss_XbyY_buf_free                  _nss_netdb_aliases
  66        _numeric                            _scalb
  67        _sibuf                              _sobuf
  68        _stack_grow                         _sys_buslist
  69        _sys_cldlist                        _sys_fpelist
  70        _sys_illlist                        _sys_segvlist
  71        _sys_siginfolistp                   _sys_siglist
  72        _sys_siglistn                       _sys_siglistp
  73        _sys_traplist                       _timezone
  74        _tolower                            _toupper
  75        _tzname                             _xftw
  76                                            a64l
  77        abort                               abs
  78        access                              acct
  79        acl                                 addrtosymstr
  80        addsev                              addseverity
  81        adjtime                             aio_cancel
  82        aio_error                           aio_fsync
  83        aio_read                            aio_return
  84        aio_suspend                         aio_waitn
  85        aio_write                           aiocancel
  86        aioread                             aiowait
  87        aiowrite                            alarm
  88        alphasort                           altzone
  89        ascftime                            asctime
  90        asctime_r                           asprintf
  91        atexit                              atof
  92        atoi                                atol
  93        atoll                               atomic_add_16
  94        atomic_add_16_nv                    atomic_add_32
  95        atomic_add_32_nv                    atomic_add_64
  96        atomic_add_64_nv                    atomic_add_8
  97        atomic_add_8_nv                     atomic_add_char
  98        atomic_add_char_nv                  atomic_add_int
  99        atomic_add_int_nv                   atomic_add_long
 100        atomic_add_long_nv                  atomic_add_ptr
 101        atomic_add_ptr_nv                   atomic_add_short
 102        atomic_add_short_nv                 atomic_and_16
 103        atomic_and_16_nv                    atomic_and_32
 104        atomic_and_32_nv                    atomic_and_64
 105        atomic_and_64_nv                    atomic_and_8
 106        atomic_and_8_nv                     atomic_and_uchar
 107        atomic_and_uchar_nv                 atomic_and_uint
 108        atomic_and_uint_nv                  atomic_and_ulong
 109        atomic_and_ulong_nv                 atomic_and_ushort
 110        atomic_and_ushort_nv                atomic_cas_16
 111        atomic_cas_32                       atomic_cas_64
 112        atomic_cas_8                        atomic_cas_ptr
 113        atomic_cas_uchar                    atomic_cas_uint
 114        atomic_cas_ulong                    atomic_cas_ushort
 115        atomic_clear_long_excl              atomic_dec_16
 116        atomic_dec_16_nv                    atomic_dec_32
 117        atomic_dec_32_nv                    atomic_dec_64
 118        atomic_dec_64_nv                    atomic_dec_8
 119        atomic_dec_8_nv                     atomic_dec_ptr
 120        atomic_dec_ptr_nv                   atomic_dec_uchar
 121        atomic_dec_uchar_nv                 atomic_dec_uint
 122        atomic_dec_uint_nv                  atomic_dec_ulong
 123        atomic_dec_ulong_nv                 atomic_dec_ushort
 124        atomic_dec_ushort_nv                atomic_inc_16
 125        atomic_inc_16_nv                    atomic_inc_32
 126        atomic_inc_32_nv                    atomic_inc_64
 127        atomic_inc_64_nv                    atomic_inc_8
 128        atomic_inc_8_nv                     atomic_inc_ptr
 129        atomic_inc_ptr_nv                   atomic_inc_uchar
 130        atomic_inc_uchar_nv                 atomic_inc_uint
 131        atomic_inc_uint_nv                  atomic_inc_ulong
 132        atomic_inc_ulong_nv                 atomic_inc_ushort
 133        atomic_inc_ushort_nv                atomic_or_16
 134        atomic_or_16_nv                     atomic_or_32
 135        atomic_or_32_nv                     atomic_or_64
 136        atomic_or_64_nv                     atomic_or_8
 137        atomic_or_8_nv                      atomic_or_uchar
 138        atomic_or_uchar_nv                  atomic_or_uint
 139        atomic_or_uint_nv                   atomic_or_ulong
 140        atomic_or_ulong_nv                  atomic_or_ushort
 141        atomic_or_ushort_nv                 atomic_set_long_excl
 142        atomic_swap_16                      atomic_swap_32
 143        atomic_swap_64                      atomic_swap_8
 144        atomic_swap_ptr                     atomic_swap_uchar
 145        atomic_swap_uint                    atomic_swap_ulong
 146        atomic_swap_ushort                  attropen
 147        backtrace                           backtrace_symbols
 148        backtrace_symbols_fd                basename
 149        bcmp                                bcopy
 150        bindtextdomain                      bind_textdomain_codeset
 151        brk                                 bsd_signal
 152        bsearch                             btowc
 153        btowc_l                             bzero
 154        calloc                              canonicalize_file_name
 155        catclose                            catgets
 156        catopen                             cfgetispeed
 157        cfgetospeed                         cfsetispeed
 158        cfsetospeed                         cftime
 159        chdir                               chmod
 160        chown                               chroot
 161        clearerr                            clearenv
 162        clock                               clock_getres
 163        clock_gettime                       clock_nanosleep
 164        clock_settime                       close
 165        closedir                            closefrom
 166        closelog                            cond_broadcast
 167        cond_destroy                        cond_init
 168        cond_reltimedwait                   cond_signal
 169        cond_timedwait                      cond_wait
 170        confstr                             creat
 171        crypt                               crypt_genhash_impl
 172        crypt_gensalt                       crypt_gensalt_impl
 173        csetcol                             csetlen
 174        ctermid                             ctermid_r
 175        ctime                               ctime_r
 176        cuserid                             daemon
 177        daylight                            dbm_clearerr
 178        dbm_close                           dbm_delete
 179        dbm_error                           dbm_fetch
 180        dbm_firstkey                        dbm_nextkey
 181        dbm_open                            dbm_store
 182        dcgettext                           dcngettext
 183        decimal_to_double                   decimal_to_extended
 184        decimal_to_quadruple                decimal_to_single
 185        dgettext                            difftime
 186        directio                            dirfd
 187        dirname                             div
 188        dladdr                              dladdr1
 189        dlclose                             dldump
 190        dlerror                             dlinfo
 191        dlmopen                             dlopen
 192        dlsym                               dngettext
 193        door_bind                           door_call
 194        door_create                         door_cred
 195        door_getparam                       door_info
 196        door_return                         door_revoke
 197        door_server_create                  door_setparam
 198        door_ucred                          door_unbind
 199        double_to_decimal                   drand48
 200        dup                                 dup2
 201        duplocale                           econvert
 202        ecvt                                enable_extended_FILE_stdio
 203        encrypt                             endgrent
 204        endnetgrent                         endpwent
 205        endspent                            endusershell
 206        endutent                            endutxent
 207        environ                             erand48
 208        err                                 errno
 209        errx                                euccol
 210        euclen                              eucscol
 211        execl                               execle
 212        execlp                              execv
 213        execve                              execvp
 214        exit                                extended_to_decimal
 215        faccessat                           facl
 216        fattach                             fchdir
 217        fchmod                              fchmodat
 218        fchown                              fchownat
 219        fchroot                             fclose
 220        fcloseall                           fcntl
 221        fconvert                            fcvt
 222        fdatasync                           fdetach
 223        fdopen                              fdopendir
 224        fdwalk                              feof
 225        ferror                              fflush
 226        ffs                                 ffsl
 227        ffsll                               fls
 228        flsl                                flsll
 229        fgetattr                            fgetc
 230        fgetgrent                           fgetgrent_r
 231        fgetpos                             fgetpwent
 232        fgetpwent_r                         fgets
 233        fgetspent                           fgetspent_r
 234        fgetwc                              fgetwc_l
 235        fgetws                              file_to_decimal
 236        fileno                              finite
 237        flockfile                           fmtmsg
 238        fnmatch                             fopen
 239        fork                                fork1
 240        forkall                             forkallx
 241        forkx                               fpathconf
 242        fpclass                             fpgetmask
 243        fpgetround                          fpgetsticky
 244        fprintf                             fpsetmask
 245        fpsetround                          fpsetsticky
 246        fputc                               fputs
 247        fputwc                              fputws
 248        fread                               free
 249        freelocale                          freopen
 250        frexp                               fscanf
 251        fseek                               fseeko
 252        fsetattr                            fsetpos
 253        fstat                               fstatat
 254        fstatfs                             fstatvfs
 255        fsync                               ftell
 256        ftello                              ftime
 257        ftok                                ftruncate
 258        ftrylockfile                        ftw
 259        func_to_decimal                     funlockfile
 260        futimens                            futimes
 261        futimesat                           fwide
 262        fwprintf                            fwrite
 263        fwscanf                             gconvert
 264        gcvt                                getacct
 265        getattrat                           getc
 266        getc_unlocked                       getchar
 267        getchar_unlocked                    getcontext
 268        getcpuid                            getcwd
 269        getdate                             getdate_err
 270        getdents                            getdtablesize
 271        getegid                             getenv
 272        geteuid                             getexecname
 273        getextmntent                        getgid
 274        getgrent                            getgrent_r
 275        getgrgid                            getgrgid_r
 276        getgrnam                            getgrnam_r
 277        getgroups                           gethomelgroup
 278        gethostid                           gethostname
 279        gethrtime                           gethrvtime
 280        getisax                             getitimer
 281        getloadavg                          getlogin
 282        getlogin_r                          getmntany
 283        getmntent                           getmsg
 284        get_nprocs                          get_nprocs_conf
 285        getnetgrent                         getnetgrent_r
 286        getopt                              getopt_clip
 287        getopt_long                         getopt_long_only
 288        getpagesize                         getpagesizes
 289        getpass                             getpassphrase
 290        getpeerucred                        getpflags
 291        getpgid                             getpgrp
 292        getpid                              getpmsg
 293        getppid                             getppriv
 294        getpriority                         getprogname
 295        getprojid                           getpw
 296        getpwent                            getpwent_r
 297        getpwnam                            getpwnam_r
 298        getpwuid                            getpwuid_r
 299        getrctl                             getrlimit
 300        getrusage                           gets
 301        getsid                              getspent
 302        getspent_r                          getspnam
 303        getspnam_r                          getsubopt
 304        gettaskid                           gettext
 305        gettimeofday                        gettxt
 306        getuid                              getusershell
 307        getustack                           getutent
 308        getutid                             getutline
 309        getutmp                             getutmpx
 310        getutxent                           getutxid
 311        getutxline                          getvfsany
 312        getvfsent                           getvfsfile
 313        getvfsspec                          getw
 314        getwc                               getwc_l
 315        getwchar                            getwchar_l
 316        getwd                               getwidth
 317        getws                               getzoneid
 318        getzoneidbyname                     getzonenamebyid
 319        glob                                globfree
 320        gmtime                              gmtime_r
 321        grantpt                             gsignal
 322        hasmntopt                           hcreate
 323        hdestroy                            hsearch
 324        iconv                               iconv_close
 325        iconv_open                          imaxabs
 326        imaxdiv                             index
 327        initgroups                          initstate
 328        innetgr                             insque
 329        ioctl                               is_system_labeled
 330        isaexec                             isalnum
 331        isalnum_l                           isalpha
 332        isalpha_l                           isascii
 333        isastream                           isatty
 334        isblank                             isblank_l
 335        iscntrl                             iscntrl_l
 336        isdigit                             isdigit_l
 337        isenglish                           isgraph
 338        isgraph_l                           isideogram
 339        islower                             islower_l
 340        isnan                               isnand
 341        isnanf                              isnumber
 342        isphonogram                         isprint
 343        isprint_l                           ispunct
 344        ispunct_l                           issetugid
 345        isspace                             isspace_l
 346        isspecial                           isupper
 347        isupper_l                           iswalnum
 348        iswalnum_l                          iswalpha
 349        iswalpha_l                          iswblank
 350        iswblank_l                          iswcntrl
 351        iswcntrl_l                          iswctype
 352        iswctype_l                          iswdigit
 353        iswdigit_l                          iswideogram
 354        iswideogram_l                       iswgraph
 355        iswgraph_l                          iswhexnumber
 356        iswhexnumber_l                      iswlower
 357        iswlower_l                          iswnumber
 358        iswnumber_l                         iswphonogram
 359        iswphonogram_l                      iswprint
 360        iswprint_l                          iswpunct
 361        iswpunct_l                          iswspace
 362        iswspace_l                          iswspecial
 363        iswspecial_l                        iswupper
 364        iswupper_l                          iswxdigit
 365        iswxdigit_l                         isxdigit
 366        isxdigit_l                          jrand48
 367        kill                                killpg
 368        l64a                                labs
 369        ladd                                lchown
 370        lckpwdf                             lcong48
 371        ldexp                               ldivide
 372        lexp10                              lfind
 373        lfmt                                link
 374        linkat                              lio_listio
 375        llabs                               lldiv
 376        llog10                              llseek
 377        lltostr                             localeconv
 378        localtime                           localtime_r
 379        lockf                               logb
 380        lone                                longjmp
 381        lrand48                             lsearch
 382        lseek                               lshiftl
 383        lstat                               lsub
 384        lten                                lutimes
 385        lzero                               madvise
 386        makecontext                         makeutx
 387        malloc                              mblen
 388        mblen_l                             mbrlen
 389        mbrlen_l                            mbrtowc
 390        mbrtowc_l                           mbsinit
 391        mbsinit_l                           mbsnrtowcs
 392        mbsnrtowcs_l                        mbsrtowcs
 393        mbsrtowcs_l                         mbstowcs
 394        mbstowcs_l                          mbtowc
 395        mbtowc_l                            memalign
 396        membar_consumer                     membar_enter
 397        membar_exit                         membar_producer
 398        memccpy                             memchr
 399        memcmp                              memcntl
 400        memcpy                              meminfo
 401        memmem                              memmove
 402        memset                              mincore
 403        mkdir                               mkdirat
 404        mkfifo                              mkfifoat
 405        mknod                               mknodat
 406        mkstemp                             mktemp
 407        mktime                              mlock
 408        mlockall                            mmap
 409        mmapobj                             modctl
 410        modf                                modff
 411        modutx                              monitor
 412        mount                               mprotect
 413        mq_close                            mq_getattr
 414        mq_notify                           mq_open
 415        mq_receive                          mq_reltimedreceive_np
 416        mq_reltimedsend_np                  mq_send
 417        mq_setattr                          mq_timedreceive
 418        mq_timedsend                        mq_unlink
 419        mrand48                             msgctl
 420        msgget                              msgids
 421        msgrcv                              msgsnap
 422        msgsnd                              msync
 423        munlock                             munlockall
 424        munmap                              mutex_consistent
 425        mutex_destroy                       mutex_init
 426        mutex_lock                          mutex_trylock
 427        mutex_unlock                        nanosleep
 428        nextafter                           newlocale
 429        nfs_getfh                           nftw
 430        ngettext                            nice
 431        nl_langinfo                         nl_langinfo_l
 432        nrand48                             nss_default_finders
 433        nss_delete                          nss_endent
 434        nss_getent                          nss_search
 435        nss_setent                          ntp_adjtime
 436        ntp_gettime                         open
 437        openat                              opendir
 438        openlog                             optarg
 439        opterr                              optind
 440        optopt                              p_online
 441        pathconf                            pause
 442        pclose                              pcsample
 443        perror                              pfmt
 444        pipe                                plock
 445        poll                                popen
 446        port_alert                          port_associate
 447        port_create                         port_dissociate
 448        port_get                            port_getn
 449        port_send                           port_sendn
 450        posix_fadvise                       posix_fallocate
 451        posix_madvise                       posix_memalign
 452        posix_openpt                        posix_spawn
 453        posix_spawn_file_actions_addclose   posix_spawn_file_actions_addclosefrom_np
 454        posix_spawn_file_actions_adddup2    posix_spawn_file_actions_addopen
 455        posix_spawn_file_actions_destroy    posix_spawn_file_actions_init
 456        posix_spawn_pipe_np                 posix_spawnattr_destroy
 457        posix_spawnattr_getflags            posix_spawnattr_getpgroup
 458        posix_spawnattr_getschedparam       posix_spawnattr_getschedpolicy
 459        posix_spawnattr_getsigdefault       posix_spawnattr_getsigignore_np
 460        posix_spawnattr_getsigmask          posix_spawnattr_init
 461        posix_spawnattr_setflags            posix_spawnattr_setpgroup
 462        posix_spawnattr_setschedparam       posix_spawnattr_setschedpolicy
 463        posix_spawnattr_setsigdefault       posix_spawnattr_setsigignore_np
 464        posix_spawnattr_setsigmask          posix_spawnp
 465        pread                               preadv
 466        printf                              printstack
 467        priocntl                            priocntlset
 468        priv_addset                         priv_allocset
 469        priv_copyset                        priv_delset
 470        priv_emptyset                       priv_fillset
 471        priv_freeset                        priv_getbyname
 472        priv_getbynum                       priv_getsetbyname
 473        priv_getsetbynum                    priv_gettext
 474        priv_ineffect                       priv_intersect
 475        priv_inverse                        priv_isemptyset
 476        priv_isequalset                     priv_isfullset
 477        priv_ismember                       priv_issubset
 478        priv_set                            priv_set_to_str
 479        priv_str_to_set                     priv_union
 480        processor_bind                      processor_info
 481        profil                              pselect
 482        pset_assign                         pset_bind
 483        pset_create                         pset_destroy
 484        pset_getattr                        pset_getloadavg
 485        pset_info                           pset_list
 486        pset_setattr                        psiginfo
 487        psignal                             pthread_atfork
 488        pthread_attr_destroy                pthread_attr_get_np
 489        pthread_attr_getdetachstate         pthread_attr_getguardsize
 490        pthread_attr_getinheritsched        pthread_attr_getschedparam
 491        pthread_attr_getschedpolicy         pthread_attr_getscope
 492        pthread_attr_getstack               pthread_attr_getstackaddr
 493        pthread_attr_getstacksize           pthread_attr_init
 494        pthread_attr_setdetachstate         pthread_attr_setguardsize
 495        pthread_attr_setinheritsched        pthread_attr_setschedparam
 496        pthread_attr_setschedpolicy         pthread_attr_setscope
 497        pthread_attr_setstack               pthread_attr_setstackaddr
 498        pthread_attr_setstacksize           pthread_barrier_destroy
 499        pthread_barrier_init                pthread_barrier_wait
 500        pthread_barrierattr_destroy         pthread_barrierattr_getpshared
 501        pthread_barrierattr_init            pthread_barrierattr_setpshared
 502        pthread_cancel                      pthread_cond_broadcast
 503        pthread_cond_destroy                pthread_cond_init
 504        pthread_cond_reltimedwait_np        pthread_cond_signal
 505        pthread_cond_timedwait              pthread_cond_wait
 506        pthread_condattr_destroy            pthread_condattr_getclock
 507        pthread_condattr_getpshared         pthread_condattr_init
 508        pthread_condattr_setclock           pthread_condattr_setpshared
 509        pthread_create                      pthread_detach
 510        pthread_equal                       pthread_exit
 511        pthread_getconcurrency              pthread_getschedparam
 512        pthread_getspecific                 pthread_join
 513        pthread_key_create                  pthread_key_create_once_np
 514        pthread_key_delete                  pthread_kill
 515        pthread_mutex_consistent            pthread_mutex_destroy
 516        pthread_mutex_getprioceiling        pthread_mutex_init
 517        pthread_mutex_lock                  pthread_mutex_reltimedlock_np
 518        pthread_mutex_setprioceiling        pthread_mutex_timedlock
 519        pthread_mutex_trylock               pthread_mutex_unlock
 520        pthread_mutexattr_destroy           pthread_mutexattr_getprioceiling
 521        pthread_mutexattr_getprotocol       pthread_mutexattr_getpshared
 522        pthread_mutexattr_getrobust         pthread_mutexattr_gettype
 523        pthread_mutexattr_init              pthread_mutexattr_setprioceiling
 524        pthread_mutexattr_setprotocol       pthread_mutexattr_setpshared
 525        pthread_mutexattr_setrobust         pthread_mutexattr_settype
 526        pthread_once                        pthread_rwlock_destroy
 527        pthread_rwlock_init                 pthread_rwlock_rdlock
 528        pthread_rwlock_reltimedrdlock_np    pthread_rwlock_reltimedwrlock_np
 529        pthread_rwlock_timedrdlock          pthread_rwlock_timedwrlock
 530        pthread_rwlock_tryrdlock            pthread_rwlock_trywrlock
 531        pthread_rwlock_unlock               pthread_rwlock_wrlock
 532        pthread_rwlockattr_destroy          pthread_rwlockattr_getpshared
 533        pthread_rwlockattr_init             pthread_rwlockattr_setpshared
 534        pthread_self                        pthread_setcancelstate
 535        pthread_setcanceltype               pthread_setconcurrency
 536        pthread_setspecific                 pthread_sigmask
 537        pthread_setschedparam               pthread_setschedprio
 538        pthread_spin_destroy                pthread_spin_init
 539        pthread_spin_lock                   pthread_spin_trylock
 540        pthread_spin_unlock                 pthread_testcancel
 541        ptsname                             putacct
 542        putc                                putc_unlocked
 543        putchar                             putchar_unlocked
 544        putenv                              putmsg
 545        putpmsg                             putpwent
 546        puts                                putspent
 547        pututline                           pututxline
 548        putw                                putwc
 549        putwchar                            putws
 550        pwrite                              pwritev
 551        qeconvert                           qecvt
 552        qfconvert                           qfcvt
 553        qgconvert                           qgcvt
 554        qsort                               quadruple_to_decimal
 555        raise                               rand
 556        rand_r                              random
 557        rctl_walk                           rctlblk_get_enforced_value
 558        rctlblk_get_firing_time             rctlblk_get_global_action
 559        rctlblk_get_global_flags            rctlblk_get_local_action
 560        rctlblk_get_local_flags             rctlblk_get_privilege
 561        rctlblk_get_recipient_pid           rctlblk_get_value
 562        rctlblk_set_local_action            rctlblk_set_local_flags
 563        rctlblk_set_privilege               rctlblk_set_recipient_pid
 564        rctlblk_set_value                   rctlblk_size
 565        re_comp                             re_exec
 566        read                                readdir
 567        readdir_r                           readlink
 568        readlinkat                          readv
 569        realloc                             realpath
 570        reboot                              regcmp
 571        regcomp                             regerror
 572        regex                               regexec
 573        regfree                             remove
 574        remque                              rename
 575        renameat                            resetmnttab
 576        resolvepath                         rewind
 577        rewinddir                           rindex
 578        rmdir                               rw_rdlock
 579        rw_read_held                        rw_tryrdlock
 580        rw_trywrlock                        rw_unlock
 581        rw_write_held                       rw_wrlock
 582        rwlock_destroy                      rwlock_init
 583        sbrk                                scalb
 584        scandir                             scanf
 585        sched_get_priority_max              sched_get_priority_min
 586        sched_getparam                      sched_getscheduler
 587        sched_rr_get_interval               sched_setparam
 588        sched_setscheduler                  sched_yield
 589        schedctl_exit                       schedctl_init
 590        schedctl_lookup                     schedctl_start
 591        schedctl_stop                       seconvert
 592        seed48                              seekdir
 593        select                              sem_close
 594        sem_destroy                         sem_getvalue
 595        sem_init                            sem_open
 596        sem_post                            sem_reltimedwait_np
 597        sem_timedwait                       sem_trywait
 598        sem_unlink                          sem_wait
 599        sema_destroy                        sema_held
 600        sema_init                           sema_post
 601        sema_trywait                        sema_wait
 602        semctl                              semget
 603        semids                              semop
 604        semtimedop                          setattrat
 605        setbuf                              setbuffer
 606        setcat                              setcontext
 607        setegid                             setenv
 608        seteuid                             setgid
 609        setgrent                            setgroups
 610        sethostname                         setitimer
 611        setjmp                              setkey
 612        setlabel                            setlinebuf
 613        setlocale                           setlogmask
 614        setnetgrent                         setpflags
 615        setpgid                             setpgrp
 616        setppriv                            setpriority
 617        setprogname                         setpwent
 618        setrctl                             setregid
 619        setreuid                            setrlimit
 620        setsid                              setspent
 621        setstate                            settaskid
 622        settimeofday                        setuid
 623        setusershell                        setustack
 624        setutent                            setutxent
 625        setvbuf                             sfconvert
 626        sgconvert                           shm_open
 627        shm_unlink                          shmat
 628        shmctl                              shmdt
 629        shmget                              shmids
 630        sig2str                             sigaction
 631        sigaddset                           sigaltstack
 632        sigdelset                           sigemptyset
 633        sigfillset                          sigfpe
 634        sighold                             sigignore
 635        siginterrupt                        sigismember
 636        siglongjmp                          signal
 637        sigpause                            sigpending
 638        sigprocmask                         sigqueue
 639        sigrelse                            sigsend
 640        sigsendset                          sigset
 641        sigsetjmp                           sigstack
 642        sigsuspend                          sigtimedwait
 643        sigwait                             sigwaitinfo
 644        single_to_decimal                   sleep
 645        smt_pause                           snprintf
 646        sprintf                             srand
 647        srand48                             srandom
 648        sscanf                              ssignal
 649        stack_getbounds                     stack_inbounds
 650        stack_setbounds                     stack_violation
 651        stat                                statfs
 652        statvfs                             stime
 653        str2sig                             strcasecmp
 654        strcasecmp_l                        strcat
 655        strchr                              strcmp
 656        strcoll                             strcpy
 657        strcspn                             strdup
 658        strerror                            strerror_l
 659        strerror_r                          strfmon
 660        strfmon_l                           strftime
 661        strftime_l                          string_to_decimal
 662        strlcat                             strlcpy
 663        strlen                              strncasecmp
 664        strncasecmp_l                       strncat
 665        strncmp                             strncpy
 666        strnstr                             strpbrk
 667        strptime                            strptime_l
 668        strrchr                             strsep
 669        strsignal                           strspn
 670        strstr                              strtod
 671        strtof                              strtoimax
 672        strtok                              strtok_r
 673        strtol                              strtold
 674        strtoll                             strtoul
 675        strtoull                            strtoumax
 676        strtows                             strxfrm
 677        swab                                swapcontext
 678        swapctl                             swprintf
 679        swscanf                             symlink
 680        symlinkat                           sync
 681        sync_instruction_memory             sysconf
 682        sysfs                               sysinfo
 683        syslog                              system
 684        tcdrain                             tcflow
 685        tcflush                             tcgetattr
 686        tcgetpgrp                           tcgetsid
 687        tcsendbreak                         tcsetattr
 688        tcsetpgrp                           tdelete
 689        tell                                telldir
 690        tempnam                             textdomain
 691        tfind                               thr_continue
 692        thr_create                          thr_exit
 693        thr_getconcurrency                  thr_getprio
 694        thr_getspecific                     thr_join
 695        thr_keycreate                       thr_keycreate_once
 696        thr_kill                            thr_main
 697        thr_min_stack                       thr_self
 698        thr_setconcurrency                  thr_setprio
 699        thr_setspecific                     thr_sigsetmask
 700        thr_stksegment                      thr_suspend
 701        thr_yield                           time
 702        timer_create                        timer_delete
 703        timer_getoverrun                    timer_gettime
 704        timer_settime                       times
 705        timezone                            tmpfile
 706        tmpnam                              tmpnam_r
 707        toascii                             tolower
 708        tolower_l                           toupper
 709        toupper_l                           towctrans
 710        towctrans_l                         towlower
 711        towlower_l                          towupper
 712        towupper_l                          truncate
 713        tsearch                             ttyname
 714        ttyname_r                           ttyslot
 715        twalk                               tzname
 716        tzset                               u8_strcmp
 717        u8_textprep_str                     u8_validate
 718        uadmin                              ualarm
 719        uconv_u16tou32                      uconv_u16tou8
 720        uconv_u32tou16                      uconv_u32tou8
 721        uconv_u8tou16                       uconv_u8tou32
 722        ucred_free                          ucred_get
 723        ucred_getegid                       ucred_geteuid
 724        ucred_getgroups                     ucred_getpflags
 725        ucred_getpid                        ucred_getprivset
 726        ucred_getprojid                     ucred_getrgid
 727        ucred_getruid                       ucred_getsgid
 728        ucred_getsuid                       ucred_getzoneid
 729        ucred_size                          ulckpwdf
 730        ulimit                              ulltostr
 731        umask                               umount
 732        umount2                             uname
 733        ungetc                              ungetwc
 734        unlink                              unlinkat
 735        unlockpt                            unordered
 736        unsetenv                            updwtmp
 737        updwtmpx                            uselocale
 738        usleep                              ustat
 739        utime                               utimensat
 740        utimes                              utmpname
 741        utmpxname                           uucopy
 742        valloc                              vasprintf
 743        verr                                verrx
 744        vfork                               vforkx
 745        vfprintf                            vfscanf
 746        vfwprintf                           vfwscanf
 747        vhangup                             vlfmt
 748        vpfmt                               vprintf
 749        vscanf                              vsnprintf
 750        vsprintf                            vsscanf
 751        vswprintf                           vswscanf
 752        vsyslog                             vwarn
 753        vwarnx                              vwprintf
 754        vwscanf                             wait
 755        wait3                               wait4
 756        waitid                              waitpid
 757        walkcontext                         warn
 758        warnx                               watoll
 759        wcpcpy                              wcpncpy
 760        wcrtomb                             wcrtomb_l
 761        wcscasecmp                          wcscasecmp_l
 762        wcscat                              wcschr
 763        wcscmp                              wcscoll
 764        wcscoll_l                           wcscpy
 765        wcscspn                             wcsdup
 766        wcsftime                            wcslen
 767        wcsncat                             wcsncasecmp
 768        wcsncasecmp_l                       wcsncmp
 769        wcsncpy                             wcsnrtombs
 770        wcsnrtombs_l                        wcspbrk
 771        wcsrchr                             wcsrtombs
 772        wcsrtombs_l                         wcsspn
 773        wcsstr                              wcstod
 774        wcstof                              wcstoimax
 775        wcstok                              wcstol
 776        wcstold                             wcstoll
 777        wcstombs                            wctombs_l
 778        wcstoul                             wcstoull
 779        wcstoumax                           wcswcs
 780        wcswidth                            wcswidth_l
 781        wcsxfrm                             wcsxfrm_l
 782        wctob                               wctob_l
 783        wctomb                              wctomb_l
 784        wctrans                             wctrans_l
 785        wctype                              wctype_l
 786        wcwidth                             wcwidth_l
 787        wmemchr                             wmemcmp
 788        wmemcpy                             wmemmove
 789        wmemset                             wordexp
 790        wordfree                            wprintf
 791        wracct                              write
 792        writev                              wscanf
 793        wscasecmp                           wscat
 794        wschr                               wscmp
 795        wscol                               wscoll
 796        wscpy                               wscspn
 797        wsdup                               wslen
 798        wsncasecmp                          wsncat
 799        wsncmp                              wsncpy
 800        wspbrk                              wsprintf
 801        wsrchr                              wsscanf
 802        wsspn                               wstod
 803        wstok                               wstol
 804        wstoll                              wstostr
 805        wsxfrm                              yield
 806 
 807 
 808 
 809        The following interfaces are unique to the 32-bit version of this
 810        library:
 811 
 812 
 813 
 814 
 815        __div64             __mul64
 816        __posix_readdir_r   __rem64
 817        __udiv64            __urem64
 818        _bufendtab          _lastbuf
 819        _s_fcntl            _sys_nsig
 820        _xftw64             aio_cancel64
 821        aio_error64         aio_fsync64
 822        aio_read64          aio_return64
 823        aio_suspend64       aio_waitn64
 824        aio_write64         creat64
 825        fgetpos64           fopen64
 826        freopen64           fseeko64
 827        fsetpos64           fstat64
 828        fstatvfs64          ftello64
 829        ftruncate64         ftw64
 830        getdents64          getrlimit64
 831        lio_listio64        lockf64
 832        lseek64             lstat64
 833        mkstemp64           mmap64
 834        nftw64              open64
 835        pread64             preadv64
 836        ptrace              pwrite64
 837        pwritev64           readdir64
 838        readdir64_r         s_fcntl
 839        s_ioctl             select_large_fdset
 840        setrlimit64         stat64
 841        statvfs64           sys_errlist
 842        sys_nerr            tell64
 843        tmpfile64           truncate64
 844 
 845 
 846 
 847        The following interfaces are unique to the 32-bit SPARC version of this
 848        library:
 849 
 850 
 851 
 852 
 853        .div        .mul
 854        .rem        .stret1
 855        .stret2     .stret4
 856        .stret8     .udiv
 857        .umul       .urem
 858        _Q_add      _Q_cmp
 859        _Q_cmpe     _Q_div
 860        _Q_dtoq     _Q_feq
 861        _Q_fge      _Q_fgt
 862        _Q_fle      _Q_flt
 863        _Q_fne      _Q_itoq
 864        _Q_lltoq    _Q_mul
 865        _Q_neg      _Q_qtod
 866        _Q_qtoi     _Q_qtoll
 867        _Q_qtos     _Q_qtou
 868        _Q_qtoull   _Q_sqrt
 869        _Q_stoq     _Q_sub
 870        _Q_ulltoq   _Q_utoq
 871        __dtoll     __dtou
 872        __dtoull    __ftoll
 873        __ftou      __ftoull
 874        __umul64
 875 
 876 
 877 
 878        The following interfaces are unique to the 32-bit x86 version of this
 879        library:
 880 
 881 
 882 
 883 
 884        __fpstart         _fp_hw
 885        _fpstart          _fxstat
 886        _lxstat           _nuname
 887        _thr_errno_addr   _xmknod
 888        _xstat            nuname
 889 
 890 
 891 
 892        The following interfaces are unique to the 64-bit SPARC version of this
 893        library:
 894 
 895 
 896 
 897 
 898        _Qp_add         _Qp_cmp
 899        _Qp_cmpe        _Qp_div
 900        _Qp_dtoq        _Qp_feq
 901        _Qp_fge         _Qp_fgt
 902        _Qp_fle         _Qp_flt
 903        _Qp_fne         _Qp_itoq
 904        _Qp_mul         _Qp_neg
 905        _Qp_qtod        _Qp_qtoi
 906        _Qp_qtos        _Qp_qtoui
 907        _Qp_qtoux       _Qp_qtox
 908        _Qp_sqrt        _Qp_stoq
 909        _Qp_sub         _Qp_uitoq
 910        _Qp_uxtoq       _Qp_xtoq
 911        __align_cpy_1   __align_cpy_16
 912        __align_cpy_2   __align_cpy_4
 913        __align_cpy_8   __dtoul
 914        __ftoul         __sparc_utrap_install
 915 
 916 
 917 FILES
 918        /lib/libc.so.1
 919                                   shared object
 920 
 921 
 922        /lib/64/libc.so.1
 923                                   64-bit shared object
 924 
 925 
 926        /lib/c_synonyms.so.1
 927                                   A compatibility library to provide access to
 928                                   obsolete libc synonym symbols
 929 
 930 
 931        /lib/64/c_synonyms.so.1
 932                                   A 64-bit compatibility library to provide
 933                                   access to obsolete libc synonym symbols
 934 
 935 
 936 ATTRIBUTES
 937        See attributes(5) for descriptions of the following attributes:
 938 
 939 
 940 
 941 
 942        +---------------+-----------------+
 943        |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
 944        |MT-Level       | Safe            |
 945        +---------------+-----------------+
 946 
 947 SEE ALSO
 948        pvs(1), Intro(2), Intro(3), attributes(5), lf64(5), standards(5)
 949 
 950 NOTES
 951        The synonyms compatibility library, c_synonyms.so.1, provides a
 952        mechanism to support old applications and libraries that were
 953        mistakenly built using now-obsolete synonym symbols from libc.
 954 
 955        Before the advent of direct binding (-B direct) libc provided many
 956        functions with two names.  For example, getpwent() and _getpwent().
 957        These two names referred to exactly the same function in libc. The
 958        leading-underscore symbol was intended to be used by system libraries
 959        in order to avoid conflicting with an application that might define its
 960        own version of getpwent() with completely different semantics.
 961        Standard-conforming applications may not define and use function names
 962        with leading underscores.
 963 
 964        illumos system libraries are now built with direct binding. This means
 965        that a system library that calls getpwent() will bind directly to the
 966        instance of getpwent() in libc, even if the application to which it is
 967        linked defines a different getpwent() for its own use. The application
 968        binds to its instance of getpwent() and there is no resulting conflict.
 969        The direct binding mechanism is equally available to libraries not
 970        delivered with illumos.
 971 
 972        As a result of this evolution, most of the leading-underscore synonym
 973        symbols have been removed from libc.  This means that applications that
 974        call these now-obsolete function names will cease to work.  They will
 975        typically draw the error:
 976 
 977          $ ./application
 978          ld.so.1: fatal: relocation error: symbol _getpwent:
 979          referenced symbol not found
 980          Killed
 981 
 982 
 983 
 984 
 985        All of the old leading-underscore symbols have been copied to the
 986        synonyms compatibility library. This library simply redirects the calls
 987        to the non-underscore instances of the corresponding functions in libc.
 988        Use it as a pre-loaded object:
 989 
 990          $ LD_PRELOAD=c_synonyms.so.1 ./application
 991 
 992 
 993 
 994        The synonyms compatibility library is intended neither to enable the
 995        generation of applications that call the obsolete leading-underscore
 996        synonym functions, nor to endorse this particular programming practice.
 997 
 998 
 999 
1000                                September 6, 2020                    LIBC(3LIB)