Introduction to Library Functions                        Intro(3)

NAME

Intro, intro - introduction to functions and libraries

DESCRIPTION

This section describes functions found in various libraries, other than those functions that directly invoke UNIX system primitives, which are described in Section 2 of this volume. Function declarations can be obtained from the #include files indicated on each page. Certain major collections are identified by a letter after the section number: (3B) These functions constitute the Source Compatibility (with BSD functions) library. It is implemented as a shared object, libucb.so, and as an archive, libucb.a, but is not automatically linked by the C compilation system. Specify -lucb on the cc command line to link with this library, which is located in the /usr/ucb subdirectory. Header files for this library are located within /usr/ucbinclude. (3C) These functions, together with those of Section 2 and those marked (3S), constitute the standard C library, libc, which is automatically linked by the C compila- tion system. The standard C library is implemented as a shared object, libc.so, and as an archive, libc.a. C programs are linked with the shared object version of the standard C library by default. Specify -dn on the cc command line to link with the archive version. (See cc(1B) for other overrides, and the ``C Compila- tion System'' chapter of the ANSI C Programmer's Guide for a discussion.) Some functions behave differently in the XPG4 environment. This behavior is noted on the individual manual pages. See xpg4(5). (3E) These functions constitute the ELF access library, libelf, (Extensible Linking Formats). This library provides the interface for the creation and analyses of "elf" files; executables, objects, and shared objects. libelf is implemented as a shared object, libelf.so, and as an archive, libelf.a, but is not automatically linked by the C compilation system. Specify -lelf on the cc command line to link with this library. (3G) These functions constitute the string pattern-matching & pathname manipulation library, libgen. This library is implemented as an archive, libgen.a, but not as a shared object, and is not automatically linked by the C compilation system. Specify -lgen on the cc command line to link with this library. (3I) These functions constitute the wide character SunOS 5.8 Last change: 30 Jun 1995 1 Introduction to Library Functions Intro(3) libraries for multi-byte character support, and the international library for messaging. These libraries, libintl, and libw, are both implemented as shared objects, libintl.so and libw.so, and as archives, libintl.a and libw.a. However, they are not automati- cally linked by the C compilation system; specify -lintl or -lw on the cc command line, as needed to link the appropriate library. (3K) These functions allow access to the kernel's virtual memory library, which is implemented as a shared object, libkvm.so, and as an archive, libkvm.a, but is not automatically linked by the C compilation system. Specify -lkvm on the cc command line to link with this library. (3M) These functions constitute the math library, libm. This library is implemented as a shared object, libm.so, and as an archive, libm.a, but is not automatically linked by the C compilation system. Specify -lm on the cc command line to link with this library. (3N) These functions constitute the Network Service Library, libnsl. It is implemented as a shared object, libnsl.so, and as an archive, libnsl.a, but is not automatically linked by the C compilation system. Specify -lnsl on the cc command line to link with this library. Some of the functions documented in man3n incorporate other network libraries, including: o libsocket, o libresolv, o librpcsrv, o libnisdb, o librac, o libxfn, and o libkrb. (3R) These functions constitute the POSIX.4 Realtime library, libposix4. It is implemented only as a shared object, libposix4.so, and is not automatically linked by the C compilation system. Specify -lposix4 on the cc command line to link with this library. (3S) These functions constitute the ``standard I/O pack- age'' (see stdio(3S)). They can be compiled using the the standard C library, libc, which is automatically linked by the C compilation system. The standard C library is implemented as a shared object, libc.so, and as an archive, libc.a. SunOS 5.8 Last change: 30 Jun 1995 2 Introduction to Library Functions Intro(3) (3T) These functions constitute the threads libraries, libpthread and libthread. These libraries are used for building multithreaded applications. libpthread implements the POSIX threads interface, whereas lib- thread implements the Solaris threads interface. Both POSIX threads and Solaris threads can be used within the same application. Their implementations are completely compatible with each other; however, only POSIX threads guarantee portability to other POSIX-compliant environments. When POSIX and Solaris threads are used in the same application, if there are calls with the same name but different semantics, the POSIX semantic supersedes the Solaris semantic. For example, the call to fork() will imply the fork1() semantic in a program linked with the POSIX threads library, whether or not it is also linked with -lthread (Solaris threads). libpthread and libthread are implemented as shared objects, libpthread.so and libthread.so, but not as archived libraries. libpthread and libthread are not automatically linked by the C compilation system. Specify -lpthread or -lthread on the cc command line to link with these libraries. The following functions are optional under POSIX and are not supported in the current Solaris release. int pthread_mutexattr_setprotocol(pthread_mutexattr_t *attr, int protocol); int pthread_mutexattr_getprotocol (const pthread_mutexattr_t *attr, int *protocol); int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *attr, int prioceiling); int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t *attr, int *prioceil- ing); (3X) Specialized libraries. These functions are contained in libraries including, but not limited to, o libadm, o libbsdmalloc, o libcrypt, o libcurses, o libdl, o libform, o libmail, o libmalloc, o libmapmalloc, o libmenu, and o libpanel.

DEFINITIONS

