1 '\" te
2 .\" Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
3 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
4 .\" Copyright (c) 2009, Sun Microsystems, Inc. All rights reserved.
5 .\" Copyright 2016 Joyent, Inc.
6 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
7 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
8 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
9 .\" Copyright 2011 by Delphix. All rights reserved.
10 .TH LIBC 3LIB "Feb 14, 2020"
11 .SH NAME
12 libc \- C library
13 .SH DESCRIPTION
14 Functions in this library provide various facilities defined by System V, ANSI
15 C, POSIX, and so on. See \fBstandards\fR(5). In addition, those facilities
16 previously defined in the internationalization and the wide-character libraries
17 are now defined in this library, as are the facilities previously defined in
18 the multithreading libraries, \fBlibthread\fR and \fBlibpthread\fR.
19 .SH INTERFACES
20 The shared object \fBlibc.so.1\fR provides the public interfaces defined below.
21 See \fBIntro\fR(3) for additional information on shared object interfaces.
22 .sp
23
24 .sp
25 .TS
26 l l
27 l l .
28 \fB____loc1\fR \fB___errno\fR
29 \fB__builtin_alloca\fR \fB__ctype\fR
30 \fB__fbufsize\fR \fB__flbf\fR
244 \fBforkall\fR \fBforkallx\fR
245 \fBforkx\fR \fBfpathconf\fR
246 \fBfpclass\fR \fBfpgetmask\fR
247 \fBfpgetround\fR \fBfpgetsticky\fR
248 \fBfprintf\fR \fBfpsetmask\fR
249 \fBfpsetround\fR \fBfpsetsticky\fR
250 \fBfputc\fR \fBfputs\fR
251 \fBfputwc\fR \fBfputws\fR
252 \fBfread\fR \fBfree\fR
253 \fBfreelocale\fR \fBfreopen\fR
254 \fBfrexp\fR \fBfscanf\fR
255 \fBfseek\fR \fBfseeko\fR
256 \fBfsetattr\fR \fBfsetpos\fR
257 \fBfstat\fR \fBfstatat\fR
258 \fBfstatfs\fR \fBfstatvfs\fR
259 \fBfsync\fR \fBftell\fR
260 \fBftello\fR \fBftime\fR
261 \fBftok\fR \fBftruncate\fR
262 \fBftrylockfile\fR \fBftw\fR
263 \fBfunc_to_decimal\fR \fBfunlockfile\fR
264 \fBfutimens\fR \fBfutimesat\fR
265 \fBfwide\fR \fBfwprintf\fR
266 \fBfwrite\fR \fBfwscanf\fR
267 \fBgconvert\fR \fBgcvt\fR
268 \fBgetacct\fR \fBgetattrat\fR
269 \fBgetc\fR \fBgetc_unlocked\fR
270 \fBgetchar\fR \fBgetchar_unlocked\fR
271 \fBgetcontext\fR \fBgetcpuid\fR
272 \fBgetcwd\fR \fBgetdate\fR
273 \fBgetdate_err\fR \fBgetdents\fR
274 \fBgetdtablesize\fR \fBgetegid\fR
275 \fBgetenv\fR \fBgeteuid\fR
276 \fBgetexecname\fR \fBgetextmntent\fR
277 \fBgetgid\fR \fBgetgrent\fR
278 \fBgetgrent_r\fR \fBgetgrgid\fR
279 \fBgetgrgid_r\fR \fBgetgrnam\fR
280 \fBgetgrnam_r\fR \fBgetgroups\fR
281 \fBgethomelgroup\fR \fBgethostid\fR
282 \fBgethostname\fR \fBgethrtime\fR
283 \fBgethrvtime\fR \fBgetisax\fR
284 \fBgetitimer\fR \fBgetloadavg\fR
285 \fBgetlogin\fR \fBgetlogin_r\fR
286 \fBgetmntany\fR \fBgetmntent\fR
287 \fBgetmsg\fR \fBget_nprocs\fR
288 \fBget_nprocs_conf\fR \fBgetnetgrent\fR
289 \fBgetnetgrent_r\fR \fBgetopt\fR
290 \fBgetopt_clip\fR \fBgetopt_long\fR
291 \fBgetopt_long_only\fR \fBgetpagesize\fR
292 \fBgetpagesizes\fR \fBgetpass\fR
293 \fBgetpassphrase\fR \fBgetpeerucred\fR
294 \fBgetpflags\fR \fBgetpgid\fR
295 \fBgetpgrp\fR \fBgetpid\fR
296 \fBgetpmsg\fR \fBgetppid\fR
297 \fBgetppriv\fR \fBgetpriority\fR
298 \fBgetprogname\fR \fBgetprojid\fR
299 \fBgetpw\fR \fBgetpwent\fR
300 \fBgetpwent_r\fR \fBgetpwnam\fR
301 \fBgetpwnam_r\fR \fBgetpwuid\fR
302 \fBgetpwuid_r\fR \fBgetrctl\fR
303 \fBgetrlimit\fR \fBgetrusage\fR
304 \fBgets\fR \fBgetsid\fR
305 \fBgetspent\fR \fBgetspent_r\fR
306 \fBgetspnam\fR \fBgetspnam_r\fR
307 \fBgetsubopt\fR \fBgettaskid\fR
308 \fBgettext\fR \fBgettimeofday\fR
309 \fBgettxt\fR \fBgetuid\fR
310 \fBgetusershell\fR \fBgetustack\fR
311 \fBgetutent\fR \fBgetutid\fR
312 \fBgetutline\fR \fBgetutmp\fR
313 \fBgetutmpx\fR \fBgetutxent\fR
314 \fBgetutxid\fR \fBgetutxline\fR
315 \fBgetvfsany\fR \fBgetvfsent\fR
316 \fBgetvfsfile\fR \fBgetvfsspec\fR
317 \fBgetw\fR \fBgetwc\fR
318 \fBgetwc_l\fR \fBgetwchar\fR
319 \fBgetwchar_l\fR \fBgetwd\fR
320 \fBgetwidth\fR \fBgetws\fR
321 \fBgetzoneid\fR \fBgetzoneidbyname\fR
322 \fBgetzonenamebyid\fR \fBglob\fR
323 \fBglobfree\fR \fBgmtime\fR
324 \fBgmtime_r\fR \fBgrantpt\fR
325 \fBgsignal\fR \fBhasmntopt\fR
326 \fBhcreate\fR \fBhdestroy\fR
327 \fBhsearch\fR \fBiconv\fR
328 \fBiconv_close\fR \fBiconv_open\fR
329 \fBimaxabs\fR \fBimaxdiv\fR
330 \fBindex\fR \fBinitgroups\fR
331 \fBinitstate\fR \fBinnetgr\fR
332 \fBinsque\fR \fBioctl\fR
333 \fBis_system_labeled\fR \fBisaexec\fR
334 \fBisalnum\fR \fBisalnum_l\fR
335 \fBisalpha\fR \fBisalpha_l\fR
336 \fBisascii\fR \fBisastream\fR
337 \fBisatty\fR \fBisblank\fR
338 \fBisblank_l\fR \fBiscntrl\fR
339 \fBiscntrl_l\fR \fBisdigit\fR
340 \fBisdigit_l\fR \fBisenglish\fR
341 \fBisgraph\fR \fBisgraph_l\fR
342 \fBisideogram\fR \fBislower\fR
343 \fBislower_l\fR \fBisnan\fR
344 \fBisnand\fR \fBisnanf\fR
345 \fBisnumber\fR \fBisphonogram\fR
346 \fBisprint\fR \fBisprint_l\fR
347 \fBispunct\fR \fBispunct_l\fR
348 \fBissetugid\fR \fBisspace\fR
349 \fBisspace_l\fR \fBisspecial\fR
350 \fBisupper\fR \fBisupper_l\fR
351 \fBiswalnum\fR \fBiswalnum_l\fR
352 \fBiswalpha\fR \fBiswalpha_l\fR
353 \fBiswblank\fR \fBiswblank_l\fR
354 \fBiswcntrl\fR \fBiswcntrl_l\fR
355 \fBiswctype\fR \fBiswctype_l\fR
356 \fBiswdigit\fR \fBiswdigit_l\fR
357 \fBiswideogram\fR \fBiswideogram_l\fR
358 \fBiswgraph\fR \fBiswgraph_l\fR
359 \fBiswhexnumber\fR \fBiswhexnumber_l\fR
360 \fBiswlower\fR \fBiswlower_l\fR
361 \fBiswnumber\fR \fBiswnumber_l\fR
362 \fBiswphonogram\fR \fBiswphonogram_l\fR
363 \fBiswprint\fR \fBiswprint_l\fR
364 \fBiswpunct\fR \fBiswpunct_l\fR
365 \fBiswspace\fR \fBiswspace_l\fR
366 \fBiswspecial\fR \fBiswspecial_l\fR
367 \fBiswupper\fR \fBiswupper_l\fR
368 \fBiswxdigit\fR \fBiswxdigit_l\fR
369 \fBisxdigit\fR \fBisxdigit_l\fR
370 \fBjrand48\fR \fBkill\fR
371 \fBkillpg\fR \fBl64a\fR
372 \fBlabs\fR \fBladd\fR
373 \fBlchown\fR \fBlckpwdf\fR
374 \fBlcong48\fR \fBldexp\fR
375 \fBldivide\fR \fBlexp10\fR
376 \fBlfind\fR \fBlfmt\fR
377 \fBlink\fR \fBlinkat\fR
378 \fBlio_listio\fR \fBllabs\fR
379 \fBlldiv\fR \fBllog10\fR
380 \fBllseek\fR \fBlltostr\fR
381 \fBlocaleconv\fR \fBlocaltime\fR
382 \fBlocaltime_r\fR \fBlockf\fR
383 \fBlogb\fR \fBlone\fR
384 \fBlongjmp\fR \fBlrand48\fR
385 \fBlsearch\fR \fBlseek\fR
386 \fBlshiftl\fR \fBlstat\fR
387 \fBlsub\fR \fBlten\fR
388 \fBlzero\fR \fBmadvise\fR
389 \fBmakecontext\fR \fBmakeutx\fR
390 \fBmalloc\fR \fBmblen\fR
391 \fBmblen_l\fR \fBmbrlen\fR
392 \fBmbrlen_l\fR \fBmbrtowc\fR
393 \fBmbrtowc_l\fR \fBmbsinit\fR
394 \fBmbsinit_l\fR \fBmbsnrtowcs\fR
395 \fBmbsnrtowcs_l\fR \fBmbsrtowcs\fR
396 \fBmbsrtowcs_l\fR \fBmbstowcs\fR
397 \fBmbstowcs_l\fR \fBmbtowc\fR
398 \fBmbtowc_l\fR \fBmemalign\fR
399 \fBmembar_consumer\fR \fBmembar_enter\fR
400 \fBmembar_exit\fR \fBmembar_producer\fR
401 \fBmemccpy\fR \fBmemchr\fR
402 \fBmemcmp\fR \fBmemcntl\fR
403 \fBmemcpy\fR \fBmeminfo\fR
404 \fBmemmem\fR \fBmemmove\fR
405 \fBmemset\fR \fBmincore\fR
406 \fBmkdir\fR \fBmkdirat\fR
407 \fBmkfifo\fR \fBmkfifoat\fR
|
1 '\" te
2 .\" Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
3 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
4 .\" Copyright (c) 2009, Sun Microsystems, Inc. All rights reserved.
5 .\" Copyright 2016 Joyent, Inc.
6 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
7 .\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
8 .\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
9 .\" Copyright 2011 by Delphix. All rights reserved.
10 .TH LIBC 3LIB "Sep 06, 2020"
11 .SH NAME
12 libc \- C library
13 .SH DESCRIPTION
14 Functions in this library provide various facilities defined by System V, ANSI
15 C, POSIX, and so on. See \fBstandards\fR(5). In addition, those facilities
16 previously defined in the internationalization and the wide-character libraries
17 are now defined in this library, as are the facilities previously defined in
18 the multithreading libraries, \fBlibthread\fR and \fBlibpthread\fR.
19 .SH INTERFACES
20 The shared object \fBlibc.so.1\fR provides the public interfaces defined below.
21 See \fBIntro\fR(3) for additional information on shared object interfaces.
22 .sp
23
24 .sp
25 .TS
26 l l
27 l l .
28 \fB____loc1\fR \fB___errno\fR
29 \fB__builtin_alloca\fR \fB__ctype\fR
30 \fB__fbufsize\fR \fB__flbf\fR
244 \fBforkall\fR \fBforkallx\fR
245 \fBforkx\fR \fBfpathconf\fR
246 \fBfpclass\fR \fBfpgetmask\fR
247 \fBfpgetround\fR \fBfpgetsticky\fR
248 \fBfprintf\fR \fBfpsetmask\fR
249 \fBfpsetround\fR \fBfpsetsticky\fR
250 \fBfputc\fR \fBfputs\fR
251 \fBfputwc\fR \fBfputws\fR
252 \fBfread\fR \fBfree\fR
253 \fBfreelocale\fR \fBfreopen\fR
254 \fBfrexp\fR \fBfscanf\fR
255 \fBfseek\fR \fBfseeko\fR
256 \fBfsetattr\fR \fBfsetpos\fR
257 \fBfstat\fR \fBfstatat\fR
258 \fBfstatfs\fR \fBfstatvfs\fR
259 \fBfsync\fR \fBftell\fR
260 \fBftello\fR \fBftime\fR
261 \fBftok\fR \fBftruncate\fR
262 \fBftrylockfile\fR \fBftw\fR
263 \fBfunc_to_decimal\fR \fBfunlockfile\fR
264 \fBfutimens\fR \fBfutimes\fR
265 \fBfutimesat\fR \fBfwide\fR
266 \fBfwprintf\fR \fBfwrite\fR
267 \fBfwscanf\fR \fBgconvert\fR
268 \fBgcvt\fR \fBgetacct\fR
269 \fBgetattrat\fR \fBgetc\fR
270 \fBgetc_unlocked\fR \fBgetchar\fR
271 \fBgetchar_unlocked\fR \fBgetcontext\fR
272 \fBgetcpuid\fR \fBgetcwd\fR
273 \fBgetdate\fR \fBgetdate_err\fR
274 \fBgetdents\fR \fBgetdtablesize\fR
275 \fBgetegid\fR \fBgetenv\fR
276 \fBgeteuid\fR \fBgetexecname\fR
277 \fBgetextmntent\fR \fBgetgid\fR
278 \fBgetgrent\fR \fBgetgrent_r\fR
279 \fBgetgrgid\fR \fBgetgrgid_r\fR
280 \fBgetgrnam\fR \fBgetgrnam_r\fR
281 \fBgetgroups\fR \fBgethomelgroup\fR
282 \fBgethostid\fR \fBgethostname\fR
283 \fBgethrtime\fR \fBgethrvtime\fR
284 \fBgetisax\fR \fBgetitimer\fR
285 \fBgetloadavg\fR \fBgetlogin\fR
286 \fBgetlogin_r\fR \fBgetmntany\fR
287 \fBgetmntent\fR \fBgetmsg\fR
288 \fBget_nprocs\fR \fBget_nprocs_conf\fR
289 \fBgetnetgrent\fR \fBgetnetgrent_r\fR
290 \fBgetopt\fR \fBgetopt_clip\fR
291 \fBgetopt_long\fR \fBgetopt_long_only\fR
292 \fBgetpagesize\fR \fBgetpagesizes\fR
293 \fBgetpass\fR \fBgetpassphrase\fR
294 \fBgetpeerucred\fR \fBgetpflags\fR
295 \fBgetpgid\fR \fBgetpgrp\fR
296 \fBgetpid\fR \fBgetpmsg\fR
297 \fBgetppid\fR \fBgetppriv\fR
298 \fBgetpriority\fR \fBgetprogname\fR
299 \fBgetprojid\fR \fBgetpw\fR
300 \fBgetpwent\fR \fBgetpwent_r\fR
301 \fBgetpwnam\fR \fBgetpwnam_r\fR
302 \fBgetpwuid\fR \fBgetpwuid_r\fR
303 \fBgetrctl\fR \fBgetrlimit\fR
304 \fBgetrusage\fR \fBgets\fR
305 \fBgetsid\fR \fBgetspent\fR
306 \fBgetspent_r\fR \fBgetspnam\fR
307 \fBgetspnam_r\fR \fBgetsubopt\fR
308 \fBgettaskid\fR \fBgettext\fR
309 \fBgettimeofday\fR \fBgettxt\fR
310 \fBgetuid\fR \fBgetusershell\fR
311 \fBgetustack\fR \fBgetutent\fR
312 \fBgetutid\fR \fBgetutline\fR
313 \fBgetutmp\fR \fBgetutmpx\fR
314 \fBgetutxent\fR \fBgetutxid\fR
315 \fBgetutxline\fR \fBgetvfsany\fR
316 \fBgetvfsent\fR \fBgetvfsfile\fR
317 \fBgetvfsspec\fR \fBgetw\fR
318 \fBgetwc\fR \fBgetwc_l\fR
319 \fBgetwchar\fR \fBgetwchar_l\fR
320 \fBgetwd\fR \fBgetwidth\fR
321 \fBgetws\fR \fBgetzoneid\fR
322 \fBgetzoneidbyname\fR \fBgetzonenamebyid\fR
323 \fBglob\fR \fBglobfree\fR
324 \fBgmtime\fR \fBgmtime_r\fR
325 \fBgrantpt\fR \fBgsignal\fR
326 \fBhasmntopt\fR \fBhcreate\fR
327 \fBhdestroy\fR \fBhsearch\fR
328 \fBiconv\fR \fBiconv_close\fR
329 \fBiconv_open\fR \fBimaxabs\fR
330 \fBimaxdiv\fR \fBindex\fR
331 \fBinitgroups\fR \fBinitstate\fR
332 \fBinnetgr\fR \fBinsque\fR
333 \fBioctl\fR \fBis_system_labeled\fR
334 \fBisaexec\fR \fBisalnum\fR
335 \fBisalnum_l\fR \fBisalpha\fR
336 \fBisalpha_l\fR \fBisascii\fR
337 \fBisastream\fR \fBisatty\fR
338 \fBisblank\fR \fBisblank_l\fR
339 \fBiscntrl\fR \fBiscntrl_l\fR
340 \fBisdigit\fR \fBisdigit_l\fR
341 \fBisenglish\fR \fBisgraph\fR
342 \fBisgraph_l\fR \fBisideogram\fR
343 \fBislower\fR \fBislower_l\fR
344 \fBisnan\fR \fBisnand\fR
345 \fBisnanf\fR \fBisnumber\fR
346 \fBisphonogram\fR \fBisprint\fR
347 \fBisprint_l\fR \fBispunct\fR
348 \fBispunct_l\fR \fBissetugid\fR
349 \fBisspace\fR \fBisspace_l\fR
350 \fBisspecial\fR \fBisupper\fR
351 \fBisupper_l\fR \fBiswalnum\fR
352 \fBiswalnum_l\fR \fBiswalpha\fR
353 \fBiswalpha_l\fR \fBiswblank\fR
354 \fBiswblank_l\fR \fBiswcntrl\fR
355 \fBiswcntrl_l\fR \fBiswctype\fR
356 \fBiswctype_l\fR \fBiswdigit\fR
357 \fBiswdigit_l\fR \fBiswideogram\fR
358 \fBiswideogram_l\fR \fBiswgraph\fR
359 \fBiswgraph_l\fR \fBiswhexnumber\fR
360 \fBiswhexnumber_l\fR \fBiswlower\fR
361 \fBiswlower_l\fR \fBiswnumber\fR
362 \fBiswnumber_l\fR \fBiswphonogram\fR
363 \fBiswphonogram_l\fR \fBiswprint\fR
364 \fBiswprint_l\fR \fBiswpunct\fR
365 \fBiswpunct_l\fR \fBiswspace\fR
366 \fBiswspace_l\fR \fBiswspecial\fR
367 \fBiswspecial_l\fR \fBiswupper\fR
368 \fBiswupper_l\fR \fBiswxdigit\fR
369 \fBiswxdigit_l\fR \fBisxdigit\fR
370 \fBisxdigit_l\fR \fBjrand48\fR
371 \fBkill\fR \fBkillpg\fR
372 \fBl64a\fR \fBlabs\fR
373 \fBladd\fR \fBlchown\fR
374 \fBlckpwdf\fR \fBlcong48\fR
375 \fBldexp\fR \fBldivide\fR
376 \fBlexp10\fR \fBlfind\fR
377 \fBlfmt\fR \fBlink\fR
378 \fBlinkat\fR \fBlio_listio\fR
379 \fBllabs\fR \fBlldiv\fR
380 \fBllog10\fR \fBllseek\fR
381 \fBlltostr\fR \fBlocaleconv\fR
382 \fBlocaltime\fR \fBlocaltime_r\fR
383 \fBlockf\fR \fBlogb\fR
384 \fBlone\fR \fBlongjmp\fR
385 \fBlrand48\fR \fBlsearch\fR
386 \fBlseek\fR \fBlshiftl\fR
387 \fBlstat\fR \fBlsub\fR
388 \fBlten\fR \fBlutimes\fR
389 \fBlzero\fR \fBmadvise\fR
390 \fBmakecontext\fR \fBmakeutx\fR
391 \fBmalloc\fR \fBmblen\fR
392 \fBmblen_l\fR \fBmbrlen\fR
393 \fBmbrlen_l\fR \fBmbrtowc\fR
394 \fBmbrtowc_l\fR \fBmbsinit\fR
395 \fBmbsinit_l\fR \fBmbsnrtowcs\fR
396 \fBmbsnrtowcs_l\fR \fBmbsrtowcs\fR
397 \fBmbsrtowcs_l\fR \fBmbstowcs\fR
398 \fBmbstowcs_l\fR \fBmbtowc\fR
399 \fBmbtowc_l\fR \fBmemalign\fR
400 \fBmembar_consumer\fR \fBmembar_enter\fR
401 \fBmembar_exit\fR \fBmembar_producer\fR
402 \fBmemccpy\fR \fBmemchr\fR
403 \fBmemcmp\fR \fBmemcntl\fR
404 \fBmemcpy\fR \fBmeminfo\fR
405 \fBmemmem\fR \fBmemmove\fR
406 \fBmemset\fR \fBmincore\fR
407 \fBmkdir\fR \fBmkdirat\fR
408 \fBmkfifo\fR \fBmkfifoat\fR
|