1libc(3LIB)                    Interface Libraries                   libc(3LIB)
2
3
4

NAME

6       libc - C library
7

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 facili‐
13       ties  previously defined in the multithreading libraries, libthread and
14       libpthread.
15

INTERFACES

17       The shared object libc.so.1  provides  the  public  interfaces  defined
18       below.  See Intro(3) for additional information on shared object inter‐
19       faces.
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                                  __minor
34       __nsw_extended_action                      __nsw_freeconfig
35       __nsw_getconfig                            __posix_asctime_r
36       __posix_ctime_r                            __posix_getgrgid_r
37       __posix_getgrnam_r                         __posix_getlogin_r
38       __posix_getpwnam_r                         __posix_getpwuid_r
39       __posix_sigwait                            __posix_ttyname_r
40       __priocntl                                 __priocntlset
41       __pthread_cleanup_pop                      __pthread_cleanup_push
42       __sysconf_xpg5                             __xpg4
43       __xpg4_putmsg                              __xpg4_putpmsg
44       _Exit                                      _altzone
45       _assert                                    _cleanup
46       _ctype                                     _daylight
47       _environ                                   _exit
48       _exithandle                                _filbuf
49       _flsbuf                                    _flushlbf
50       _getdate_err                               _getdate_err_addr
51       _iob                                       _isnan
52       _isnand                                    _lwp_cond_broadcast
53       _lwp_cond_reltimedwait                     _lwp_cond_signal
54       _lwp_cond_timedwait                        _lwp_cond_wait
55       _lwp_continue                              _lwp_info
56       _lwp_kill                                  _lwp_mutex_lock
57       _lwp_mutex_trylock                         _lwp_mutex_unlock
58       _lwp_self                                  _lwp_sema_init
59       _lwp_sema_post                             _lwp_sema_trywait
60       _lwp_sema_wait                             _lwp_suspend
61       _lwp_suspend2                              _modf
62       _nextafter                                 _nsc_trydoorcall
63       _nss_XbyY_buf_alloc                        _nss_XbyY_buf_free
64       _nss_netdb_aliases                         _numeric
65       _scalb                                     _sibuf
66
67       _sobuf                                     _stack_grow
68       _sys_buslist                               _sys_cldlist
69       _sys_fpelist                               _sys_illlist
70       _sys_segvlist                              _sys_siginfolistp
71       _sys_siglist                               _sys_siglistn
72       _sys_siglistp                              _sys_traplist
73       _timezone                                  _tolower
74       _toupper                                   _tzname
75       _xftw
76       a64l                                       abort
77       abs                                        access
78       acct                                       acl
79       addrtosymstr                               addsev
80       addseverity                                adjtime
81       aio_cancel                                 aio_error
82       aio_fsync                                  aio_read
83       aio_return                                 aio_suspend
84       aio_waitn                                  aio_write
85       aiocancel                                  aioread
86       aiowait                                    aiowrite
87       alarm                                      alphasort
88       altzone                                    ascftime
89       asctime                                    asctime_r
90       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
133       atomic_inc_ulong_nv                        atomic_inc_ushort
134       atomic_inc_ushort_nv                       atomic_or_16
135       atomic_or_16_nv                            atomic_or_32
136       atomic_or_32_nv                            atomic_or_64
137       atomic_or_64_nv                            atomic_or_8
138       atomic_or_8_nv                             atomic_or_uchar
139       atomic_or_uchar_nv                         atomic_or_uint
140       atomic_or_uint_nv                          atomic_or_ulong
141       atomic_or_ulong_nv                         atomic_or_ushort
142       atomic_or_ushort_nv                        atomic_set_long_excl
143       atomic_swap_16                             atomic_swap_32
144       atomic_swap_64                             atomic_swap_8
145       atomic_swap_ptr                            atomic_swap_uchar
146       atomic_swap_uint                           atomic_swap_ulong
147       atomic_swap_ushort                         attropen
148       backtrace                                  backtrace_symbols
149       backtrace_symbols_fd                       basename
150       bcmp                                       bcopy
151       bindtextdomain                             bind_textdomain_codeset
152       brk                                        bsd_signal
153       bsearch                                    btowc
154       bzero                                      calloc
155       catclose                                   catgets
156       catopen                                    cfgetispeed
157       cfgetospeed                                cfsetispeed
158       cfsetospeed                                cftime
159       chdir                                      chmod
160       chown                                      chroot
161       clearerr                                   clock
162       clock_getres                               clock_gettime
163       clock_nanosleep                            clock_settime
164       close                                      closedir
165       closefrom                                  closelog
166       cond_broadcast                             cond_destroy
167       cond_init                                  cond_reltimedwait
168       cond_signal                                cond_timedwait
169       cond_wait                                  confstr
170       creat                                      crypt
171       crypt_genhash_impl                         crypt_gensalt
172       crypt_gensalt_impl                         csetcol
173       csetlen                                    ctermid
174       ctermid_r                                  ctime
175       ctime_r                                    cuserid
176       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
199       door_ucred                                 door_unbind
200       double_to_decimal                          drand48
201       dup                                        dup2
202       econvert                                   ecvt
203       enable_extended_FILE_stdio
204       encrypt                                    endgrent
205       endnetgrent                                endpwent
206       endspent                                   endusershell
207       endutent                                   endutxent
208       environ                                    erand48
209       err                                        errno
210       errx                                       euccol
211       euclen                                     eucscol
212       execl                                      execle
213       execlp                                     execv
214       execve                                     execvp
215       exit                                       extended_to_decimal
216       faccessat
217       facl                                       fattach
218       fchdir                                     fchmod
219       fchown                                     fchownat
220       fchroot                                    fclose
221       fcntl                                      fconvert
222       fcvt                                       fdatasync
223       fdetach
224       fdopen                                     fdopendir
225       fdwalk                                     feof
226       ferror                                     fflush
227       ffs                                        fgetattr
228       fgetc
229       fgetgrent                                  fgetgrent_r
230       fgetpos                                    fgetpwent
231       fgetpwent_r                                fgets
232       fgetspent                                  fgetspent_r
233       fgetwc                                     fgetws
234       file_to_decimal                            fileno
235       finite                                     flockfile
236       fmtmsg                                     fnmatch
237       fopen                                      fork
238       fork1                                      forkall
239       forkallx                                   forkx
240       fpathconf                                  fpclass
241       fpgetmask                                  fpgetround
242       fpgetsticky                                fprintf
243       fpsetmask                                  fpsetround
244       fpsetsticky                                fputc
245       fputs                                      fputwc
246       fputws                                     fread
247       free                                       freopen
248       frexp                                      fscanf
249       fseek                                      fseeko
250       fsetattr
251       fsetpos                                    fstat
252       fstatat                                    fstatfs
253       fstatvfs                                   fsync
254       ftell                                      ftello
255       ftime                                      ftok
256       ftruncate                                  ftrylockfile
257       ftw                                        func_to_decimal
258       funlockfile                                futimens
259       futimesat
260       fwide                                      fwprintf
261       fwrite                                     fwscanf
262       gconvert                                   gcvt
263       getacct                                    getattrat
264
265       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       getnetgrent                                getnetgrent_r
285       getopt                                     getopt_clip
286       getopt_long                                getopt_long_only
287       getpagesize                                getpagesizes
288       getpass                                    getpassphrase
289       getpeerucred                               getpflags
290       getpgid                                    getpgrp
291       getpid                                     getpmsg
292       getppid                                    getppriv
293       getpriority                                getprojid
294       getpw                                      getpwent
295       getpwent_r                                 getpwnam
296       getpwnam_r                                 getpwuid
297       getpwuid_r                                 getrctl
298       getrlimit                                  getrusage
299       gets                                       getsid
300       getspent                                   getspent_r
301       getspnam                                   getspnam_r
302       getsubopt                                  gettaskid
303       gettext                                    gettimeofday
304       gettxt                                     getuid
305       getusershell                               getustack
306       getutent                                   getutid
307       getutline                                  getutmp
308       getutmpx                                   getutxent
309       getutxid                                   getutxline
310       getvfsany                                  getvfsent
311       getvfsfile                                 getvfsspec
312       getw                                       getwc
313       getwchar                                   getwd
314       getwidth                                   getws
315       getzoneid                                  getzoneidbyname
316       getzonenamebyid                            glob
317       globfree                                   gmtime
318       gmtime_r                                   grantpt
319       gsignal                                    hasmntopt
320       hcreate                                    hdestroy
321       hsearch                                    iconv
322       iconv_close                                iconv_open
323       imaxabs                                    imaxdiv
324       index                                      initgroups
325       initstate                                  innetgr
326       insque                                     ioctl
327       is_system_labeled
328       isaexec                                    isalnum
329       isalpha                                    isascii
330
331       isastream                                  isatty
332       isblank                                    iscntrl
333       isdigit                                    isenglish
334       isgraph                                    isideogram
335       islower                                    isnan
336       isnand                                     isnanf
337       isnumber                                   isphonogram
338       isprint                                    ispunct
339       issetugid                                  isspace
340       isspecial                                  isupper
341       iswalnum                                   iswalpha
342       iswblank                                   iswcntrl
343       iswctype                                   iswdigit
344       iswgraph                                   iswlower
345       iswprint                                   iswpunct
346       iswspace                                   iswupper
347       iswxdigit                                  isxdigit
348       jrand48                                    kill
349       killpg                                     l64a
350       labs                                       ladd
351       lchown                                     lckpwdf
352       lcong48                                    ldexp
353       ldivide                                    lexp10
354       lfind                                      lfmt
355       link                                       lio_listio
356       llabs
357       lldiv                                      llog10
358       llseek                                     lltostr
359       localeconv                                 localtime
360       localtime_r                                lockf
361       logb                                       lone
362       longjmp                                    lrand48
363       lsearch                                    lseek
364       lshiftl                                    lstat
365       lsub                                       lten
366       lzero                                      madvise
367       makecontext                                makeutx
368       malloc                                     mblen
369       mbrlen                                     mbrtowc
370       mbsinit                                    mbsrtowcs
371       mbstowcs                                   mbtowc
372       memalign                                   membar_consumer
373       membar_enter                               membar_exit
374       membar_producer                            memccpy
375       memchr                                     memcmp
376       memcntl                                    memcpy
377       meminfo                                    memmove
378       memset                                     mincore
379       mkdir                                      mkfifo
380       mknod                                      mkstemp
381       mktemp                                     mktime
382       mlock                                      mlockall
383       mmap                                       mmapobj
384       modctl
385       modf                                       modff
386       modutx                                     monitor
387       mount                                      mprotect
388       mq_close                                   mq_getattr
389       mq_notify                                  mq_open
390       mq_receive                                 mq_reltimedreceive_np
391       mq_reltimedsend_np                         mq_send
392       mq_setattr                                 mq_timedreceive
393       mq_timedsend                               mq_unlink
394       mrand48                                    msgctl
395       msgget                                     msgids
396
397       msgrcv                                     msgsnap
398       msgsnd                                     msync
399       munlock                                    munlockall
400       munmap                                     mutex_consistent
401       mutex_destroy                              mutex_init
402       mutex_lock                                 mutex_trylock
403       mutex_unlock                               nanosleep
404       nextafter
405       nfs_getfh                                  nftw
406       ngettext                                   nice
407       nl_langinfo                                nrand48
408       nss_default_finders                        nss_delete
409       nss_endent                                 nss_getent
410       nss_search                                 nss_setent
411       ntp_adjtime                                ntp_gettime
412       open                                       openat
413       opendir                                    openlog
414       optarg                                     opterr
415       optind                                     optopt
416       p_online                                   pathconf
417       pause                                      pclose
418       pcsample                                   perror
419       pfmt                                       pipe
420       plock                                      poll
421       popen                                      port_alert
422       port_associate                             port_create
423       port_dissociate                            port_get
424       port_getn                                  port_send
425       port_sendn                                 posix_fadvise
426       posix_fallocate                            posix_madvise
427       posix_memalign                             posix_openpt
428       posix_spawn                                posix_spawn_file_actions_addclose
429       posix_spawn_file_actions_addclosefrom_np   posix_spawn_file_actions_adddup2
430       posix_spawn_file_actions_addopen           posix_spawn_file_actions_destroy
431       posix_spawn_file_actions_init              posix_spawnattr_destroy
432       posix_spawnattr_getflags                   posix_spawnattr_getpgroup
433       posix_spawnattr_getschedparam              posix_spawnattr_getschedpolicy
434       posix_spawnattr_getsigdefault              posix_spawnattr_getsigignore_np
435       posix_spawnattr_getsigmask                 posix_spawnattr_init
436       posix_spawnattr_setflags                   posix_spawnattr_setpgroup
437       posix_spawnattr_setschedparam              posix_spawnattr_setschedpolicy
438       posix_spawnattr_setsigdefault              posix_spawnattr_setsigignore_np
439       posix_spawnattr_setsigmask                 posix_spawnp
440       pread                                      printf
441       printstack                                 priocntl
442       priocntlset                                priv_addset
443       priv_allocset                              priv_copyset
444       priv_delset                                priv_emptyset
445       priv_fillset                               priv_freeset
446       priv_getbyname                             priv_getbynum
447       priv_getsetbyname                          priv_getsetbynum
448       priv_gettext                               priv_ineffect
449       priv_intersect                             priv_inverse
450       priv_isemptyset                            priv_isequalset
451       priv_isfullset                             priv_ismember
452       priv_issubset                              priv_set
453       priv_set_to_str                            priv_str_to_set
454       priv_union                                 processor_bind
455       processor_info                             profil
456       pselect                                    pset_assign
457       pset_bind                                  pset_create
458       pset_destroy                               pset_getattr
459       pset_getloadavg                            pset_info
460       pset_list                                  pset_setattr
461       psiginfo                                   psignal
462
463       pthread_atfork                             pthread_attr_destroy
464       pthread_attr_getdetachstate                pthread_attr_getguardsize
465       pthread_attr_getinheritsched               pthread_attr_getschedparam
466       pthread_attr_getschedpolicy                pthread_attr_getscope
467       pthread_attr_getstack                      pthread_attr_getstackaddr
468       pthread_attr_getstacksize                  pthread_attr_init
469       pthread_attr_setdetachstate                pthread_attr_setguardsize
470       pthread_attr_setinheritsched               pthread_attr_setschedparam
471       pthread_attr_setschedpolicy                pthread_attr_setscope
472       pthread_attr_setstack                      pthread_attr_setstackaddr
473       pthread_attr_setstacksize                  pthread_barrier_destroy
474       pthread_barrier_init                       pthread_barrier_wait
475       pthread_barrierattr_destroy                pthread_barrierattr_getpshared
476       pthread_barrierattr_init                   pthread_barrierattr_setpshared
477       pthread_cancel                             pthread_cond_broadcast
478       pthread_cond_destroy                       pthread_cond_init
479       pthread_cond_reltimedwait_np               pthread_cond_signal
480       pthread_cond_timedwait                     pthread_cond_wait
481       pthread_condattr_destroy                   pthread_condattr_getclock
482       pthread_condattr_getpshared                pthread_condattr_init
483       pthread_condattr_setclock                  pthread_condattr_setpshared
484       pthread_create                             pthread_detach
485       pthread_equal                              pthread_exit
486       pthread_getconcurrency                     pthread_getschedparam
487       pthread_getspecific                        pthread_join
488       pthread_key_create                         pthread_key_create_once_np
489       pthread_key_delete
490       pthread_kill                               pthread_mutex_consistent
491       pthread_mutex_destroy                      pthread_mutex_getprioceiling
492       pthread_mutex_init                         pthread_mutex_lock
493       pthread_mutex_reltimedlock_np              pthread_mutex_setprioceiling
494       pthread_mutex_timedlock                    pthread_mutex_trylock
495       pthread_mutex_unlock                       pthread_mutexattr_destroy
496       pthread_mutexattr_getprioceiling           pthread_mutexattr_getprotocol
497       pthread_mutexattr_getpshared               pthread_mutexattr_getrobust
498       pthread_mutexattr_gettype                  pthread_mutexattr_init
499       pthread_mutexattr_setprioceiling           pthread_mutexattr_setprotocol
500       pthread_mutexattr_setpshared               pthread_mutexattr_setrobust
501       pthread_mutexattr_settype                  pthread_once
502       pthread_rwlock_destroy                     pthread_rwlock_init
503       pthread_rwlock_rdlock                      pthread_rwlock_reltimedrdlock_np
504       pthread_rwlock_reltimedwrlock_np           pthread_rwlock_timedrdlock
505       pthread_rwlock_timedwrlock                 pthread_rwlock_tryrdlock
506       pthread_rwlock_trywrlock                   pthread_rwlock_unlock
507       pthread_rwlock_wrlock                      pthread_rwlockattr_destroy
508       pthread_rwlockattr_getpshared              pthread_rwlockattr_init
509       pthread_rwlockattr_setpshared              pthread_self
510       pthread_setcancelstate                     pthread_setcanceltype
511       pthread_setconcurrency                     pthread_setspecific
512       pthread_sigmask                            pthread_setschedparam
513       pthread_setschedprio                       pthread_spin_destroy
514       pthread_spin_init                          pthread_spin_lock
515       pthread_spin_trylock                       pthread_spin_unlock
516       pthread_testcancel                         ptsname
517       putacct                                    putc
518       putc_unlocked                              putchar
519       putchar_unlocked                           putenv
520       putmsg                                     putpmsg
521       putpwent                                   puts
522       putspent                                   pututline
523       pututxline                                 putw
524       putwc                                      putwchar
525       putws                                      pwrite
526       qeconvert                                  qecvt
527       qfconvert                                  qfcvt
528
529       qgconvert                                  qgcvt
530       qsort                                      quadruple_to_decimal
531       raise                                      rand
532       rand_r                                     random
533       rctl_walk                                  rctlblk_get_enforced_value
534       rctlblk_get_firing_time                    rctlblk_get_global_action
535       rctlblk_get_global_flags                   rctlblk_get_local_action
536       rctlblk_get_local_flags                    rctlblk_get_privilege
537       rctlblk_get_recipient_pid                  rctlblk_get_value
538       rctlblk_set_local_action                   rctlblk_set_local_flags
539       rctlblk_set_privilege                      rctlblk_set_recipient_pid
540       rctlblk_set_value                          rctlblk_size
541       re_comp                                    re_exec
542       read                                       readdir
543       readdir_r                                  readlink
544       readv                                      realloc
545       realpath                                   reboot
546       regcmp                                     regcomp
547       regerror                                   regex
548       regexec                                    regfree
549       remove                                     remque
550       rename                                     renameat
551       resetmnttab                                resolvepath
552       rewind                                     rewinddir
553       rindex                                     rmdir
554       rw_rdlock                                  rw_read_held
555       rw_tryrdlock                               rw_trywrlock
556       rw_unlock                                  rw_write_held
557       rw_wrlock                                  rwlock_destroy
558       rwlock_init                                sbrk
559       scalb                                      scandir
560       scanf                                      sched_get_priority_max
561       sched_get_priority_min                     sched_getparam
562       sched_getscheduler                         sched_rr_get_interval
563       sched_setparam                             sched_setscheduler
564       sched_yield                                schedctl_exit
565       schedctl_init                              schedctl_lookup
566       schedctl_start                             schedctl_stop
567       seconvert                                  seed48
568       seekdir                                    select
569       sem_close                                  sem_destroy
570       sem_getvalue                               sem_init
571       sem_open                                   sem_post
572       sem_reltimedwait_np                        sem_timedwait
573       sem_trywait                                sem_unlink
574       sem_wait
575       sema_destroy                               sema_held
576       sema_init                                  sema_post
577       sema_trywait                               sema_wait
578       semctl                                     semget
579       semids                                     semop
580       semtimedop                                 setattrat
581       setbuf
582       setbuffer                                  setcat
583       setcontext                                 setegid
584       setenv                                     seteuid
585       setgid                                     setgrent
586       setgroups                                  sethostname
587       setitimer                                  setjmp
588       setkey                                     setlabel
589       setlinebuf                                 setlocale
590       setlogmask                                 setnetgrent
591       setpflags                                  setpgid
592       setpgrp                                    setppriv
593       setpriority                                setpwent
594
595       setrctl                                    setregid
596       setreuid                                   setrlimit
597       setsid                                     setspent
598       setstate                                   settaskid
599       settimeofday                               setuid
600       setusershell                               setustack
601       setutent                                   setutxent
602       setvbuf                                    sfconvert
603       sgconvert                                  shm_open
604       shm_unlink                                 shmat
605       shmctl                                     shmdt
606       shmget                                     shmids
607       sig2str                                    sigaction
608       sigaddset                                  sigaltstack
609       sigdelset                                  sigemptyset
610       sigfillset                                 sigfpe
611       sighold                                    sigignore
612       siginterrupt                               sigismember
613       siglongjmp                                 signal
614       sigpause                                   sigpending
615       sigprocmask                                sigqueue
616       sigrelse
617       sigsend                                    sigsendset
618       sigset                                     sigsetjmp
619       sigstack                                   sigsuspend
620       sigtimedwait                               sigwait
621       sigwaitinfo                                single_to_decimal
622       sleep                                      snprintf
623       sprintf                                    srand
624       srand48                                    srandom
625       sscanf                                     ssignal
626       stack_getbounds                            stack_inbounds
627       stack_setbounds                            stack_violation
628       stat                                       statfs
629       statvfs                                    stime
630       str2sig                                    strcasecmp
631       strcat                                     strchr
632       strcmp                                     strcoll
633       strcpy                                     strcspn
634       strdup                                     strerror
635       strerror_r                                 strfmon
636       strftime                                   string_to_decimal
637       strlcat                                    strlcpy
638       strlen                                     strncasecmp
639       strncat                                    strncmp
640       strncpy                                    strpbrk
641       strptime                                   strrchr
642       strsep
643       strsignal                                  strspn
644       strstr                                     strtod
645       strtof                                     strtoimax
646       strtok                                     strtok_r
647       strtol                                     strtold
648       strtoll                                    strtoul
649       strtoull                                   strtoumax
650       strtows                                    strxfrm
651       swab                                       swapcontext
652       swapctl                                    swprintf
653       swscanf                                    symlink
654       sync                                       sync_instruction_memory
655       sysconf                                    sysfs
656       sysinfo                                    syslog
657       system                                     tcdrain
658       tcflow                                     tcflush
659       tcgetattr                                  tcgetpgrp
660
661       tcgetsid                                   tcsendbreak
662       tcsetattr                                  tcsetpgrp
663       tdelete                                    tell
664       telldir                                    tempnam
665       textdomain                                 tfind
666       thr_continue                               thr_create
667       thr_exit                                   thr_getconcurrency
668       thr_getprio                                thr_getspecific
669       thr_join                                   thr_keycreate
670       thr_keycreate_once
671       thr_kill                                   thr_main
672       thr_min_stack                              thr_self
673       thr_setconcurrency                         thr_setprio
674       thr_setspecific                            thr_sigsetmask
675       thr_stksegment                             thr_suspend
676       thr_yield                                  time
677       timer_create                               timer_delete
678       timer_getoverrun                           timer_gettime
679       timer_settime
680       times                                      timezone
681       tmpfile                                    tmpnam
682       tmpnam_r                                   toascii
683       tolower                                    toupper
684       towctrans                                  towlower
685       towupper                                   truncate
686       tsearch                                    ttyname
687       ttyname_r                                  ttyslot
688       twalk                                      tzname
689       tzset                                      u8_strcmp
690       u8_textprep_str                            u8_validate
691       uadmin
692       ualarm                                     uconv_u16tou32
693       uconv_u16tou8                              uconv_u32tou16
694       uconv_u32tou8                              uconv_u8tou16
695       uconv_u8tou32                              ucred_free
696       ucred_get                                  ucred_getegid
697       ucred_geteuid                              ucred_getgroups
698       ucred_getpflags                            ucred_getpid
699       ucred_getprivset                           ucred_getprojid
700       ucred_getrgid                              ucred_getruid
701       ucred_getsgid                              ucred_getsuid
702       ucred_getzoneid                            ucred_size
703       ulckpwdf                                   ulimit
704       ulltostr                                   umask
705       umount                                     umount2
706       uname                                      ungetc
707       ungetwc                                    unlink
708       unlinkat                                   unlockpt
709       unordered                                  unsetenv
710       updwtmp                                    updwtmpx
711       usleep                                     ustat
712       utime                                      utimensat
713       utimes                                     utmpname
714       utmpxname                                  uucopy
715       valloc                                     vasprintf
716       verr                                       verrx
717       vfork                                      vforkx
718       vfprintf                                   vfscanf
719       vfwprintf                                  vfwscanf
720       vhangup                                    vlfmt
721       vpfmt                                      vprintf
722       vscanf                                     vsnprintf
723       vsprintf                                   vsscanf
724       vswprintf                                  vswscanf
725       vsyslog                                    vwarn
726
727       vwarnx                                     vwprintf
728       vwscanf                                    wait
729       wait3                                      wait4
730       waitid                                     waitpid
731       walkcontext                                warn
732       warnx                                      watoll
733       wcrtomb                                    wcscat
734       wcschr                                     wcscmp
735       wcscoll                                    wcscpy
736       wcscspn                                    wcsftime
737       wcslen                                     wcsncat
738       wcsncmp                                    wcsncpy
739       wcspbrk                                    wcsrchr
740       wcsrtombs                                  wcsspn
741       wcsstr                                     wcstod
742       wcstof                                     wcstoimax
743       wcstok                                     wcstol
744       wcstold                                    wcstoll
745       wcstombs                                   wcstoul
746       wcstoull                                   wcstoumax
747       wcswcs                                     wcswidth
748       wcsxfrm                                    wctob
749       wctomb                                     wctrans
750       wctype                                     wcwidth
751       wmemchr                                    wmemcmp
752       wmemcpy                                    wmemmove
753       wmemset                                    wordexp
754       wordfree                                   wprintf
755       wracct                                     write
756       writev                                     wscanf
757       wscasecmp                                  wscat
758       wschr                                      wscmp
759       wscol                                      wscoll
760       wscpy                                      wscspn
761       wsdup                                      wslen
762       wsncasecmp                                 wsncat
763       wsncmp                                     wsncpy
764       wspbrk                                     wsprintf
765       wsrchr                                     wsscanf
766       wsspn                                      wstod
767       wstok                                      wstol
768       wstoll                                     wstostr
769       wsxfrm                                     yield
770
771
772
773       The following interfaces are unique  to  the  32-bit  version  of  this
774       library:
775
776
777
778
779       __div64                       __mul64
780       __posix_readdir_r             __rem64
781       __udiv64                      __urem64
782       _bufendtab                    _lastbuf
783       _s_fcntl                      _sys_nsig
784       _xftw64                       aio_cancel64
785       aio_error64                   aio_fsync64
786       aio_read64                    aio_return64
787       aio_suspend64                 aio_waitn64
788       aio_write64                   creat64
789       fgetpos64                     fopen64
790       freopen64                     fseeko64
791       fsetpos64                     fstat64
792
793       fstatvfs64                    ftello64
794       ftruncate64                   ftw64
795       getdents64                    getrlimit64
796       lio_listio64                  lockf64
797       lseek64                       lstat64
798       mkstemp64                     mmap64
799       nftw64                        open64
800       pread64                       ptrace
801       pwrite64                      readdir64
802       readdir64_r                   s_fcntl
803       s_ioctl                       select_large_fdset
804       setrlimit64                   stat64
805       statvfs64                     sys_errlist
806       sys_nerr                      tell64
807       tmpfile64                     truncate64
808
809
810
811       The following interfaces are unique to the 32-bit SPARC version of this
812       library:
813
814
815
816
817       .div                          .mul
818       .rem                          .stret1
819       .stret2                       .stret4
820       .stret8                       .udiv
821       .umul                         .urem
822       _Q_add                        _Q_cmp
823       _Q_cmpe                       _Q_div
824       _Q_dtoq                       _Q_feq
825       _Q_fge                        _Q_fgt
826       _Q_fle                        _Q_flt
827       _Q_fne                        _Q_itoq
828       _Q_lltoq                      _Q_mul
829       _Q_neg                        _Q_qtod
830       _Q_qtoi                       _Q_qtoll
831       _Q_qtos                       _Q_qtou
832       _Q_qtoull                     _Q_sqrt
833       _Q_stoq                       _Q_sub
834       _Q_ulltoq                     _Q_utoq
835       __dtoll                       __dtou
836       __dtoull                      __ftoll
837       __ftou                        __ftoull
838       __umul64
839
840
841
842       The following interfaces are unique to the 32-bit x86 version  of  this
843       library:
844
845
846
847
848       __fpstart                     _fp_hw
849       _fpstart                      _fxstat
850       _lxstat                       _nuname
851       _thr_errno_addr               _xmknod
852       _xstat                        nuname
853
854
855
856       The following interfaces are unique to the 64-bit SPARC version of this
857       library:
858
859
860
861
862       _Qp_add                       _Qp_cmp
863       _Qp_cmpe                      _Qp_div
864       _Qp_dtoq                      _Qp_feq
865       _Qp_fge                       _Qp_fgt
866       _Qp_fle                       _Qp_flt
867       _Qp_fne                       _Qp_itoq
868       _Qp_mul                       _Qp_neg
869       _Qp_qtod                      _Qp_qtoi
870       _Qp_qtos                      _Qp_qtoui
871       _Qp_qtoux                     _Qp_qtox
872       _Qp_sqrt                      _Qp_stoq
873       _Qp_sub                       _Qp_uitoq
874       _Qp_uxtoq                     _Qp_xtoq
875       __align_cpy_1                 __align_cpy_16
876       __align_cpy_2                 __align_cpy_4
877       __align_cpy_8                 __dtoul
878       __ftoul                       __sparc_utrap_install
879
880