A character is any bit pattern able to fit into a byte on SunOS 5.8 Last change: 30 Jun 1995 3 Introduction to Library Functions Intro(3) the machine. Exception: in some international languages, a "character" may require more than one byte, and is represented in multi-bytes. The null character is a character with value 0, convention- ally represented in the C language as \0. A character array is a sequence of characters. A null-terminated character array (a string) is a sequence of characters, the last of which is the null character. The null string is a character array containing only the terminating null character. A NULL pointer is the value that is obtained by casting 0 into a pointer. C guarantees that this value will not match that of any legitimate pointer, so many functions that return pointers return NULL to indicate an error. The macro NULL is defined in <stdio.h>. Types of the form size_t are defined in the appropriate headers. MT-Level of Libraries Libraries are classified into four categories which define the level of the libraries' ability to support threads. The MT-Level category of the libraries in this section are shown on each man page under MT-Level. Pages containing routines that are of multiple or differing MT-Levels show this under the NOTES section. Safe Safe is simply an attribute of code that can be called from a multithreaded application. It is a generic term used to differentiate between code that is unsafe. Unsafe An unsafe library contains global and static data that is not protected. It is not safe to use unless the application arranges for only one thread at time to execute within the library. Unsafe libraries may contain routines that are safe; however, most of the library's routines are unsafe to call. MT-Safe An MT-Safe library is fully prepared for mul- tithreaded access. It protects its global and static data with locks, and can provide a rea- sonable amount of concurrency. Note that a library can be safe to use, but not MT-Safe. For example, surrounding an entire library with a monitor makes the library safe, but it supports no concurrency so it is not considered MT-Safe. An MT-Safe library must permit a reasonable amount of concurrency. (This definition's pur- pose is to give precision to what is meant when SunOS 5.8 Last change: 30 Jun 1995 4 Introduction to Library Functions Intro(3) a library is described as safe. The definition of a "safe" library does not specify if the library supports concurrency. The MT-Safe definition makes it clear that the library is safe, and supports some concurrency. This clar- ifies the safe definition, which can mean any- thing from being single threaded to being any degree of multithreaded.) Async-Signal-Safe Async-Signal-Safe refers to particular library routines that can be safely called from a signal handler. A thread that is executing an Async- Signal-Safe routine will not deadlock with itself if interrupted by a signal. Signals are only a problem for MT-Safe routines that acquire locks. Signals are disabled when locks are acquired in Async-Signal-Safe routines. This prevents a signal handler that might acquire the same lock from being called. The designation "Async-Safe" also indicates "Async-Signal-Safe." The list of "Async-Signal-Safe" functions includes: _exit kill tcflow access link tcflush aio_error lseek tcgetattr aio_return mkdir tcgetpgrp aio_suspend mkfifo tcsendbreak alarm open tcsetattr cfgetispeed pathconf tcsetpgrp cfgetospeed pause thr_kill cfsetispeed pipe thr_sigsetmask cfsetospeed read time chdir rename timer_getoverrun chmod rmdir timer_gettime chown sem_post timer_settime clock_gettime sema_post times close setgid umask creat setpgid uname dup setsid unlink dup2 setuid utime execle sigaction wait execve sigaddset waitpid fcntl sigdelset write fdatasync sigemptyset fork sigfillset SunOS 5.8 Last change: 30 Jun 1995 5 Introduction to Library Functions Intro(3) fstat sigismember fsync sigpending getegid sigprocmask geteuid sigqueue getgid sigsuspend getgroups sleep getpgrp stat getpid sysconf getppid tcdrain getuid tcdrain MT-Safe with exceptions See the NOTES sections of these pages for a description of the exceptions. Safe with exceptions See the NOTES sections of these pages for a description of the exceptions. Fork1-Safe A fork1-safe library releases the locks it had held whenever fork1(2) is called in a Solaris thread program, or fork(2) in a POSIX thread program. Calling fork(2) in a POSIX thread pro- gram has the same semantic as calling fork1(2) in a Solaris thread program. All system calls, libpthread, and libthread are Fork1-Safe. Oth- erwise, you should handle the locking clean-up yourself (see pthread_atfork(3T)). The following table contains reentrant counterparts for unsafe functions. This table is subject to change by Sun- Soft. Reentrant functions for libc Unsafe Function Reentrant counterpart ctime ctime_r localtime localtime_r asctime asctime_r gmtime gmtime_r ctermid ctermid_r getlogin getlogin_r rand rand_r readdir readdir_r strtok strtok_r tmpnam tmpnam_r Cancel-Safety If a multi-threaded application uses pthread_cancel(3T) to cancel (i.e., kill a thread), it is possible that the target thread is killed while holding a resource, such as a lock or allocated memory. If the thread has SunOS 5.8 Last change: 30 Jun 1995 6 Introduction to Library Functions Intro(3) not installed the appropriate cancellation cleanup handlers to release the resources appropriately (see pthread_cancel(3T)), the application is "cancel- unsafe", i.e., it is not safe with respect to cancella- tion. This unsafety could result in deadlocks due to locks not released by a thread that gets cancelled, or resource leaks; for example, memory not being freed on thread cancellation. All applications that use pthread_cancel(3T)shouldensurethattheyoperate cancel- safe environment. Libraries that have cancellation points and which acquire resources such as locks or allocate memory dynamically, also contribute to the cancel-unsafety of applications that are linked with these libraries. This introduces another level of safety for libraries in a multi-threaded program: cancel-safety. There are two sub-categories of cancel-safety: Deferred-cancel-safety and Asynchronous-cancel-safety. An application is considered to be Deferred-cancel-safe when it is cancel-safe for threads whose cancellation type is PTHREAD_CANCEL_DEFERRED. An application is considered to be Asynchronous- cancel-safe when it is cancel-safe for threads whose cancellation type is PTHREAD_CANCEL_ASYNCHRONOUS. Deferred-cancel-safety is easier to achieve than Asynchronous-cancel-safety, since a thread with the deferred cancellation type can be cancelled only at well-defined "cancellation points", whereas a thread with the asynchronous cancellation type can be can- celled anywhere. Since all threads are created by default to have the deferred cancellation type, it may never be necessary to worry about asynchronous cancel safety. Indeed, most applications and libraries are expected to always be Asynchronous-cancel-unsafe. An application which is Asynchronous-cancel-safe is also, by definition, Deferred-cancel-safe.

FILES

INCDIR usually /usr/include LIBDIR usually /usr/ccs/lib LIBDIR/libc.so LIBDIR/libc.a LIBDIR/libgen.a LIBDIR/libm.a LIBDIR/libsfm.sa /usr/lib/libc.so.1

SEE ALSO

ar(1), cc(1B), ld(1), nm(1), fork(2), intro(2), stdio(3S), pthread_atfork(3T), xpg4(5) SunOS 5.8 Last change: 30 Jun 1995 7 Introduction to Library Functions Intro(3) ANSI C Programmer's Guide

DIAGNOSTICS

For functions that return floating-point values, error han- dling varies according to compilation mode. Under the -Xt (default) option to cc, these functions return the conven- tional values 0, _HUGE, or NaN when the function is unde- fined for the given arguments or when the value is not representable. In the -Xa and -Xc compilation modes, _HUGE_VAL is returned instead of _HUGE. (HUGE_VAL and HUGE are defined in math.h to be infinity and the largest- magnitude single-precision number, respectively.)

NOTES ON MULTITHREAD APPLICATIONS

When compiling a multithreaded application, either the _POSIX_C_SOURCE, _POSIX_PTHREAD_SEMANTICS, or _REENTRANT flag must be defined on the command line. This enables spe- cial definitions for functions only applicable to mul- tithreaded applications. For POSIX.1c compliant applica- tions, define the _POSIX_C_SOURCE flag to be >= 199506L: cc [flags] file... -D_POSIX_C_SOURCE=199506L -lpthread For POSIX behavior with the Solaris fork() and fork1() dis- tinction, compile as follows: cc [flags] file... -D_POSIX_PTHREAD_SEMANTICS -lthread For Solaris behavior, compile as follows: cc [flags] file... -D_REENTRANT -lthread When building a singlethreaded application, the above flags should be undefined. This generates a binary that is exe- cutable on previous Solaris releases, which do not support multithreading. When linking, it is a requirement that a multithreaded application be constructed to ensure that libthread physi- cally interposes upon the C library. For example, the com- mand line for linking the application using ld should be ordered as follows: example% ld [options] .o's ... -lthread Note that the behavior of the C library is undefined if -lc precedes -lthread. And, when linking with cc, -lthread or -lpthread must be last on the command line. Unsafe interfaces should be called only from the main thread to ensure the application's safety. SunOS 5.8 Last change: 30 Jun 1995 8 Introduction to Library Functions Intro(3) MT-Safe interfaces are denoted in the NOTES section of the functions and libraries man pages. If a man page does not state explicitly that an interface is MT-Safe, the user should assume that the interface is unsafe.

REALTIME APPLICATIONS

Be sure to have set the environment variable LD_BIND_NOW to a non-NULL value to enable early binding.

NOTES

None of the functions, external variables, or macros should be redefined in the user's programs. Any other name may be redefined without affecting the behavior of other library functions, but such redefinition may conflict with a declaration in an included header. The headers in INCDIR provide function prototypes (function declarations including the types of arguments) for most of the functions listed in this manual. Function prototypes allow the compiler to check for correct usage of these func- tions in the user's program. The lint program checker may also be used and will report discrepancies even if the headers are not included with #include statements. Defini- tions for Sections 2, 3C, and 3S are checked automatically. Other definitions can be included by using the -l option to lint. (For example, -lm includes definitions for libm.) Use of lint is highly recommended. See the lint chapter in Profiling Tools. Users should carefully note the difference between STREAMS and stream. STREAMS is a set of kernel mechanisms that sup- port the development of network services and data communica- tion drivers. It is composed of utility routines, kernel facilities, and a set of data structures. A stream is a file with its associated buffering. It is declared to be a pointer to a type FILE defined in <stdio.h>. In detailed definitions of components, it is sometimes necessary to refer to symbolic names that are implementation-specific, but which are not necessarily expected to be accessible to an application program. Many of these symbolic names describe boundary conditions and system limits. In this section, for readability, these implementation- specific values are given symbolic names. These names always appear enclosed in curly brackets to distinguish them from symbolic names of other implementation-specific con- stants that are accessible to application programs by headers. These names are not necessarily accessible to an application program through a header, although they may be defined in the documentation for a particular system. SunOS 5.8 Last change: 30 Jun 1995 9 Introduction to Library Functions Intro(3) In general, a portable application program should not refer to these symbolic names in its code. For example, an appli- cation program would not be expected to test the length of an argument list given to a routine to determine if it was greater than {ARG_MAX}.

LIST OF C LIBRARY FUNCTIONS

Name Description a64l(3C) convert between long integer and base-64 ASCII string abort(3C) terminate the process abnor- mally abs(3C) return abso- lute value of integer accept(3N) accept a con- nection on a socket aclcheck(3) check the validity of an ACL aclfrommode(3) See acltomode(3) aclfrompbits(3) See acltopbits(3) aclfromtext(3) See acltotext(3) aclsort(3) sort an ACL acltomode(3) convert an ACL to/from per- mission bits acltopbits(3) convert an ACL to/from per- mission bits acltotext(3) convert an SunOS 5.8 Last change: 30 Jun 1995 10 Introduction to Library Functions Intro(3) internal representation to/from exter- nal represen- tation acos(3M) See trig(3M) acosh(3M) See hyperbolic(3M) addch(3X) See curs_addch(3X) addchnstr(3X) See curs_addchstr(3X) addchstr(3X) See curs_addchstr(3X) addnstr(3X) See curs_addstr(3X) addnwstr(3X) See curs_addwstr(3X) addsev(3C) define addi- tional severi- ties addseverity(3C) build a list of severity levels for an application for use with fmtmsg addstr(3X) See curs_addstr(3X) addwch(3X) See curs_addwch(3X) addwchnstr(3X) See curs_addwchstr(3X) addwchstr(3X) See curs_addwchstr(3X) addwstr(3X) See curs_addwstr(3X) SunOS 5.8 Last change: 30 Jun 1995 11 Introduction to Library Functions Intro(3) adjcurspos(3X) See curs_alecompat(3X) advance(3G) See regexpr(3G) aiocancel(3) cancel an asynchronous operation aio_cancel(3R) cancel asyn- chronous I/O request aio_error(3R) See aio_return(3R) aio_fsync(3R) asynchronous file synchron- ization aioread(3) asynchronous I/O operations aio_read(3R) asynchronous read and write operations aio_return(3R) retrieve return or error status of asynchro- nous I/O operation aio_suspend(3R) wait for asyn- chronous I/O request aiowait(3) wait for com- pletion of asynchronous I/O operation aiowrite(3) See aioread(3) aio_write(3R) See aio_read(3R) alloca(3C) See malloc(3C) alphasort(3B) See SunOS 5.8 Last change: 30 Jun 1995 12 Introduction to Library Functions Intro(3) scandir(3B) arc(3) See plot(3) ascftime(3C) See strftime(3C) asctime(3C) See ctime(3C) asctime_r(3C) See ctime(3C) asin(3M) See trig(3M) asinh(3M) See hyperbolic(3M) assert(3C) verify program assertion asysmem(3) See sysmem(3) atan(3M) See trig(3M) atan2(3M) See trig(3M) atanh(3M) See hyperbolic(3M) atexit(3C) add program termination routine atof(3C) See strtod(3C) atoi(3C) See strtol(3C) atol(3C) See strtol(3C) atoll(3C) See strtol(3C) attroff(3X) See curs_attr(3X) attron(3X) See curs_attr(3X) attrset(3X) See curs_attr(3X) au_close(3) See au_open(3) au_open(3) construct and SunOS 5.8 Last change: 30 Jun 1995 13 Introduction to Library Functions Intro(3) write audit records au_preselect(3) preselect an audit event authdes_create(3N) See rpc_soc(3N) authdes_getucred(3N) See secure_rpc(3N) authdes_seccreate(3N) See secure_rpc(3N) auth_destroy(3N) See rpc_clnt_auth(3N) authkerb_getucred(3N) See kerberos_rpc(3N) authkerb_seccreate(3N) See kerberos_rpc(3N) authnone_create(3N) See rpc_clnt_auth(3N) authsys_create(3N) See rpc_clnt_auth(3N) authsys_create_default(3N) See rpc_clnt_auth(3N) authunix_create(3N) See rpc_soc(3N) authunix_create_default(3N) See rpc_soc(3N) au_to(3) create audit record tokens au_to_arg(3) See au_to(3) au_to_attr(3) See au_to(3) au_to_data(3) See au_to(3) au_to_groups(3) See au_to(3) au_to_in_addr(3) See au_to(3) SunOS 5.8 Last change: 30 Jun 1995 14 Introduction to Library Functions Intro(3) au_to_ipc(3) See au_to(3) au_to_ipc_perm(3) See au_to(3) au_to_iport(3) See au_to(3) au_to_me(3) See au_to(3) au_to_opaque(3) See au_to(3) au_to_path(3) See au_to(3) au_to_process(3) See au_to(3) au_to_return(3) See au_to(3) au_to_socket(3) See au_to(3) au_to_text(3) See au_to(3) au_user_mask(3) get user's binary preselection mask au_write(3) See au_open(3) basename(3G) return the last element of a path name baudrate(3X) See curs_termattrs(3X) bcmp(3C) See bstring(3C) bcopy(3C) See bstring(3C) beep(3X) See curs_beep(3X) bessel(3M) Bessel func- tions bgets(3G) read stream up to next delim- iter bind(3N) bind a name to a socket SunOS 5.8 Last change: 30 Jun 1995 15 Introduction to Library Functions Intro(3) bindtextdomain(3I) See gettext(3I) bkgd(3X) See curs_bkgd(3X) bkgdset(3X) See curs_bkgd(3X) border(3X) See curs_border(3X) bottom_panel(3X) See panel_top(3X) box(3) See plot(3) box(3X) See curs_border(3X) bsdmalloc(3X) memory alloca- tor bsearch(3C) binary search a sorted table bstring(3C) bit and byte string opera- tions bufsplit(3G) split buffer into fields byteorder(3N) convert values between host and network byte order bzero(3C) See bstring(3C) calloc(3C) See malloc(3C) calloc(3X) See malloc(3X) calloc(3X) See mapmalloc(3X) callrpc(3N) See rpc_soc(3N) cancellation(3T) canceling SunOS 5.8 Last change: 30 Jun 1995 16 Introduction to Library Functions Intro(3) execution of a thread can_change_color(3X) See curs_color(3X) catclose(3C) See catopen(3C) catgets(3C) read a program message catopen(3C) open/close a message cata- log cbc_crypt(3) See des_crypt(3) cbreak(3X) See curs_inopts(3X) cbrt(3M) See sqrt(3M) ceil(3M) See floor(3M) cfgetispeed(3) See termios(3) cfgetospeed(3) See termios(3) cfree(3X) See mapmalloc(3X) cfsetispeed(3) See termios(3) cfsetospeed(3) See termios(3) cftime(3C) See strftime(3C) circle(3) See plot(3) clear(3X) See curs_clear(3X) clearerr(3S) See ferror(3S) clearok(3X) See curs_outopts(3X) clnt_broadcast(3N) See rpc_soc(3N) SunOS 5.8 Last change: 30 Jun 1995 17 Introduction to Library Functions Intro(3) clnt_call(3N) See rpc_clnt_calls(3N) clnt_control(3N) See rpc_clnt_create(3N) clnt_create(3N) See rpc_clnt_create(3N) clnt_create_timed(3N) See rpc_clnt_create(3N) clnt_create_vers(3N) See rpc_clnt_create(3N) clnt_destroy(3N) See rpc_clnt_create(3N) clnt_dg_create(3N) See rpc_clnt_create(3N) clnt_freeres(3N) See rpc_clnt_calls(3N) clnt_geterr(3N) See rpc_clnt_calls(3N) clnt_pcreateerror(3N) See rpc_clnt_create(3N) clnt_perrno(3N) See rpc_clnt_calls(3N) clnt_perror(3N) See rpc_clnt_calls(3N) clnt_raw_create(3N) See rpc_clnt_create(3N) clntraw_create(3N) See rpc_soc(3N) clnt_spcreateerror(3N) See rpc_clnt_create(3N) clnt_sperrno(3N) See rpc_clnt_calls(3N) clnt_sperror(3N) See rpc_clnt_calls(3N) clnttcp_create(3N) See SunOS 5.8 Last change: 30 Jun 1995 18 Introduction to Library Functions Intro(3) rpc_soc(3N) clnt_tli_create(3N) See rpc_clnt_create(3N) clnt_tp_create(3N) See rpc_clnt_create(3N) clnt_tp_create_timed(3N) See rpc_clnt_create(3N) clntudp_bufcreate(3N) See rpc_soc(3N) clntudp_create(3N) See rpc_soc(3N) clnt_vc_create(3N) See rpc_clnt_create(3N) clock(3C) report CPU time used clock_getres(3R) See clock_settime(3R) clock_gettime(3R) See clock_settime(3R) clock_settime(3R) high- resolution clock opera- tions closedir(3C) See directory(3C) closelog(3) See syslog(3) closepl(3) See plot(3) closevt(3) See plot(3) clrtobot(3X) See curs_clear(3X) clrtoeol(3X) See curs_clear(3X) color_content(3X) See curs_color(3X) SunOS 5.8 Last change: 30 Jun 1995 19 Introduction to Library Functions Intro(3) compile(3G) See regexpr(3G) cond_broadcast(3T) See condition(3T) cond_destroy(3T) See condition(3T) cond_init(3T) See condition(3T) condition(3T) condition variables cond_signal(3T) See condition(3T) cond_timedwait(3T) See condition(3T) cond_wait(3T) See condition(3T) confstr(3C) get configur- able variables connect(3N) initiate a connection on a socket cont(3) See plot(3) conv(3C) translate characters copylist(3G) copy a file into memory copysign(3M) See ieee_functions(3M) copywin(3X) See curs_overlay(3X) cos(3M) See trig(3M) cosh(3M) See hyperbolic(3M) crypt(3C) generate encryption SunOS 5.8 Last change: 30 Jun 1995 20 Introduction to Library Functions Intro(3) cset(3I) get informa- tion on EUC codesets csetcol(3I) See cset(3I) csetlen(3I) See cset(3I) csetno(3I) See cset(3I) ctermid(3S) generate path name for con- trolling ter- minal ctermid_r(3S) See ctermid(3S) ctime(3C) convert date and time to string ctime_r(3C) See ctime(3C) ctype(3C) character han- dling current_field(3X) See form_page(3X) current_item(3X) See menu_item_current(3X) curs_addch(3X) add a charac- ter (with attributes) to a curses win- dow and advance cursor curs_addchstr(3X) add string of characters (and attri- butes) to a curses window curs_addstr(3X) add a string of characters to a curses window and advance cursor SunOS 5.8 Last change: 30 Jun 1995 21 Introduction to Library Functions Intro(3) curs_addwch(3X) add a wchar_t character (with attri- butes) to a curses window and advance cursor curs_addwchstr(3X) add string of wchar_t char- acters (and attributes) to a curses win- dow curs_addwstr(3X) add a string of wchar_t characters to a curses win- dow and advance cursor curs_alecompat(3X) these func- tions are added to ALE curses library for moving the cursor by character. curs_attr(3X) curses charac- ter and window attribute con- trol routines curs_beep(3X) curses bell and screen flash routines curs_bkgd(3X) curses window background manipulation routines curs_border(3X) create curses borders, hor- izontal and vertical lines curs_clear(3X) clear all or part of a curses window SunOS 5.8 Last change: 30 Jun 1995 22 Introduction to Library Functions Intro(3) curs_color(3X) curses color manipulation routines curs_delch(3X) delete charac- ter under cur- sor in a curses window curs_deleteln(3X) delete and insert lines in a curses window curses(3X) CRT screen handling and optimization package curs_getch(3X) get (or push back) charac- ters from curses termi- nal keyboard curs_getstr(3X) get character strings from curses termi- nal keyboard curs_getwch(3X) get (or push back) wchar_t characters from curses terminal key- board curs_getwstr(3X) get wchar_t character strings from curses termi- nal keyboard curs_getyx(3X) get curses cursor and window coordi- nates curs_inch(3X) get a charac- ter and its attributes from a curses SunOS 5.8 Last change: 30 Jun 1995 23 Introduction to Library Functions Intro(3) window curs_inchstr(3X) get a string of characters (and attri- butes) from a curses window curs_initscr(3X) curses screen initialization and manipula- tion routines curs_inopts(3X) curses termi- nal input option control routines curs_insch(3X) insert a char- acter before the character under the cur- sor in a curses window curs_insstr(3X) insert string before charac- ter under the cursor in a curses window curs_instr(3X) get a string of characters from a curses window curs_inswch(3X) insert a wchar_t char- acter before the character under the cur- sor in a curses window curs_inswstr(3X) insert wchar_t string before character under the cur- sor in a curses window curs_inwch(3X) get a wchar_t SunOS 5.8 Last change: 30 Jun 1995 24 Introduction to Library Functions Intro(3) character and its attributes from a curses window curs_inwchstr(3X) get a string of wchar_t characters (and attri- butes) from a curses window curs_inwstr(3X) get a string of wchar_t characters from a curses window curs_kernel(3X) low-level curses rou- tines curs_move(3X) move curses window cursor curs_outopts(3X) curses termi- nal output option control routines curs_overlay(3X) overlap and manipulate overlapped curses windows curs_pad(3X) create and display curses pads curs_printw(3X) print format- ted output in curses windows curs_refresh(3X) refresh curses windows and lines curs_scanw(3X) convert for- matted input from a curses widow SunOS 5.8 Last change: 30 Jun 1995 25 Introduction to Library Functions Intro(3) curs_scr_dump(3X) read (write) a curses screen from (to) a file curs_scroll(3X) scroll a curses window curs_set(3X) See curs_kernel(3X) curs_slk(3X) curses soft label routines curs_termattrs(3X) curses environment query routines curs_termcap(3X) curses inter- faces (emu- lated) to the termcap library curs_terminfo(3X) curses inter- faces to ter- minfo database curs_touch(3X) curses refresh control rou- tines curs_util(3X) curses miscel- laneous util- ity routines curs_window(3X) create curses windows cuserid(3S) get character login name of the user data_ahead(3X) See form_data(3X) data_behind(3X) See form_data(3X) db_add_entry(3N) See nis_db(3N) db_checkpoint(3N) See nis_db(3N) SunOS 5.8 Last change: 30 Jun 1995 26 Introduction to Library Functions Intro(3) db_create_table(3N) See nis_db(3N) db_destroy_table(3N) See nis_db(3N) db_first_entry(3N) See nis_db(3N) db_free_result(3N) See nis_db(3N) db_initialize(3N) See nis_db(3N) db_list_entries(3N) See nis_db(3N) dbm(3B) data base sub- routines dbm_clearerr(3) See ndbm(3) dbm_close(3) See ndbm(3) dbmclose(3B) See dbm(3B) dbm_delete(3) See ndbm(3) dbm_error(3) See ndbm(3) dbm_fetch(3) See ndbm(3) dbm_firstkey(3) See ndbm(3) dbminit(3B) See dbm(3B) dbm_nextkey(3) See ndbm(3) dbm_open(3) See ndbm(3) dbm_store(3) See ndbm(3) db_next_entry(3N) See nis_db(3N) db_remove_entry(3N) See nis_db(3N) db_reset_next_entry(3N) See nis_db(3N) db_standby(3N) See nis_db(3N) db_table_exists(3N) See nis_db(3N) db_unload_table(3N) See nis_db(3N) dcgettext(3I) See gettext(3I) SunOS 5.8 Last change: 30 Jun 1995 27 Introduction to Library Functions Intro(3) decimal_to_double(3) See decimal_to_floating(3) decimal_to_extended(3) See decimal_to_floating(3) decimal_to_floating(3) convert decimal record to floating- point value decimal_to_quadruple(3) See decimal_to_floating(3) decimal_to_single(3) See decimal_to_floating(3) def_prog_mode(3X) See curs_kernel(3X) def_shell_mode(3X) See curs_kernel(3X) delay_output(3X) See curs_util(3X) delch(3X) See curs_delch(3X) del_curterm(3X) See curs_terminfo(3X) delete(3B) See dbm(3B) deleteln(3X) See curs_deleteln(3X) del_panel(3X) See panel_new(3X) delscreen(3X) See curs_initscr(3X) delwin(3X) See curs_window(3X) demangle(3) decode a C++ encoded symbol name derwin(3X) See curs_window(3X) SunOS 5.8 Last change: 30 Jun 1995 28 Introduction to Library Functions Intro(3) des_crypt(3) fast DES encryption DES_FAILED(3) See des_crypt(3) des_failed(3) See des_crypt(3) des_setparity(3) See des_crypt(3) dgettext(3I) See gettext(3I) dial(3N) establish an outgoing ter- minal line connection difftime(3C) computes the difference between two calendar times directory(3C) directory operations dirname(3G) report the parent direc- tory name of a file path name div(3C) compute the quotient and remainder dladdr(3X) translate address to symbolic information dlclose(3X) close a shared object dlerror(3X) get diagnostic information dlopen(3X) open a shared object dlsym(3X) get the SunOS 5.8 Last change: 30 Jun 1995 29 Introduction to Library Functions Intro(3) address of a symbol in a shared object dn_comp(3N) See resolver(3N) dn_expand(3N) See resolver(3N) doconfig(3N) execute a con- figuration script double_to_decimal(3) See floating_to_decimal(3) doupdate(3X) See curs_refresh(3X) drand48(3C) generate uni- formly distri- buted pseudo- random numbers dup2(3C) duplicate an open file descriptor dup_field(3X) See form_field_new(3X) dupwin(3X) See curs_window(3X) dynamic_field_info(3X) See form_field_info(3X) ecb_crypt(3) See des_crypt(3) echo(3X) See curs_inopts(3X) echochar(3X) See curs_addch(3X) echowchar(3X) See curs_addwch(3X) econvert(3) output conver- sion SunOS 5.8 Last change: 30 Jun 1995 30 Introduction to Library Functions Intro(3) ecvt(3) See econvert(3) ecvt(3C) convert floating-point number to string _edata(3C) See end(3C) edata(3C) See end(3C) elf(3E) object file access library elf32_fsize(3E) return the size of an object file type elf32_getehdr(3E) retrieve class- dependent object file header elf32_getphdr(3E) retrieve class- dependent pro- gram header table elf32_getshdr(3E) retrieve class- dependent sec- tion header elf32_newehdr(3E) See elf32_getehdr(3E) elf32_newphdr(3E) See elf32_getphdr(3E) elf32_xlatetof(3E) class- dependent data translation elf32_xlatetom(3E) See elf32_xlatetof(3E) elf_begin(3E) process ELF object files SunOS 5.8 Last change: 30 Jun 1995 31 Introduction to Library Functions Intro(3) elf_cntl(3E) control an elf file descrip- tor elf_end(3E) See elf_begin(3E) elf_errmsg(3E) error handling elf_errno(3E) See elf_errmsg(3E) elf_fill(3E) set fill byte elf_flagdata(3E) manipulate flags elf_flagehdr(3E) See elf_flagdata(3E) elf_flagelf(3E) See elf_flagdata(3E) elf_flagphdr(3E) See elf_flagdata(3E) elf_flagscn(3E) See elf_flagdata(3E) elf_flagshdr(3E) See elf_flagdata(3E) elf_getarhdr(3E) retrieve archive member header elf_getarsym(3E) retrieve archive symbol table elf_getbase(3E) get the base offset for an object file elf_getdata(3E) get section data elf_getident(3E) retrieve file identification data elf_getscn(3E) get section SunOS 5.8 Last change: 30 Jun 1995 32 Introduction to Library Functions Intro(3) information elf_hash(3E) compute hash value elf_kind(3E) determine file type elf_memory(3E) See elf_begin(3E) elf_ndxscn(3E) See elf_getscn(3E) elf_newdata(3E) See elf_getdata(3E) elf_newscn(3E) See elf_getscn(3E) elf_next(3E) See elf_begin(3E) elf_nextscn(3E) See elf_getscn(3E) elf_rand(3E) See elf_begin(3E) elf_rawdata(3E) See elf_getdata(3E) elf_rawfile(3E) retrieve unin- terpreted file contents elf_strptr(3E) make a string pointer elf_update(3E) update an ELF descriptor elf_version(3E) coordinate ELF library and application versions encrypt(3C) See crypt(3C) end(3C) last locations in program SunOS 5.8 Last change: 30 Jun 1995 33 Introduction to Library Functions Intro(3) _end(3C) See end(3C) endac(3) See getacinfo(3) endauclass(3) See getauclassent(3) endauevent(3) See getauevent(3) endauuser(3) See getauusernam(3) endgrent(3C) See getgrnam(3C) endhostent(3N) See gethostbyname(3N) endnetconfig(3N) See getnetconfig(3N) endnetent(3N) See getnetbyname(3N) endnetgrent(3N) See getnetgrent(3N) endnetpath(3N) See getnetpath(3N) endprotoent(3N) See getprotobyname(3N) endpwent(3C) See getpwnam(3C) endrpcent(3N) See getrpcbyname(3N) endservent(3N) See getservbyname(3N) endspent(3C) See getspnam(3C) endusershell(3C) See getusershell(3C) endutent(3C) See getutent(3C) SunOS 5.8 Last change: 30 Jun 1995 34 Introduction to Library Functions Intro(3) endutxent(3C) See getutxent(3C) endwin(3X) See curs_initscr(3X) erand48(3C) See drand48(3C) erase(3) See plot(3) erase(3X) See curs_clear(3X) erasechar(3X) See curs_termattrs(3X) erf(3M) error func- tions erfc(3M) See erf(3M) errno(3C) See perror(3C) _etext(3C) See end(3C) etext(3C) See end(3C) ether_aton(3N) See ethers(3N) ether_hostton(3N) See ethers(3N) ether_line(3N) See ethers(3N) ether_ntoa(3N) See ethers(3N) ether_ntohost(3N) See ethers(3N) ethers(3N) Ethernet address map- ping opera- tions euccol(3I) See euclen(3I) euclen(3I) get byte length and display width of EUC charac- ters eucscol(3I) See euclen(3I) SunOS 5.8 Last change: 30 Jun 1995 35 Introduction to Library Functions Intro(3) exit(3C) terminate pro- cess exp(3M) exponential, logarithm, power expm1(3M) See exp(3M) extended_to_decimal(3) See floating_to_decimal(3) fabs(3M) See ieee_functions(3M) fattach(3C) attach a STREAMS-based file descrip- tor to an object in the file system name space fclose(3S) close or flush a stream fconvert(3) See econvert(3) fcvt(3) See econvert(3) fcvt(3C) See ecvt(3C) fdatasync(3R) synchronize a file's data fdetach(3C) detach a name from a STREAMS-based file descrip- tor fdopen(3S) See fopen(3S) feof(3S) See ferror(3S) ferror(3S) stream status inquiries fetch(3B) See dbm(3B) SunOS 5.8 Last change: 30 Jun 1995 36 Introduction to Library Functions Intro(3) fflush(3S) See fclose(3S) ffs(3C) find first set bit fgetc(3S) See getc(3S) fgetgrent(3C) See getgrnam(3C) fgetgrent_r(3C) See getgrnam(3C) fgetpos(3C) See fsetpos(3C) fgetpwent(3C) See getpwnam(3C) fgetpwent_r(3C) See getpwnam(3C) fgets(3S) See gets(3S) fgetspent(3C) See getspnam(3C) fgetspent_r(3C) See getspnam(3C) fgetwc(3I) See getwc(3I) fgetws(3I) See getws(3I) field_arg(3X) See form_field_validation(3X) field_back(3X) See form_field_attributes(3X) field_buffer(3X) See form_field_buffer(3X) field_count(3X) See form_field(3X) field_fore(3X) See form_field_attributes(3X) field_index(3X) See form_page(3X) SunOS 5.8 Last change: 30 Jun 1995 37 Introduction to Library Functions Intro(3) field_info(3X) See form_field_info(3X) field_init(3X) See form_hook(3X) field_just(3X) See form_field_just(3X) field_opts(3X) See form_field_opts(3X) field_opts_off(3X) See form_field_opts(3X) field_opts_on(3X) See form_field_opts(3X) field_pad(3X) See form_field_attributes(3X) field_status(3X) See form_field_buffer(3X) field_term(3X) See form_hook(3X) field_type(3X) See form_field_validation(3X) field_userptr(3X) See form_field_userptr(3X) fileno(3S) See ferror(3S) file_to_decimal(3) See string_to_decimal(3) filter(3X) See curs_util(3X) finite(3C) See isnan(3C) firstkey(3B) See dbm(3B) flash(3X) See curs_beep(3X) floating_to_decimal(3) convert floating-point value to decimal record SunOS 5.8 Last change: 30 Jun 1995 38 Introduction to Library Functions Intro(3) flock(3B) apply or remove an advisory lock on an open file flockfile(3S) acquire and release stream lock floor(3M) round to integral value in floating- point format flushinp(3X) See curs_util(3X) fmod(3M) See ieee_functions(3M) fmtmsg(3C) display a mes- sage on stderr or system con- sole fn_attr_get(3N) return speci- fied attribute associated with name fn_attr_get_ids(3N) get a list of the identif- iers of all attributes associated with named object fn_attr_get_values(3N) return values of an attri- bute fn_attribute_add(3N) See FN_attribute_t(3N) fn_attribute_assign(3N) See FN_attribute_t(3N) fn_attribute_copy(3N) See FN_attribute_t(3N) SunOS 5.8 Last change: 30 Jun 1995 39 Introduction to Library Functions Intro(3) fn_attribute_create(3N) See FN_attribute_t(3N) fn_attribute_destroy(3N) See FN_attribute_t(3N) fn_attribute_first(3N) See FN_attribute_t(3N) fn_attribute_identifier(3N) See FN_attribute_t(3N) fn_attribute_next(3N) See FN_attribute_t(3N) fn_attribute_remove(3N) See FN_attribute_t(3N) fn_attribute_syntax(3N) See FN_attribute_t(3N) FN_attribute_t(3N) an XFN attri- bute fn_attribute_valuecount(3N) See FN_attribute_t(3N) fn_attr_modify(3N) modify speci- fied attribute associated with name fn_attrmodlist_add(3N) See FN_attrmodlist_t(3N) fn_attrmodlist_assign(3N) See FN_attrmodlist_t(3N) fn_attrmodlist_copy(3N) See FN_attrmodlist_t(3N) fn_attrmodlist_count(3N) See FN_attrmodlist_t(3N) fn_attrmodlist_create(3N) See FN_attrmodlist_t(3N) fn_attrmodlist_destroy(3N) See FN_attrmodlist_t(3N) fn_attrmodlist_first(3N) See FN_attrmodlist_t(3N) SunOS 5.8 Last change: 30 Jun 1995 40 Introduction to Library Functions Intro(3) fn_attrmodlist_next(3N) See FN_attrmodlist_t(3N) FN_attrmodlist_t(3N) a list of attribute modifications fn_attr_multi_get(3N) return multi- ple attributes associated with named object fn_attr_multi_modify(3N) modify multi- ple attributes associated with named object fn_attrset_add(3N) See FN_attrset_t(3N) fn_attrset_assign(3N) See FN_attrset_t(3N) fn_attrset_copy(3N) See FN_attrset_t(3N) fn_attrset_count(3N) See FN_attrset_t(3N) fn_attrset_create(3N) See FN_attrset_t(3N) fn_attrset_destroy(3N) See FN_attrset_t(3N) fn_attrset_first(3N) See FN_attrset_t(3N) fn_attrset_get(3N) See FN_attrset_t(3N) fn_attrset_next(3N) See FN_attrset_t(3N) fn_attrset_remove(3N) See FN_attrset_t(3N) FN_attrset_t(3N) a set of XFN attributes SunOS 5.8 Last change: 30 Jun 1995 41 Introduction to Library Functions Intro(3) FN_attrvalue_t(3N) an XFN attri- bute value fn_bindinglist_destroy(3N) See fn_ctx_list_bindings(3N) fn_bindinglist_next(3N) See fn_ctx_list_bindings(3N) FN_bindinglist_t(3N) See fn_ctx_list_bindings(3N) fn_composite_name_append_comp(3N) See FN_composite_name_t(3N) fn_composite_name_append_name(3N) See FN_composite_name_t(3N) fn_composite_name_assign(3N) See FN_composite_name_t(3N) fn_composite_name_copy(3N) See FN_composite_name_t(3N) fn_composite_name_count(3N) See FN_composite_name_t(3N) fn_composite_name_create(3N) See FN_composite_name_t(3N) fn_composite_name_delete_comp(3N) See FN_composite_name_t(3N) fn_composite_name_destroy(3N) See FN_composite_name_t(3N) fn_composite_name_first(3N) See FN_composite_name_t(3N) fn_composite_name_from_string(3N) See FN_composite_name_t(3N) fn_composite_name_insert_comp(3N) See FN_composite_name_t(3N) fn_composite_name_insert_name(3N) See FN_composite_name_t(3N) fn_composite_name_is_empty(3N) See FN_composite_name_t(3N) fn_composite_name_is_equal(3N) See SunOS 5.8 Last change: 30 Jun 1995 42 Introduction to Library Functions Intro(3) FN_composite_name_t(3N) fn_composite_name_is_prefix(3N) See FN_composite_name_t(3N) fn_composite_name_is_suffix(3N) See FN_composite_name_t(3N) fn_composite_name_last(3N) See FN_composite_name_t(3N) fn_composite_name_next(3N) See FN_composite_name_t(3N) fn_composite_name_prefix(3N) See FN_composite_name_t(3N) fn_composite_name_prepend_comp(3N) See FN_composite_name_t(3N) fn_composite_name_prepend_name(3N) See FN_composite_name_t(3N) fn_composite_name_prev(3N) See FN_composite_name_t(3N) fn_composite_name_suffix(3N) See FN_composite_name_t(3N) FN_composite_name_t(3N) a sequence of component names spanning multiple nam- ing systems fn_compound_name_append_comp(3N) See FN_compound_name_t(3N) fn_compound_name_assign(3N) See FN_compound_name_t(3N) fn_compound_name_copy(3N) See FN_compound_name_t(3N) fn_compound_name_count(3N) See FN_compound_name_t(3N) fn_compound_name_delete_all(3N) See FN_compound_name_t(3N) fn_compound_name_delete_comp(3N) See FN_compound_name_t(3N) SunOS 5.8 Last change: 30 Jun 1995 43 Introduction to Library Functions Intro(3) fn_compound_name_destroy(3N) See FN_compound_name_t(3N) fn_compound_name_first(3N) See FN_compound_name_t(3N) fn_compound_name_from_syntax_attrs(3N) See FN_compound_name_t(3N) fn_compound_name_get_syntax_attrs(3N) See FN_compound_name_t(3N) fn_compound_name_insert_comp(3N) See FN_compound_name_t(3N) fn_compound_name_is_empty(3N) See FN_compound_name_t(3N) fn_compound_name_is_equal(3N) See FN_compound_name_t(3N) fn_compound_name_is_prefix(3N) See FN_compound_name_t(3N) fn_compound_name_is_suffix(3N) See FN_compound_name_t(3N) fn_compound_name_last(3N) See FN_compound_name_t(3N) fn_compound_name_next(3N) See FN_compound_name_t(3N) fn_compound_name_prefix(3N) See FN_compound_name_t(3N) fn_compound_name_prepend_comp(3N) See FN_compound_name_t(3N) fn_compound_name_prev(3N) See FN_compound_name_t(3N) fn_compound_name_suffix(3N) See FN_compound_name_t(3N) FN_compound_name_t(3N) an XFN com- pound name fn_ctx_bind(3N) bind a refer- ence to a name fn_ctx_create_subcontext(3N) create a SunOS 5.8 Last change: 30 Jun 1995 44 Introduction to Library Functions Intro(3) subcontext in a context fn_ctx_destroy_subcontext(3N) destroy the named context and remove its binding from the parent context fn_ctx_get_ref(3N) return a context's reference fn_ctx_get_syntax_attrs(3N) return syntax attributes associated with named context fn_ctx_handle_destroy(3N) release storage asso- ciated with context handle fn_ctx_handle_from_initial(3N) return a han- dle to the Initial Con- text fn_ctx_handle_from_ref(3N) construct a handle to a context object using the given refer- ence fn_ctx_list_bindings(3N) list the atomic names and references bound in a context fn_ctx_list_names(3N) list the atomic names bound in a context fn_ctx_lookup(3N) look up name in context fn_ctx_lookup_link(3N) look up the SunOS 5.8 Last change: 30 Jun 1995 45 Introduction to Library Functions Intro(3) link reference bound to a name fn_ctx_rename(3N) rename the name of a binding FN_ctx_t(3N) an XFN context fn_ctx_unbind(3N) unbind a name from a context FN_identifier_t(3N) an XFN iden- tifier fnmatch(3C) match filename or path name fn_multigetlist_destroy(3N) See fn_attr_multi_get(3N) fn_multigetlist_next(3N) See fn_attr_multi_get(3N) FN_multigetlist_t(3N) See fn_attr_multi_get(3N) fn_namelist_destroy(3N) See fn_ctx_list_names(3N) fn_namelist_next(3N) See fn_ctx_list_names(3N) FN_namelist_t(3N) See fn_ctx_list_names(3N) fn_ref_addr_assign(3N) See FN_ref_addr_t(3N) fn_ref_addr_copy(3N) See FN_ref_addr_t(3N) fn_ref_addrcount(3N) See FN_ref_t(3N) fn_ref_addr_create(3N) See FN_ref_addr_t(3N) fn_ref_addr_data(3N) See FN_ref_addr_t(3N) SunOS 5.8 Last change: 30 Jun 1995 46 Introduction to Library Functions Intro(3) fn_ref_addr_description(3N) See FN_ref_addr_t(3N) fn_ref_addr_destroy(3N) See FN_ref_addr_t(3N) fn_ref_addr_length(3N) See FN_ref_addr_t(3N) FN_ref_addr_t(3N) an address in an XFN refer- ence fn_ref_addr_type(3N) See FN_ref_addr_t(3N) fn_ref_append_addr(3N) See FN_ref_t(3N) fn_ref_assign(3N) See FN_ref_t(3N) fn_ref_copy(3N) See FN_ref_t(3N) fn_ref_create(3N) See FN_ref_t(3N) fn_ref_create_link(3N) See FN_ref_t(3N) fn_ref_delete_addr(3N) See FN_ref_t(3N) fn_ref_delete_all(3N) See FN_ref_t(3N) fn_ref_description(3N) See FN_ref_t(3N) fn_ref_destroy(3N) See FN_ref_t(3N) fn_ref_first(3N) See FN_ref_t(3N) fn_ref_insert_addr(3N) See FN_ref_t(3N) fn_ref_is_link(3N) See FN_ref_t(3N) SunOS 5.8 Last change: 30 Jun 1995 47 Introduction to Library Functions Intro(3) fn_ref_link_name(3N) See FN_ref_t(3N) fn_ref_next(3N) See FN_ref_t(3N) fn_ref_prepend_addr(3N) See FN_ref_t(3N) FN_ref_t(3N) an XFN refer- ence fn_ref_type(3N) See FN_ref_t(3N) fn_status_advance_by_name(3N) See FN_status_t(3N) fn_status_append_remaining_name(3N) See FN_status_t(3N) fn_status_append_resolved_name(3N) See FN_status_t(3N) fn_status_assign(3N) See FN_status_t(3N) fn_status_code(3N) See FN_status_t(3N) fn_status_copy(3N) See FN_status_t(3N) fn_status_create(3N) See FN_status_t(3N) fn_status_description(3N) See FN_status_t(3N) fn_status_destroy(3N) See FN_status_t(3N) fn_status_diagnostic_message(3N) See FN_status_t(3N) fn_status_is_success(3N) See FN_status_t(3N) fn_status_link_code(3N) See FN_status_t(3N) fn_status_link_diagnostic_message(3N) See SunOS 5.8 Last change: 30 Jun 1995 48 Introduction to Library Functions Intro(3) FN_status_t(3N) fn_status_link_remaining_name(3N) See FN_status_t(3N) fn_status_link_resolved_name(3N) See FN_status_t(3N) fn_status_link_resolved_ref(3N) See FN_status_t(3N) fn_status_remaining_name(3N) See FN_status_t(3N) fn_status_resolved_name(3N) See FN_status_t(3N) fn_status_resolved_ref(3N) See FN_status_t(3N) fn_status_set(3N) See FN_status_t(3N) fn_status_set_code(3N) See FN_status_t(3N) fn_status_set_diagnostic_message(3N) See FN_status_t(3N) fn_status_set_link_code(3N) See FN_status_t(3N) fn_status_set_link_diagnostic_message(3N) See FN_status_t(3N) fn_status_set_link_remaining_name(3N) See FN_status_t(3N) fn_status_set_link_resolved_name(3N) See FN_status_t(3N) fn_status_set_link_resolved_ref(3N) See FN_status_t(3N) fn_status_set_remaining_name(3N) See FN_status_t(3N) fn_status_set_resolved_name(3N) See FN_status_t(3N) fn_status_set_resolved_ref(3N) See FN_status_t(3N) SunOS 5.8 Last change: 30 Jun 1995 49 Introduction to Library Functions Intro(3) fn_status_set_success(3N) See FN_status_t(3N) FN_status_t(3N) an XFN status object fn_string_assign(3N) See FN_string_t(3N) fn_string_bytecount(3N) See FN_string_t(3N) fn_string_charcount(3N) See FN_string_t(3N) fn_string_code_set(3N) See FN_string_t(3N) fn_string_compare(3N) See FN_string_t(3N) fn_string_compare_substring(3N) See FN_string_t(3N) fn_string_contents(3N) See FN_string_t(3N) fn_string_copy(3N) See FN_string_t(3N) fn_string_create(3N) See FN_string_t(3N) fn_string_destroy(3N) See FN_string_t(3N) fn_string_from_composite_name(3N) See FN_composite_name_t(3N) fn_string_from_compound_name(3N) See FN_compound_name_t(3N) fn_string_from_contents(3N) See FN_string_t(3N) fn_string_from_str(3N) See FN_string_t(3N) fn_string_from_strings(3N) See FN_string_t(3N) fn_string_from_str_n(3N) See SunOS 5.8 Last change: 30 Jun 1995 50 Introduction to Library Functions Intro(3) FN_string_t(3N) fn_string_from_substring(3N) See FN_string_t(3N) fn_string_is_empty(3N) See FN_string_t(3N) fn_string_next_substring(3N) See FN_string_t(3N) fn_string_prev_substring(3N) See FN_string_t(3N) fn_string_str(3N) See FN_string_t(3N) FN_string_t(3N) a character string fn_valuelist_destroy(3N) See fn_attr_get_values(3N) fn_valuelist_next(3N) See fn_attr_get_values(3N) FN_valuelist_t(3N) See fn_attr_get_values(3N) fopen(3B) open a stream fopen(3S) open a stream form_cursor(3X) position forms window cursor form_data(3X) tell if forms field has off-screen data ahead or behind form_driver(3X) command pro- cessor for the forms subsys- tem form_field(3X) connect fields to forms form_field_attributes(3X) format the general SunOS 5.8 Last change: 30 Jun 1995 51 Introduction to Library Functions Intro(3) display attri- butes of forms form_field_buffer(3X) set and get forms field attributes form_field_info(3X) get forms field charac- teristics form_field_just(3X) format the general appearance of forms form_field_new(3X) create and destroy forms fields form_field_opts(3X) forms field option rou- tines form_fields(3X) See form_field(3X) form_fieldtype(3X) forms field- type routines form_field_userptr(3X) associate application data with forms form_field_validation(3X) forms field data type validation form_hook(3X) assign application- specific rou- tines for invocation by forms form_init(3X) See form_hook(3X) form_new(3X) create and destroy forms SunOS 5.8 Last change: 30 Jun 1995 52 Introduction to Library Functions Intro(3) form_new_page(3X) forms pagina- tion form_opts(3X) forms option routines form_opts_off(3X) See form_opts(3X) form_opts_on(3X) See form_opts(3X) form_page(3X) set forms current page and field form_post(3X) write or erase forms from associated subwindows forms(3X) character based forms package form_sub(3X) See form_win(3X) form_term(3X) See form_hook(3X) form_userptr(3X) associate application data with forms form_win(3X) forms window and subwindow association routines fpclass(3C) See isnan(3C) fpgetmask(3C) See fpgetround(3C) fpgetround(3C) IEEE floating-point environment control fpgetsticky(3C) See SunOS 5.8 Last change: 30 Jun 1995 53 Introduction to Library Functions Intro(3) fpgetround(3C) fprintf(3B) See printf(3B) fprintf(3S) See printf(3S) fpsetmask(3C) See fpgetround(3C) fpsetround(3C) See fpgetround(3C) fpsetsticky(3C) See fpgetround(3C) fputc(3S) See putc(3S) fputs(3S) See puts(3S) fputwc(3I) See putwc(3I) fputws(3I) See putws(3I) fread(3S) buffered binary input/output free(3C) See malloc(3C) free(3X) See bsdmalloc(3X) free(3X) See malloc(3X) free(3X) See mapmalloc(3X) free_field(3X) See form_field_new(3X) free_fieldtype(3X) See form_fieldtype(3X) free_form(3X) See form_new(3X) free_item(3X) See menu_item_new(3X) free_menu(3X) See menu_new(3X) SunOS 5.8 Last change: 30 Jun 1995 54 Introduction to Library Functions Intro(3) freenetconfigent(3N) See getnetconfig(3N) freopen(3B) See fopen(3B) freopen(3S) See fopen(3S) frexp(3C) manipulate parts of floating-point numbers fscanf(3S) See scanf(3S) fseek(3S) reposition a file pointer in a stream fsetpos(3C) reposition a file pointer in a stream fsync(3C) synchronize a file's in- memory state with that on the physical medium ftell(3S) See fseek(3S) ftime(3C) get date and time ftok(3C) See stdipc(3C) ftrylockfile(3S) See flockfile(3S) ftruncate(3C) See truncate(3C) ftw(3C) walk a file tree func_to_decimal(3) See string_to_decimal(3) funlockfile(3S) See flockfile(3S) fwrite(3S) See fread(3S) SunOS 5.8 Last change: 30 Jun 1995 55 Introduction to Library Functions Intro(3) gamma(3M) See lgamma(3M) gamma_r(3M) See lgamma(3M) gconvert(3) See econvert(3) gcvt(3) See econvert(3) gcvt(3C) See ecvt(3C) getacdir(3) See getacinfo(3) getacflg(3) See getacinfo(3) getacinfo(3) get audit con- trol file information getacmin(3) See getacinfo(3) getacna(3) See getacinfo(3) getauclassent(3) get audit_class entry getauclassent_r(3) See getauclassent(3) getauclassnam(3) See getauclassent(3) getauclassnam_r(3) See getauclassent(3) getauditflags(3) convert audit flag specifi- cations getauditflagsbin(3) See getauditflags(3) getauditflagschar(3) See getauditflags(3) getauevent(3) get audit_user SunOS 5.8 Last change: 30 Jun 1995 56 Introduction to Library Functions Intro(3) entry getauevent_r(3) See getauevent(3) getauevnam(3) See getauevent(3) getauevnam_r(3) See getauevent(3) getauevnonam(3) See getauevent(3) getauevnum(3) See getauevent(3) getauevnum_r(3) See getauevent(3) getauuserent(3) See getauusernam(3) getauusernam(3) get audit_user entry getbegyx(3X) See curs_getyx(3X) getc(3S) get character or word from a stream getch(3X) See curs_getch(3X) getchar(3S) See getc(3S) getchar_unlocked(3S) See getc(3S) getc_unlocked(3S) See getc(3S) getcwd(3C) get pathname of current working direc- tory getdate(3C) convert user format date and time getdtablesize(3C) get file SunOS 5.8 Last change: 30 Jun 1995 57 Introduction to Library Functions Intro(3) descriptor table size getenv(3C) return value for environ- ment name getfauditflags(3) generates the process audit state getgrent(3C) See getgrnam(3C) getgrent_r(3C) See getgrnam(3C) getgrgid(3C) See getgrnam(3C) getgrgid_r(3C) See getgrnam(3C) getgrnam(3C) get group entry getgrnam_r(3C) See getgrnam(3C) gethostbyaddr(3N) See gethostbyname(3N) gethostbyaddr_r(3N) See gethostbyname(3N) gethostbyname(3N) get network host entry gethostbyname_r(3N) See gethostbyname(3N) gethostent(3N) See gethostbyname(3N) gethostent_r(3N) See gethostbyname(3N) gethostid(3C) get unique identifier of current host gethostname(3C) get/set name SunOS 5.8 Last change: 30 Jun 1995 58 Introduction to Library Functions Intro(3) of current host gethrtime(3C) get high reso- lution time gethrvtime(3C) See gethrtime(3C) getlogin(3C) get login name getlogin_r(3C) See getlogin(3C) getmaxyx(3X) See curs_getyx(3X) getmntany(3C) See getmntent(3C) getmntent(3C) get mnttab file informa- tion get_myaddress(3N) See rpc_soc(3N) getnetbyaddr(3N) See getnetbyname(3N) getnetbyaddr_r(3N) See getnetbyname(3N) getnetbyname(3N) get network entry getnetbyname_r(3N) See getnetbyname(3N) getnetconfig(3N) get network configuration database entry getnetconfigent(3N) See getnetconfig(3N) getnetent(3N) See getnetbyname(3N) getnetent_r(3N) See getnetbyname(3N) SunOS 5.8 Last change: 30 Jun 1995 59 Introduction to Library Functions Intro(3) getnetgrent(3N) get network group entry getnetgrent_r(3N) See getnetgrent(3N) getnetname(3N) See secure_rpc(3N) getnetpath(3N) get /etc/netconfig entry corresponding to NETPATH component getnwstr(3X) See curs_getwstr(3X) getopt(3C) get option letter from argument vec- tor getpagesize(3C) get system page size getparyx(3X) See curs_getyx(3X) getpass(3C) read a pass- word getpeername(3N) get name of connected peer getpriority(3C) get/set scheduling priority for process, pro- cess group or user getprotobyname(3N) get protocol entry getprotobyname_r(3N) See getprotobyname(3N) getprotobynumber(3N) See getprotobyname(3N) SunOS 5.8 Last change: 30 Jun 1995 60 Introduction to Library Functions Intro(3) getprotobynumber_r(3N) See getprotobyname(3N) getprotoent(3N) See getprotobyname(3N) getprotoent_r(3N) See getprotobyname(3N) getpublickey(3N) retrieve pub- lic or secret key getpw(3C) get passwd entry from UID getpwent(3C) See getpwnam(3C) getpwent_r(3C) See getpwnam(3C) getpwnam(3C) get password entry getpwnam_r(3C) See getpwnam(3C) getpwuid(3C) See getpwnam(3C) getpwuid_r(3C) See getpwnam(3C) getrpcbyname(3N) get RPC entry getrpcbyname_r(3N) See getrpcbyname(3N) getrpcbynumber(3N) See getrpcbyname(3N) getrpcbynumber_r(3N) See getrpcbyname(3N) getrpcent(3N) See getrpcbyname(3N) getrpcent_r(3N) See getrpcbyname(3N) getrpcport(3N) See SunOS 5.8 Last change: 30 Jun 1995 61 Introduction to Library Functions Intro(3) rpc_soc(3N) getrusage(3C) get informa- tion about resource util- ization gets(3S) get a string from a stream getsecretkey(3N) See getpublickey(3N) getservbyname(3N) get service entry getservbyname_r(3N) See getservbyname(3N) getservbyport(3N) See getservbyname(3N) getservbyport_r(3N) See getservbyname(3N) getservent(3N) See getservbyname(3N) getservent_r(3N) See getservbyname(3N) getsockname(3N) get socket name getsockopt(3N) get and set options on sockets getspent(3C) See getspnam(3C) getspent_r(3C) See getspnam(3C) getspnam(3C) get password entry getspnam_r(3C) See getspnam(3C) getstr(3X) See curs_getstr(3X) SunOS 5.8 Last change: 30 Jun 1995 62 Introduction to Library Functions Intro(3) getsubopt(3C) parse subop- tions from a string getsyx(3X) See curs_kernel(3X) gettext(3I) message han- dling func- tions gettimeofday(3B) get or set the date and time gettimeofday(3C) get or set the date and time gettxt(3C) retrieve a text string getusershell(3C) get legal user shells getutent(3C) access utmp file entry getutid(3C) See getutent(3C) getutline(3C) See getutent(3C) getutmp(3C) See getutxent(3C) getutmpx(3C) See getutxent(3C) getutxent(3C) access utmpx file entry getutxid(3C) See getutxent(3C) getutxline(3C) See getutxent(3C) getvfsany(3C) See getvfsent(3C) getvfsent(3C) get vfstab file entry SunOS 5.8 Last change: 30 Jun 1995 63 Introduction to Library Functions Intro(3) getvfsfile(3C) See getvfsent(3C) getvfsspec(3C) See getvfsent(3C) getw(3S) See getc(3S) getwc(3I) convert EUC character from the stream to Process Code getwch(3X) See curs_getwch(3X) getwchar(3I) See getwc(3I) getwd(3C) get current working direc- tory pathname getwidth(3I) get codeset information getwin(3X) See curs_util(3X) getws(3I) convert a string of EUC characters from the stream to Pro- cess Code getwstr(3X) See curs_getwstr(3X) getyx(3X) See curs_getyx(3X) glob(3C) generate path names matching a pattern globfree(3C) See glob(3C) gmatch(3G) shell global pattern match- ing gmtime(3C) See ctime(3C) SunOS 5.8 Last change: 30 Jun 1995 64 Introduction to Library Functions Intro(3) gmtime_r(3C) See ctime(3C) grantpt(3C) grant access to the slave pseudo- terminal dev- ice gsignal(3C) See ssignal(3C) halfdelay(3X) See curs_inopts(3X) has_colors(3X) See curs_color(3X) has_ic(3X) See curs_termattrs(3X) has_il(3X) See curs_termattrs(3X) hasmntopt(3C) See getmntent(3C) havedisk(3N) See rstat(3N) hcreate(3C) See hsearch(3C) hdestroy(3C) See hsearch(3C) hide_panel(3X) See panel_show(3X) host2netname(3N) See secure_rpc(3N) hsearch(3C) manage hash search tables htonl(3N) See byteorder(3N) htons(3N) See byteorder(3N) hyperbolic(3M) hyperbolic functions SunOS 5.8 Last change: 30 Jun 1995 65 Introduction to Library Functions Intro(3) hypot(3M) Euclidean dis- tance iconv(3) code conver- sion function iconv_close(3) code conver- sion dealloca- tion function iconv_open(3) code conver- sion alloca- tion function idcok(3X) See curs_outopts(3X) idlok(3X) See curs_outopts(3X) ieee_functions(3M) appendix and related mis- cellaneous functions for IEEE arith- metic ieee_test(3M) IEEE test functions for verifying standard com- pliance ilogb(3M) See ieee_functions(3M) immedok(3X) See curs_outopts(3X) inch(3X) See curs_inch(3X) inchnstr(3X) See curs_inchstr(3X) inchstr(3X) See curs_inchstr(3X) index(3C) string opera- tions inet(3N) Internet SunOS 5.8 Last change: 30 Jun 1995 66 Introduction to Library Functions Intro(3) address mani- pulation inet_addr(3N) See inet(3N) inet_lnaof(3N) See inet(3N) inet_makeaddr(3N) See inet(3N) inet_netof(3N) See inet(3N) inet_network(3N) See inet(3N) inet_ntoa(3N) See inet(3N) init_color(3X) See curs_color(3X) initgroups(3C) initialize the supplementary group access list init_pair(3X) See curs_color(3X) initscr(3X) See curs_initscr(3X) initstate(3C) See random(3C) innetgr(3N) See getnetgrent(3N) innstr(3X) See curs_instr(3X) innwstr(3X) See curs_inwstr(3X) insch(3X) See curs_insch(3X) insdelln(3X) See curs_deleteln(3X) insertln(3X) See curs_deleteln(3X) insnstr(3X) See curs_insstr(3X) SunOS 5.8 Last change: 30 Jun 1995 67 Introduction to Library Functions Intro(3) insnwstr(3X) See curs_inswstr(3X) insque(3C) insert/remove element from a queue insstr(3X) See curs_insstr(3X) instr(3X) See curs_instr(3X) inswch(3X) See curs_inswch(3X) inswstr(3X) See curs_inswstr(3X) intrflush(3X) See curs_inopts(3X) inwch(3X) See curs_inwch(3X) inwchnstr(3X) See curs_inwchstr(3X) inwchstr(3X) See curs_inwchstr(3X) inwstr(3X) See curs_inwstr(3X) isalnum(3C) See ctype(3C) isalpha(3C) See ctype(3C) isascii(3C) See ctype(3C) isastream(3C) test a file descriptor isatty(3C) See ttyname(3C) iscntrl(3C) See ctype(3C) isdigit(3C) See ctype(3C) isencrypt(3G) determine whether a SunOS 5.8 Last change: 30 Jun 1995 68 Introduction to Library Functions Intro(3) buffer of characters is encrypted isendwin(3X) See curs_initscr(3X) isenglish(3I) See iswalpha(3I) isgraph(3C) See ctype(3C) isideogram(3I) See iswalpha(3I) is_linetouched(3X) See curs_touch(3X) islower(3C) See ctype(3C) isnan(3C) determine type of floating- point number isnan(3M) See ieee_functions(3M) isnand(3C) See isnan(3C) isnanf(3C) See isnan(3C) isnumber(3I) See iswalpha(3I) isphonogram(3I) See iswalpha(3I) isprint(3C) See ctype(3C) ispunct(3C) See ctype(3C) isspace(3C) See ctype(3C) isspecial(3I) See iswalpha(3I) isupper(3C) See ctype(3C) iswalnum(3I) See iswalpha(3I) iswalpha(3I) Process Code SunOS 5.8 Last change: 30 Jun 1995 69 Introduction to Library Functions Intro(3) character classification macros and functions iswascii(3I) See iswalpha(3I) iswcntrl(3I) See iswalpha(3I) iswctype(3I) test character for specified class iswdigit(3I) See iswalpha(3I) iswgraph(3I) See iswalpha(3I) is_wintouched(3X) See curs_touch(3X) iswlower(3I) See iswalpha(3I) iswprint(3I) See iswalpha(3I) iswpunct(3I) See iswalpha(3I) iswspace(3I) See iswalpha(3I) iswupper(3I) See iswalpha(3I) iswxdigit(3I) See iswalpha(3I) isxdigit(3C) See ctype(3C) item_count(3X) See menu_items(3X) item_description(3X) See menu_item_name(3X) item_index(3X) See menu_item_current(3X) SunOS 5.8 Last change: 30 Jun 1995 70 Introduction to Library Functions Intro(3) item_init(3X) See menu_hook(3X) item_name(3X) See menu_item_name(3X) item_opts(3X) See menu_item_opts(3X) item_opts_off(3X) See menu_item_opts(3X) item_opts_on(3X) See menu_item_opts(3X) item_term(3X) See menu_hook(3X) item_userptr(3X) See menu_item_userptr(3X) item_value(3X) See menu_item_value(3X) item_visible(3X) See menu_item_visible(3X) j0(3M) See bessel(3M) j1(3M) See bessel(3M) jn(3M) See bessel(3M) jrand48(3C) See drand48(3C) kerberos(3N) Kerberos authentication library kerberos_rpc(3N) library rou- tines for remote pro- cedure calls using Kerberos authentication key_decryptsession(3N) See secure_rpc(3N) key_encryptsession(3N) See secure_rpc(3N) SunOS 5.8 Last change: 30 Jun 1995 71 Introduction to Library Functions Intro(3) key_gendes(3N) See secure_rpc(3N) keyname(3X) See curs_util(3X) keypad(3X) See curs_inopts(3X) key_secretkey_is_set(3N) See secure_rpc(3N) key_setsecret(3N) See secure_rpc(3N) killchar(3X) See curs_termattrs(3X) killpg(3C) send signal to a process group krb_get_admhst(3N) See krb_realmofhost(3N) krb_get_cred(3N) See kerberos(3N) krb_get_krbhst(3N) See krb_realmofhost(3N) krb_get_lrealm(3N) See krb_realmofhost(3N) krb_get_phost(3N) See krb_realmofhost(3N) krb_kntoln(3N) See kerberos(3N) krb_mk_err(3N) See kerberos(3N) krb_mk_req(3N) See kerberos(3N) krb_mk_safe(3N) See kerberos(3N) krb_net_read(3N) See krb_sendauth(3N) SunOS 5.8 Last change: 30 Jun 1995 72 Introduction to Library Functions Intro(3) krb_net_write(3N) See krb_sendauth(3N) krb_rd_err(3N) See kerberos(3N) krb_rd_req(3N) See kerberos(3N) krb_rd_safe(3N) See kerberos(3N) krb_realmofhost(3N) additional Kerberos util- ity routines krb_recvauth(3N) See krb_sendauth(3N) krb_sendauth(3N) Kerberos rou- tines for sending authentication via network stream sockets krb_set_key(3N) See kerberos(3N) krb_set_tkt_string(3N) set Kerberos ticket cache file name kstat(3K) kernel statis- tics facility kstat_chain_update(3K) update the kstat header chain kstat_close(3K) See kstat_open(3K) kstat_data_lookup(3K) See kstat_lookup(3K) kstat_lookup(3K) find a kstat by name kstat_open(3K) initialize kernel statis- tics facility SunOS 5.8 Last change: 30 Jun 1995 73 Introduction to Library Functions Intro(3) kstat_read(3K) read or write kstat data kstat_write(3K) See kstat_read(3K) kvm_close(3K) See kvm_open(3K) kvm_getcmd(3K) See kvm_getu(3K) kvm_getproc(3K) See kvm_nextproc(3K) kvm_getu(3K) get the u-area or invocation arguments for a process kvm_kread(3K) See kvm_read(3K) kvm_kwrite(3K) See kvm_read(3K) kvm_nextproc(3K) read system process struc- tures kvm_nlist(3K) get entries from kernel symbol table kvm_open(3K) specify a ker- nel to examine kvm_read(3K) copy data to or from a ker- nel image or running system kvm_setproc(3K) See kvm_nextproc(3K) kvm_uread(3K) See kvm_read(3K) kvm_uwrite(3K) See kvm_read(3K) kvm_write(3K) See SunOS 5.8 Last change: 30 Jun 1995 74 Introduction to Library Functions Intro(3) kvm_read(3K) l64a(3C) See a64l(3C) label(3) See plot(3) labs(3C) See abs(3C) lckpwdf(3C) manipulate shadow pass- word database lock file lcong48(3C) See drand48(3C) ldexp(3C) See frexp(3C) ldiv(3C) See div(3C) leaveok(3X) See curs_outopts(3X) lfind(3C) See lsearch(3C) lfmt(3C) display error message in standard for- mat and pass to logging and monitoring services lgamma(3M) log gamma function lgamma_r(3M) See lgamma(3M) libpthread(3T) See threads(3T) libthread(3T) See threads(3T) libthread_db(3T) interface to libthread threads infor- mation line(3) See plot(3) SunOS 5.8 Last change: 30 Jun 1995 75 Introduction to Library Functions Intro(3) link_field(3X) See form_field_new(3X) link_fieldtype(3X) See form_fieldtype(3X) linmod(3) See plot(3) lio_listio(3R) list directed I/O listen(3N) listen for connections on a socket llabs(3C) See abs(3C) lldiv(3C) See div(3C) lltostr(3C) See strtol(3C) localeconv(3C) get numeric formatting information localtime(3C) See ctime(3C) localtime_r(3C) See ctime(3C) lockf(3C) record locking on files log(3M) See exp(3M) log10(3M) See exp(3M) log1p(3M) See exp(3M) logb(3C) See frexp(3C) logb(3M) See ieee_test(3M) _longjmp(3B) See setjmp(3B) longjmp(3B) See setjmp(3B) longjmp(3C) See setjmp(3C) longname(3X) See curs_termattrs(3X) SunOS 5.8 Last change: 30 Jun 1995 76 Introduction to Library Functions Intro(3) lrand48(3C) See drand48(3C) lsearch(3C) linear search and update madvise(3) provide advice to VM system maillock(3X) manage lock- file for user's mailbox major(3C) See makedev(3C) makecontext(3C) manipulate user contexts makedev(3C) manage a dev- ice number mallinfo(3X) See malloc(3X) malloc(3C) memory alloca- tor malloc(3X) memory alloca- tor malloc(3X) See bsdmalloc(3X) mallopt(3X) See malloc(3X) mapmalloc(3X) memory alloca- tor matherr(3M) math library exception- handling func- tion mbchar(3C) multibyte character han- dling mblen(3C) See mbchar(3C) mbstowcs(3C) See mbstring(3C) SunOS 5.8 Last change: 30 Jun 1995 77 Introduction to Library Functions Intro(3) mbstring(3C) multibyte string func- tions mbtowc(3C) See mbchar(3C) mctl(3B) memory manage- ment control media_findname(3X) convert a sup- plied name into an abso- lute pathname that can be used to access removable media media_getattr(3X) get and set media attri- butes media_setattr(3X) See media_getattr(3X) memalign(3C) See malloc(3C) memccpy(3C) See memory(3C) memchr(3C) See memory(3C) memcmp(3C) See memory(3C) memcpy(3C) See memory(3C) memmove(3C) See memory(3C) memory(3C) memory opera- tions memset(3C) See memory(3C) menu_attributes(3X) control menus display attri- butes menu_back(3X) See menu_attributes(3X) menu_cursor(3X) correctly position a menus cursor SunOS 5.8 Last change: 30 Jun 1995 78 Introduction to Library Functions Intro(3) menu_driver(3X) command pro- cessor for the menus subsys- tem menu_fore(3X) See menu_attributes(3X) menu_format(3X) set and get maximum numbers of rows and columns in menus menu_grey(3X) See menu_attributes(3X) menu_hook(3X) assign application- specific rou- tines for automatic invocation by menus menu_init(3X) See menu_hook(3X) menu_item_current(3X) set and get current menus items menu_item_name(3X) get menus item name and description menu_item_new(3X) create and destroy menus items menu_item_opts(3X) menus item option rou- tines menu_items(3X) connect and disconnect items to and from menus menu_item_userptr(3X) associate application SunOS 5.8 Last change: 30 Jun 1995 79 Introduction to Library Functions Intro(3) data with menus items menu_item_value(3X) set and get menus item values menu_item_visible(3X) tell if menus item is visi- ble menu_mark(3X) menus mark string rou- tines menu_new(3X) create and destroy menus menu_opts(3X) menus option routines menu_opts_off(3X) See menu_opts(3X) menu_opts_on(3X) See menu_opts(3X) menu_pad(3X) See menu_attributes(3X) menu_pattern(3X) set and get menus pattern match buffer menu_post(3X) write or erase menus from associated subwindows menus(3X) character based menus package menu_sub(3X) See menu_win(3X) menu_term(3X) See menu_hook(3X) menu_userptr(3X) associate application data with SunOS 5.8 Last change: 30 Jun 1995 80 Introduction to Library Functions Intro(3) menus menu_win(3X) menus window and subwindow association routines meta(3X) See curs_inopts(3X) minor(3C) See makedev(3C) mkdirp(3G) create, remove directories in a path mkfifo(3C) create a new FIFO mktemp(3C) make a unique file name mktime(3C) converts a tm structure to a calendar time mlock(3C) lock (or unlock) pages in memory mlockall(3C) lock or unlock address space modf(3C) See frexp(3C) modff(3C) See frexp(3C) monitor(3C) prepare pro- cess execution profile move(3) See plot(3) move(3X) See curs_move(3X) move_field(3X) See form_field(3X) movenextch(3X) See curs_alecompat(3X) SunOS 5.8 Last change: 30 Jun 1995 81 Introduction to Library Functions Intro(3) move_panel(3X) See panel_move(3X) moveprevch(3X) See curs_alecompat(3X) mq_close(3R) close a mes- sage queue mq_getattr(3R) See mq_setattr(3R) mq_notify(3R) notify process (or thread) that a message is available on a queue mq_open(3R) open a message queue mq_receive(3R) receive a mes- sage from a message queue mq_send(3R) send a message to a message queue mq_setattr(3R) set/get mes- sage queue attributes mq_unlink(3R) remove a mes- sage queue mrand48(3C) See drand48(3C) msync(3C) synchronize memory with physical storage munlock(3C) See mlock(3C) munlockall(3C) See mlockall(3C) mutex(3T) mutual exclu- sion locks SunOS 5.8 Last change: 30 Jun 1995 82 Introduction to Library Functions Intro(3) mutex_destroy(3T) See mutex(3T) mutex_init(3T) See mutex(3T) mutex_lock(3T) See mutex(3T) mutex_trylock(3T) See mutex(3T) mutex_unlock(3T) See mutex(3T) mvaddch(3X) See curs_addch(3X) mvaddchnstr(3X) See curs_addchstr(3X) mvaddchstr(3X) See curs_addchstr(3X) mvaddnstr(3X) See curs_addstr(3X) mvaddnwstr(3X) See curs_addwstr(3X) mvaddstr(3X) See curs_addstr(3X) mvaddwch(3X) See curs_addwch(3X) mvaddwchnstr(3X) See curs_addwchstr(3X) mvaddwchstr(3X) See curs_addwchstr(3X) mvaddwstr(3X) See curs_addwstr(3X) mvcur(3X) See curs_terminfo(3X) mvdelch(3X) See curs_delch(3X) mvderwin(3X) See curs_window(3X) mvgetch(3X) See curs_getch(3X) SunOS 5.8 Last change: 30 Jun 1995 83 Introduction to Library Functions Intro(3) mvgetnwstr(3X) See curs_getwstr(3X) mvgetstr(3X) See curs_getstr(3X) mvgetwch(3X) See curs_getwch(3X) mvgetwstr(3X) See curs_getwstr(3X) mvinch(3X) See curs_inch(3X) mvinchnstr(3X) See curs_inchstr(3X) mvinchstr(3X) See curs_inchstr(3X) mvinnstr(3X) See curs_instr(3X) mvinnwstr(3X) See curs_inwstr(3X) mvinsch(3X) See curs_insch(3X) mvinsnstr(3X) See curs_insstr(3X) mvinsnwstr(3X) See curs_inswstr(3X) mvinsstr(3X) See curs_insstr(3X) mvinstr(3X) See curs_instr(3X) mvinswch(3X) See curs_inswch(3X) mvinswstr(3X) See curs_inswstr(3X) mvinwch(3X) See curs_inwch(3X) mvinwchnstr(3X) See SunOS 5.8 Last change: 30 Jun 1995 84 Introduction to Library Functions Intro(3) curs_inwchstr(3X) mvinwchstr(3X) See curs_inwchstr(3X) mvinwstr(3X) See curs_inwstr(3X) mvprintw(3X) See curs_printw(3X) mvscanw(3X) See curs_scanw(3X) mvwaddch(3X) See curs_addch(3X) mvwaddchnstr(3X) See curs_addchstr(3X) mvwaddchstr(3X) See curs_addchstr(3X) mvwaddnstr(3X) See curs_addstr(3X) mvwaddnwstr(3X) See curs_addwstr(3X) mvwaddstr(3X) See curs_addstr(3X) mvwaddwch(3X) See curs_addwch(3X) mvwaddwchnstr(3X) See curs_addwchstr(3X) mvwaddwchstr(3X) See curs_addwchstr(3X) mvwaddwstr(3X) See curs_addwstr(3X) mvwdelch(3X) See curs_delch(3X) mvwgetch(3X) See curs_getch(3X) mvwgetnwstr(3X) See curs_getwstr(3X) SunOS 5.8 Last change: 30 Jun 1995 85 Introduction to Library Functions Intro(3) mvwgetstr(3X) See curs_getstr(3X) mvwgetwch(3X) See curs_getwch(3X) mvwgetwstr(3X) See curs_getwstr(3X) mvwin(3X) See curs_window(3X) mvwinch(3X) See curs_inch(3X) mvwinchnstr(3X) See curs_inchstr(3X) mvwinchstr(3X) See curs_inchstr(3X) mvwinnstr(3X) See curs_instr(3X) mvwinnwstr(3X) See curs_inwstr(3X) mvwinsch(3X) See curs_insch(3X) mvwinsnstr(3X) See curs_insstr(3X) mvwinsnwstr(3X) See curs_inswstr(3X) mvwinsstr(3X) See curs_insstr(3X) mvwinstr(3X) See curs_instr(3X) mvwinswch(3X) See curs_inswch(3X) mvwinswstr(3X) See curs_inswstr(3X) mvwinwch(3X) See curs_inwch(3X) mvwinwchnstr(3X) See SunOS 5.8 Last change: 30 Jun 1995 86 Introduction to Library Functions Intro(3) curs_inwchstr(3X) mvwinwchstr(3X) See curs_inwchstr(3X) mvwinwstr(3X) See curs_inwstr(3X) mvwprintw(3X) See curs_printw(3X) mvwscanw(3X) See curs_scanw(3X) nanosleep(3R) high resolu- tion sleep napms(3X) See curs_kernel(3X) nc_perror(3N) See getnetconfig(3N) nc_sperror(3N) See getnetconfig(3N) ndbm(3) data base sub- routines netdir(3N) generic tran- sport name- to-address translation netdir_free(3N) See netdir(3N) netdir_getbyaddr(3N) See netdir(3N) netdir_getbyname(3N) See netdir(3N) netdir_mergeaddr(3N) See netdir(3N) netdir_options(3N) See netdir(3N) netdir_perror(3N) See netdir(3N) netdir_sperror(3N) See netdir(3N) netname2host(3N) See secure_rpc(3N) netname2user(3N) See SunOS 5.8 Last change: 30 Jun 1995 87 Introduction to Library Functions Intro(3) secure_rpc(3N) new_field(3X) See form_field_new(3X) new_fieldtype(3X) See form_fieldtype(3X) new_form(3X) See form_new(3X) new_item(3X) See menu_item_new(3X) new_menu(3X) See menu_new(3X) newpad(3X) See curs_pad(3X) new_page(3X) See form_new_page(3X) new_panel(3X) See panel_new(3X) newterm(3X) See curs_initscr(3X) newwin(3X) See curs_window(3X) nextafter(3C) See frexp(3C) nextafter(3M) See ieee_functions(3M) nextkey(3B) See dbm(3B) nftw(3C) See ftw(3C) nice(3B) change prior- ity of a pro- cess nis_add(3N) See nis_names(3N) nis_add_entry(3N) See nis_tables(3N) nis_addmember(3N) See SunOS 5.8 Last change: 30 Jun 1995 88 Introduction to Library Functions Intro(3) nis_groups(3N) nis_checkpoint(3N) See nis_ping(3N) nis_clone_object(3N) See nis_subr(3N) nis_creategroup(3N) See nis_groups(3N) nis_db(3N) NIS+ Database access func- tions nis_destroygroup(3N) See nis_groups(3N) nis_destroy_object(3N) See nis_subr(3N) nis_dir_cmp(3N) See nis_subr(3N) nis_domain_of(3N) See nis_subr(3N) nis_error(3N) display NIS+ error messages nis_first_entry(3N) See nis_tables(3N) nis_freenames(3N) See nis_subr(3N) nis_freeresult(3N) See nis_names(3N) nis_freeservlist(3N) See nis_server(3N) nis_freetags(3N) See nis_server(3N) nis_getnames(3N) See nis_subr(3N) nis_getservlist(3N) See nis_server(3N) nis_groups(3N) NIS+ group SunOS 5.8 Last change: 30 Jun 1995 89 Introduction to Library Functions Intro(3) manipulation functions nis_ismember(3N) See nis_groups(3N) nis_leaf_of(3N) See nis_subr(3N) nis_lerror(3N) See nis_error(3N) nis_list(3N) See nis_tables(3N) nis_local_directory(3N) See nis_local_names(3N) nis_local_group(3N) See nis_local_names(3N) nis_local_host(3N) See nis_local_names(3N) nis_local_names(3N) NIS+ local names nis_local_principal(3N) See nis_local_names(3N) nis_lookup(3N) See nis_names(3N) __nis_map_group(3N) See nis_groups(3N) nis_map_group(3N) See nis_groups(3N) nis_mkdir(3N) See nis_server(3N) nis_modify(3N) See nis_names(3N) nis_modify_entry(3N) See nis_tables(3N) nis_name_of(3N) See nis_subr(3N) nis_names(3N) NIS+ namespace SunOS 5.8 Last change: 30 Jun 1995 90 Introduction to Library Functions Intro(3) functions nis_next_entry(3N) See nis_tables(3N) nis_objects(3N) NIS+ object formats nis_perror(3N) See nis_error(3N) nis_ping(3N) misc NIS+ log administration functions nis_print_group_entry(3N) See nis_groups(3N) nis_print_object(3N) See nis_subr(3N) nis_remove(3N) See nis_names(3N) nis_remove_entry(3N) See nis_tables(3N) nis_removemember(3N) See nis_groups(3N) nis_rmdir(3N) See nis_server(3N) nis_server(3N) miscellaneous NIS+ functions nis_servstate(3N) See nis_server(3N) nis_sperrno(3N) See nis_error(3N) nis_sperror(3N) See nis_error(3N) nis_sperror_r(3N) See nis_error(3N) nis_stats(3N) See nis_server(3N) nis_subr(3N) NIS+ SunOS 5.8 Last change: 30 Jun 1995 91 Introduction to Library Functions Intro(3) subroutines nis_tables(3N) NIS+ table functions nis_verifygroup(3N) See nis_groups(3N) nl(3X) See curs_outopts(3X) nlist(3B) get entries from symbol table nlist(3E) get entries from name list nl_langinfo(3C) language information nlsgetcall(3N) get client's data passed via the listener nlsprovider(3N) get name of transport pro- vider nlsrequest(3N) format and send listener service request mes- sage nocbreak(3X) See curs_inopts(3X) nodelay(3X) See curs_inopts(3X) noecho(3X) See curs_inopts(3X) nonl(3X) See curs_outopts(3X) noqiflush(3X) See curs_inopts(3X) noraw(3X) See SunOS 5.8 Last change: 30 Jun 1995 92 Introduction to Library Functions Intro(3) curs_inopts(3X) NOTE(3X) annotate source code with info for tools _NOTE(3X) See NOTE(3X) notimeout(3X) See curs_inopts(3X) nrand48(3C) See drand48(3C) ntohl(3N) See byteorder(3N) ntohs(3N) See byteorder(3N) offsetof(3C) offset of structure member opendir(3C) See directory(3C) openlog(3) See syslog(3) openpl(3) See plot(3) openvt(3) See plot(3) overlay(3X) See curs_overlay(3X) overwrite(3X) See curs_overlay(3X) p2close(3G) See p2open(3G) p2open(3G) open, close pipes to and from a command pair_content(3X) See curs_color(3X) panel_above(3X) panels deck traversal primitives SunOS 5.8 Last change: 30 Jun 1995 93 Introduction to Library Functions Intro(3) panel_below(3X) See panel_above(3X) panel_hidden(3X) See panel_show(3X) panel_move(3X) move a panels window on the virtual screen panel_new(3X) create and destroy panels panels(3X) character based panels package panel_show(3X) panels deck manipulation routines panel_top(3X) panels deck manipulation routines panel_update(3X) panels virtual screen refresh routine panel_userptr(3X) associate application data with a panels panel panel_window(3X) get or set the current window of a panels panel pathfind(3G) search for named file in named direc- tories pclose(3S) See popen(3S) pechochar(3X) See curs_pad(3X) pechowchar(3X) See curs_pad(3X) SunOS 5.8 Last change: 30 Jun 1995 94 Introduction to Library Functions Intro(3) perror(3C) print system error messages pfmt(3C) display error message in standard for- mat plock(3C) lock or unlock into memory process, text, or data plot(3) graphics interface pmap_getmaps(3N) See rpc_soc(3N) pmap_getport(3N) See rpc_soc(3N) pmap_rmtcall(3N) See rpc_soc(3N) pmap_set(3N) See rpc_soc(3N) pmap_unset(3N) See rpc_soc(3N) pnoutrefresh(3X) See curs_pad(3X) point(3) See plot(3) popen(3S) initiate pipe to/from a pro- cess pos_form_cursor(3X) See form_cursor(3X) pos_menu_cursor(3X) See menu_cursor(3X) post_form(3X) See form_post(3X) post_menu(3X) See menu_post(3X) SunOS 5.8 Last change: 30 Jun 1995 95 Introduction to Library Functions Intro(3) pow(3M) See exp(3M) prefresh(3X) See curs_pad(3X) printf(3B) formatted out- put conversion printf(3S) print format- ted output printw(3X) See curs_printw(3X) proc_service(3T) process ser- vice interface psiginfo(3C) See psignal(3C) psignal(3B) system signal messages psignal(3C) system signal messages ps_lcontinue(3T) See proc_service(3T) ps_lgetfpregs(3T) See proc_service(3T) ps_lgetregs(3T) See proc_service(3T) ps_lgetxregs(3T) See proc_service(3T) ps_lgetxregsize(3T) See proc_service(3T) ps_lsetfpregs(3T) See proc_service(3T) ps_lsetregs(3T) See proc_service(3T) ps_lsetxregs(3T) See proc_service(3T) ps_lstop(3T) See proc_service(3T) SunOS 5.8 Last change: 30 Jun 1995 96 Introduction to Library Functions Intro(3) ps_pcontinue(3T) See proc_service(3T) ps_pdread(3T) See proc_service(3T) ps_pdwrite(3T) See proc_service(3T) ps_pglobal_lookup(3T) See proc_service(3T) ps_plog(3T) See proc_service(3T) ps_pstop(3T) See proc_service(3T) ps_ptread(3T) See proc_service(3T) ps_ptwrite(3T) See proc_service(3T) pthread_atfork(3T) register fork handlers pthread_attr_destroy(3T) See pthread_attr_init(3T) pthread_attr_getdetachstate(3T) See pthread_attr_init(3T) pthread_attr_getinheritsched(3T) See pthread_attr_init(3T) pthread_attr_getschedparam(3T) See pthread_attr_init(3T) pthread_attr_getschedpolicy(3T) See pthread_attr_init(3T) pthread_attr_getscope(3T) See pthread_attr_init(3T) pthread_attr_getstackaddr(3T) See pthread_attr_init(3T) pthread_attr_getstacksize(3T) See pthread_attr_init(3T) pthread_attr_init(3T) thread SunOS 5.8 Last change: 30 Jun 1995 97 Introduction to Library Functions Intro(3) creation attributes pthread_attr_setdetachstate(3T) See pthread_attr_init(3T) pthread_attr_setinheritsched(3T) See pthread_attr_init(3T) pthread_attr_setschedparam(3T) See pthread_attr_init(3T) pthread_attr_setschedpolicy(3T) See pthread_attr_init(3T) pthread_attr_setscope(3T) See pthread_attr_init(3T) pthread_attr_setstackaddr(3T) See pthread_attr_init(3T) pthread_attr_setstacksize(3T) See pthread_attr_init(3T) pthread_cancel(3T) See cancellation(3T) pthread_cleanup_pop(3T) See cancellation(3T) pthread_cleanup_push(3T) See cancellation(3T) pthread_condattr_destroy(3T) See pthread_condattr_init(3T) pthread_condattr_getpshared(3T) See pthread_condattr_init(3T) pthread_condattr_init(3T) condition variable ini- tialization attributes pthread_condattr_setpshared(3T) See pthread_condattr_init(3T) pthread_cond_broadcast(3T) See condition(3T) pthread_cond_destroy(3T) See condition(3T) SunOS 5.8 Last change: 30 Jun 1995 98 Introduction to Library Functions Intro(3) pthread_cond_init(3T) See condition(3T) pthread_cond_signal(3T) See condition(3T) pthread_cond_timedwait(3T) See condition(3T) pthread_cond_wait(3T) See condition(3T) pthread_create(3T) thread crea- tion pthread_detach(3T) dynamically detaching a thread pthread_equal(3T) compare thread IDs pthread_exit(3T) thread termi- nation pthread_getschedparam(3T) See pthread_setschedparam(3T) pthread_getspecific(3T) See pthread_key_create(3T) pthread_join(3T) wait for thread termi- nation pthread_key_create(3T) thread- specific-data functions pthread_key_delete(3T) See pthread_key_create(3T) pthread_kill(3T) send a signal to a thread pthread_mutexattr_destroy(3T) See pthread_mutexattr_init(3T) pthread_mutexattr_getprioceiling(3T) See pthread_mutexattr_init(3T) pthread_mutexattr_getprotocol(3T) See SunOS 5.8 Last change: 30 Jun 1995 99 Introduction to Library Functions Intro(3) pthread_mutexattr_init(3T) pthread_mutexattr_getpshared(3T) See pthread_mutexattr_init(3T) pthread_mutexattr_init(3T) mutex initial- ization attri- butes pthread_mutexattr_setprioceiling(3T) See pthread_mutexattr_init(3T) pthread_mutexattr_setprotocol(3T) See pthread_mutexattr_init(3T) pthread_mutexattr_setpshared(3T) See pthread_mutexattr_init(3T) pthread_mutex_destroy(3T) See mutex(3T) pthread_mutex_getprioceiling(3T) See pthread_mutex_setprioceiling(3T) pthread_mutex_init(3T) See mutex(3T) pthread_mutex_lock(3T) See mutex(3T) pthread_mutex_setprioceiling(3T) change the priority ceil- ing of a mutex pthread_mutex_trylock(3T) See mutex(3T) pthread_mutex_unlock(3T) See mutex(3T) pthread_once(3T) dynamic pack- age initiali- zation pthreads(3T) See threads(3T) pthread_self(3T) get calling thread's ID pthread_setcancelstate(3T) See cancellation(3T) pthread_setcanceltype(3T) See cancellation(3T) pthread_setschedparam(3T) dynamic access SunOS 5.8 Last change: 30 Jun 1995 100 Introduction to Library Functions Intro(3) to thread scheduling pthread_setspecific(3T) See pthread_key_create(3T) pthread_sigmask(3T) change and/or examine cal- ling thread's signal mask pthread_testcancel(3T) See cancellation(3T) ptsname(3C) get name of the slave pseudo- terminal dev- ice publickey(3N) See getpublickey(3N) putc(3S) put character or word on a stream putchar(3S) See putc(3S) putchar_unlocked(3S) See putc(3S) putc_unlocked(3S) See putc(3S) putenv(3C) change or add value to environment putmntent(3C) See getmntent(3C) putp(3X) See curs_terminfo(3X) putpwent(3C) write password file entry puts(3S) put a string on a stream putspent(3C) write shadow password file entry SunOS 5.8 Last change: 30 Jun 1995 101 Introduction to Library Functions Intro(3) pututline(3C) See getutent(3C) pututxline(3C) See getutxent(3C) putw(3S) See putc(3S) putwc(3I) convert Pro- cess Code character to EUC and put on a stream putwchar(3I) See putwc(3I) putwin(3X) See curs_util(3X) putws(3I) convert a string of Pro- cess Code characters to EUC characters and put it on a stream qeconvert(3) See econvert(3) qfconvert(3) See econvert(3) qgconvert(3) See econvert(3) qiflush(3X) See curs_inopts(3X) qsort(3C) quick sort quadruple_to_decimal(3) See floating_to_decimal(3) rac_drop(3N) See rpc_rac(3N) rac_poll(3N) See rpc_rac(3N) rac_recv(3N) See rpc_rac(3N) SunOS 5.8 Last change: 30 Jun 1995 102 Introduction to Library Functions Intro(3) rac_send(3N) See rpc_rac(3N) raise(3C) send signal to program rand(3B) simple random number genera- tor rand(3C) simple random-number generator random(3C) better random number genera- tor; routines for changing generators rand_r(3C) See rand(3C) raw(3X) See curs_inopts(3X) rcmd(3N) routines for returning a stream to a remote command readdir(3B) read a direc- tory entry readdir(3C) See directory(3C) readdir_r(3C) See directory(3C) read_vtoc(3X) read and write a disk's VTOC realloc(3C) See malloc(3C) realloc(3X) See bsdmalloc(3X) realloc(3X) See malloc(3X) realloc(3X) See mapmalloc(3X) SunOS 5.8 Last change: 30 Jun 1995 103 Introduction to Library Functions Intro(3) realpath(3C) returns the real file name reboot(3C) reboot system or halt pro- cessor re_comp(3C) See regex(3C) recv(3N) receive a mes- sage from a socket recvfrom(3N) See recv(3N) recvmsg(3N) See recv(3N) redrawwin(3X) See curs_refresh(3X) re_exec(3C) See regex(3C) refresh(3X) See curs_refresh(3X) regcmp(3G) compile and execute regu- lar expression regcomp(3C) regular expression matching regerror(3C) See regcomp(3C) regex(3C) regular expression handler regex(3G) See regcmp(3G) regexec(3C) See regcomp(3C) regexpr(3G) regular expression compile and match routines regfree(3C) See regcomp(3C) SunOS 5.8 Last change: 30 Jun 1995 104 Introduction to Library Functions Intro(3) registerrpc(3N) See rpc_soc(3N) remainder(3M) See ieee_functions(3M) remove(3C) remove file remque(3C) See insque(3C) replace_panel(3X) See panel_window(3X) reset_prog_mode(3X) See curs_kernel(3X) reset_shell_mode(3X) See curs_kernel(3X) resetty(3X) See curs_kernel(3X) res_init(3N) See resolver(3N) res_mkquery(3N) See resolver(3N) resolver(3N) resolver rou- tines res_search(3N) See resolver(3N) res_send(3N) See resolver(3N) restartterm(3X) See curs_terminfo(3X) rewind(3S) See fseek(3S) rewinddir(3C) See directory(3C) rexec(3N) return stream to a remote command rindex(3C) See index(3C) rint(3M) See floor(3M) SunOS 5.8 Last change: 30 Jun 1995 105 Introduction to Library Functions Intro(3) ripoffline(3X) See curs_kernel(3X) rmdirp(3G) See mkdirp(3G) rnusers(3N) See rusers(3N) rpc(3N) library rou- tines for remote pro- cedure calls rpcb_getaddr(3N) See rpcbind(3N) rpcb_getmaps(3N) See rpcbind(3N) rpcb_gettime(3N) See rpcbind(3N) rpcbind(3N) library rou- tines for RPC bind service rpcb_rmtcall(3N) See rpcbind(3N) rpc_broadcast(3N) See rpc_clnt_calls(3N) rpc_broadcast_exp(3N) See rpc_clnt_calls(3N) rpcb_set(3N) See rpcbind(3N) rpcb_unset(3N) See rpcbind(3N) rpc_call(3N) See rpc_clnt_calls(3N) rpc_clnt_auth(3N) library rou- tines for client side remote pro- cedure call authentication rpc_clnt_calls(3N) library rou- tines for SunOS 5.8 Last change: 30 Jun 1995 106 Introduction to Library Functions Intro(3) client side calls rpc_clnt_create(3N) library rou- tines for dealing with creation and manipulation of CLIENT han- dles rpc_control(3N) library rou- tine for mani- pulating glo- bal RPC attri- butes for client and server appli- cations rpc_createerr(3N) See rpc_clnt_create(3N) rpc_rac(3N) remote asyn- chronous calls rpc_reg(3N) See rpc_svc_reg(3N) rpc_soc(3N) obsolete library rou- tines for RPC rpc_svc_calls(3N) library rou- tines for RPC servers rpc_svc_create(3N) library rou- tines for the creation of server handles rpc_svc_err(3N) library rou- tines for server side remote pro- cedure call errors rpc_svc_reg(3N) library rou- tines for registering SunOS 5.8 Last change: 30 Jun 1995 107 Introduction to Library Functions Intro(3) servers rpc_xdr(3N) XDR library routines for remote pro- cedure calls rresvport(3N) See rcmd(3N) rstat(3N) get perfor- mance data from remote kernel ruserok(3N) See rcmd(3N) rusers(3N) return infor- mation about users on remote machines rwall(3N) write to specified remote machines rwlock(3T) multiple readers, sin- gle writer locks rwlock_destroy(3T) See rwlock(3T) rwlock_init(3T) See rwlock(3T) rw_rdlock(3T) See rwlock(3T) rw_tryrdlock(3T) See rwlock(3T) rw_trywrlock(3T) See rwlock(3T) rw_unlock(3T) See rwlock(3T) rw_wrlock(3T) See rwlock(3T) savetty(3X) See curs_kernel(3X) scalb(3C) See frexp(3C) scalb(3M) See SunOS 5.8 Last change: 30 Jun 1995 108 Introduction to Library Functions Intro(3) ieee_test(3M) scalbn(3M) See ieee_functions(3M) scale_form(3X) See form_win(3X) scale_menu(3X) See menu_win(3X) scandir(3B) scan a direc- tory scanf(3S) convert for- matted input scanw(3X) See curs_scanw(3X) sched_getparam(3R) See sched_setparam(3R) sched_get_priority_max(3R) get scheduling parameter lim- its sched_get_priority_min(3R) See sched_get_priority_max(3R) sched_getscheduler(3R) See sched_setscheduler(3R) sched_rr_get_interval(3R) See sched_get_priority_max(3R) sched_setparam(3R) set/get scheduling parameters sched_setscheduler(3R) set/get scheduling policy and scheduling parameters sched_yield(3R) yield proces- sor scr_dump(3X) See curs_scr_dump(3X) SunOS 5.8 Last change: 30 Jun 1995 109 Introduction to Library Functions Intro(3) scr_init(3X) See curs_scr_dump(3X) scrl(3X) See curs_scroll(3X) scroll(3X) See curs_scroll(3X) scrollok(3X) See curs_outopts(3X) scr_restore(3X) See curs_scr_dump(3X) scr_set(3X) See curs_scr_dump(3X) seconvert(3) See econvert(3) secure_rpc(3N) library rou- tines for secure remote procedure calls seed48(3C) See drand48(3C) seekdir(3C) See directory(3C) select(3C) synchronous I/O multiplex- ing sema_destroy(3T) See semaphore(3T) sema_init(3T) See semaphore(3T) semaphore(3T) semaphores sema_post(3T) See semaphore(3T) sema_trywait(3T) See semaphore(3T) sema_wait(3T) See SunOS 5.8 Last change: 30 Jun 1995 110 Introduction to Library Functions Intro(3) semaphore(3T) sem_close(3R) close a named semaphore sem_destroy(3R) destroy an unnamed sema- phore sem_getvalue(3R) get the value of a semaphore sem_init(3R) initialize an unnamed sema- phore sem_open(3R) initialize/open a named sema- phore sem_post(3R) increment the count of a semaphore sem_trywait(3R) See sem_wait(3R) sem_unlink(3R) remove a named semaphore sem_wait(3R) acquire or wait for a semaphore send(3N) send a message from a socket sendmsg(3N) See send(3N) sendto(3N) See send(3N) setac(3) See getacinfo(3) setauclass(3) See getauclassent(3) setauevent(3) See getauevent(3) setauuser(3) See getauusernam(3) SunOS 5.8 Last change: 30 Jun 1995 111 Introduction to Library Functions Intro(3) setbuf(3S) assign buffer- ing to a stream setbuffer(3C) assign buffer- ing to a stream setcat(3C) define default catalog set_current_field(3X) See form_page(3X) set_current_item(3X) See menu_item_current(3X) set_curterm(3X) See curs_terminfo(3X) set_field_back(3X) See form_field_attributes(3X) set_field_buffer(3X) See form_field_buffer(3X) set_field_fore(3X) See form_field_attributes(3X) set_field_init(3X) See form_hook(3X) set_field_just(3X) See form_field_just(3X) set_field_opts(3X) See form_field_opts(3X) set_field_pad(3X) See form_field_attributes(3X) set_field_status(3X) See form_field_buffer(3X) set_field_term(3X) See form_hook(3X) set_field_type(3X) See form_field_validation(3X) set_fieldtype_arg(3X) See form_fieldtype(3X) SunOS 5.8 Last change: 30 Jun 1995 112 Introduction to Library Functions Intro(3) set_fieldtype_choice(3X) See form_fieldtype(3X) set_field_userptr(3X) See form_field_userptr(3X) set_form_fields(3X) See form_field(3X) set_form_init(3X) See form_hook(3X) set_form_opts(3X) See form_opts(3X) set_form_page(3X) See form_page(3X) set_form_sub(3X) See form_win(3X) set_form_term(3X) See form_hook(3X) set_form_userptr(3X) See form_userptr(3X) set_form_win(3X) See form_win(3X) setgrent(3C) See getgrnam(3C) sethostent(3N) See gethostbyname(3N) sethostname(3C) See gethostname(3C) set_item_init(3X) See menu_hook(3X) set_item_opts(3X) See menu_item_opts(3X) set_item_term(3X) See menu_hook(3X) set_item_userptr(3X) See menu_item_userptr(3X) set_item_value(3X) See SunOS 5.8 Last change: 30 Jun 1995 113 Introduction to Library Functions Intro(3) menu_item_value(3X) setjmp(3B) non-local goto _setjmp(3B) See setjmp(3B) setjmp(3C) non-local goto setkey(3C) See crypt(3C) setlabel(3C) define the label for pfmt() and lfmt(). setlinebuf(3C) See setbuffer(3C) setlocale(3C) modify and query a program's locale setlogmask(3) See syslog(3) set_max_field(3X) See form_field_buffer(3X) set_menu_back(3X) See menu_attributes(3X) set_menu_fore(3X) See menu_attributes(3X) set_menu_format(3X) See menu_format(3X) set_menu_grey(3X) See menu_attributes(3X) set_menu_init(3X) See menu_hook(3X) set_menu_items(3X) See menu_items(3X) set_menu_mark(3X) See menu_mark(3X) set_menu_opts(3X) See menu_opts(3X) SunOS 5.8 Last change: 30 Jun 1995 114 Introduction to Library Functions Intro(3) set_menu_pad(3X) See menu_attributes(3X) set_menu_pattern(3X) See menu_pattern(3X) set_menu_sub(3X) See menu_win(3X) set_menu_term(3X) See menu_hook(3X) set_menu_userptr(3X) See menu_userptr(3X) set_menu_win(3X) See menu_win(3X) setnetconfig(3N) See getnetconfig(3N) setnetent(3N) See getnetbyname(3N) setnetgrent(3N) See getnetgrent(3N) setnetpath(3N) See getnetpath(3N) set_new_page(3X) See form_new_page(3X) set_panel_userptr(3X) See panel_userptr(3X) setpriority(3C) See getpriority(3C) setprotoent(3N) See getprotobyname(3N) setpwent(3C) See getpwnam(3C) setrpcent(3N) See getrpcbyname(3N) setscrreg(3X) See curs_outopts(3X) setservent(3N) See SunOS 5.8 Last change: 30 Jun 1995 115 Introduction to Library Functions Intro(3) getservbyname(3N) setsockopt(3N) See getsockopt(3N) setspent(3C) See getspnam(3C) setstate(3C) See random(3C) setsyx(3X) See curs_kernel(3X) set_term(3X) See curs_initscr(3X) setterm(3X) See curs_terminfo(3X) settimeofday(3B) See gettimeofday(3B) settimeofday(3C) See gettimeofday(3C) set_top_row(3X) See menu_item_current(3X) setupterm(3X) See curs_terminfo(3X) setusershell(3C) See getusershell(3C) setutent(3C) See getutent(3C) setutxent(3C) See getutxent(3C) setvbuf(3S) See setbuf(3S) sfconvert(3) See econvert(3) sgconvert(3) See econvert(3) shm_open(3R) open a shared memory object shm_unlink(3R) remove a SunOS 5.8 Last change: 30 Jun 1995 116 Introduction to Library Functions Intro(3) shared memory object show_panel(3X) See panel_show(3X) shutdown(3N) shut down part of a full- duplex connec- tion sig2str(3C) See str2sig(3C) sigaddset(3C) See sigsetops(3C) sigblock(3B) block signals sigdelset(3C) See sigsetops(3C) sigemptyset(3C) See sigsetops(3C) sigfillset(3C) See sigsetops(3C) sigfpe(3) signal han- dling for specific SIGFPE codes sighold(3C) See signal(3C) sigignore(3C) See signal(3C) siginterrupt(3B) allow signals to interrupt functions sigismember(3C) See sigsetops(3C) siglongjmp(3C) See setjmp(3C) sigmask(3B) See sigblock(3B) signal(3B) simplified software sig- nal facilities SunOS 5.8 Last change: 30 Jun 1995 117 Introduction to Library Functions Intro(3) signal(3C) simplified signal manage- ment for application processes significand(3M) See ieee_test(3M) sigpause(3B) See sigblock(3B) sigpause(3C) See signal(3C) sigqueue(3R) queue a signal to a process sigrelse(3C) See signal(3C) sigset(3C) See signal(3C) sigsetjmp(3C) See setjmp(3C) sigsetmask(3B) See sigblock(3B) sigsetops(3C) manipulate sets of sig- nals sigstack(3B) set and/or get signal stack context sigtimedwait(3R) See sigwaitinfo(3R) sigvec(3B) software sig- nal facilities sigwaitinfo(3R) wait for queued signals sin(3M) See trig(3M) single_to_decimal(3) See floating_to_decimal(3) sinh(3M) See hyperbolic(3M) sleep(3B) suspend SunOS 5.8 Last change: 30 Jun 1995 118 Introduction to Library Functions Intro(3) execution for interval sleep(3C) suspend execu- tion for interval slk_attroff(3X) See curs_slk(3X) slk_attron(3X) See curs_slk(3X) slk_attrset(3X) See curs_slk(3X) slk_clear(3X) See curs_slk(3X) slk_init(3X) See curs_slk(3X) slk_label(3X) See curs_slk(3X) slk_noutrefresh(3X) See curs_slk(3X) slk_refresh(3X) See curs_slk(3X) slk_restore(3X) See curs_slk(3X) slk_set(3X) See curs_slk(3X) slk_touch(3X) See curs_slk(3X) socket(3N) create an end- point for com- munication socketpair(3N) create a pair of connected sockets space(3) See plot(3) spray(3N) scatter data in order to SunOS 5.8 Last change: 30 Jun 1995 119 Introduction to Library Functions Intro(3) test the net- work sprintf(3B) See printf(3B) sprintf(3S) See printf(3S) sqrt(3M) square root, cube root srand(3B) See rand(3B) srand(3C) See rand(3C) srand48(3C) See drand48(3C) srandom(3C) See random(3C) sscanf(3S) See scanf(3S) ssignal(3C) software sig- nals standend(3X) See curs_attr(3X) standout(3X) See curs_attr(3X) start_color(3X) See curs_color(3X) stdio(3S) standard buf- fered input/output package stdipc(3C) standard interprocess communication package step(3G) See regexpr(3G) store(3B) See dbm(3B) str(3G) See strfind(3G) str2sig(3C) translation SunOS 5.8 Last change: 30 Jun 1995 120 Introduction to Library Functions Intro(3) between signal name and sig- nal number strcadd(3G) See strccpy(3G) strcasecmp(3C) See string(3C) strcat(3C) See string(3C) strccpy(3G) copy strings, compressing or expanding escape codes strchr(3C) See string(3C) strcmp(3C) See string(3C) strcoll(3C)