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