FILES

882       /lib/libc.so.1             shared object
883
884
885       /lib/64/libc.so.1          64-bit shared object
886
887
888       /lib/c_synonyms.so.1       A compatibility library to provide access to
889                                  obsolete libc synonym symbols
890
891
892       /lib/64/c_synonyms.so.1    A  64-bit  compatibility  library to provide
893                                  access to obsolete libc synonym symbols
894
895

ATTRIBUTES

897       See attributes(5) for descriptions of the following attributes:
898
899
900
901
902       ┌─────────────────────────────┬─────────────────────────────┐
903       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
904       ├─────────────────────────────┼─────────────────────────────┤
905       │Availability                 │SUNWcsl (32-bit)             │
906       │                             │SUNWcslx (64-bit)            │
907       ├─────────────────────────────┼─────────────────────────────┤
908       │MT-Level                     │Safe                         │
909       └─────────────────────────────┴─────────────────────────────┘
910

SEE ALSO

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

NOTES

915       The synonyms compatibility library, c_synonyms.so.1, provides a  mecha‐
916       nism  to  support  old  applications and libraries that were mistakenly
917       built using now-obsolete synonym symbols from libc.
918
919
920       Before the advent of direct binding  (-B  direct)  libc  provided  many
921       functions  with  two  names.   For example, getpwent() and _getpwent().
922       These two names referred to exactly the  same  function  in  libc.  The
923       leading-underscore  symbol  was intended to be used by system libraries
924       in order to avoid conflicting with an application that might define its
925       own  version  of  getpwent() with completely different semantics. Stan‐
926       dard-conforming applications may not define and use function names with
927       leading underscores.
928
929
930       Solaris  system libraries are now built with direct binding. This means
931       that a system library that calls getpwent() will bind directly  to  the
932       instance  of getpwent() in libc, even if the application to which it is
933       linked defines a different getpwent() for its own use. The  application
934       binds to its instance of getpwent() and there is no resulting conflict.
935       The direct binding mechanism is  equally  available  to  libraries  not
936       delivered with Solaris.
937
938
939       As  a  result of this evolution, most of the leading-underscore synonym
940       symbols have been removed from libc.  This means that applications that
941       call  these  now-obsolete function names will cease to work.  They will
942       typically draw the error:
943
944         $ ./application
945         ld.so.1: fatal: relocation error: symbol _getpwent:
946         referenced symbol not found
947         Killed
948
949
950
951
952       All of the old leading-underscore symbols have been copied to the  syn‐
953       onyms compatibility library. This library simply redirects the calls to
954       the non-underscore instances of the corresponding  functions  in  libc.
955       Use it as a pre-loaded object:
956
957         $ LD_PRELOAD=c_synonyms.so.1 ./application
958
959
960
961
962       The  synonyms  compatibility  library is intended neither to enable the
963       generation of applications that call  the  obsolete  leading-underscore
964       synonym functions, nor to endorse this particular programming practice.
965
966
967
968SunOS 5.11                        15 Sep 2009                       libc(3LIB)
Impressum