man Pages(3): Library Routines
    
R
 
 rac_drop() -- remote asynchronous calls ( Index Term Link )
 
 rac_poll() -- remote asynchronous calls ( Index Term Link )
 
 rac_recv() -- remote asynchronous calls ( Index Term Link )
 
 rac_send() -- remote asynchronous calls ( Index Term Link )
 
 radix-independent exponent -- logb ( Index Term Link )
 
 raise -- send signal to program ( Index Term Link )
 
 rand -- simple random number generator ( Index Term Link )
 
 rand -- simple random-number generator ( Index Term Link )
 
 random -- pseudorandom number functions ( Index Term Link )
 
 random number generator
  -- drand48 ( Index Term Link )
  -- erand48 ( Index Term Link )
  -- jrand48 ( Index Term Link )
  -- lcong48 ( Index Term Link )
  -- lrand48 ( Index Term Link )
  -- mrand48 ( Index Term Link )
  -- nrand48 ( Index Term Link )
  -- rand ( Index Term Link )
  -- seed48 ( Index Term Link )
  -- srand48 ( Index Term Link )
 
 random number generator, simple
  -- rand ( Index Term Link )
  -- srand ( Index Term Link )
 
 raw -- set input mode controls ( Index Term Link )
 
 rcmd -- execute command remotely ( Index Term Link )
 
 re_comp -- compile and execute regular expressions ( Index Term Link )
 
 re_exec -- compile and execute regular expressions ( Index Term Link )
 
 read a string of characters without echo -- getpass ( Index Term Link )
 
 read and write a disk's VTOC -- read_vtoc ( Index Term Link )
 
 read system process structures
  -- kvm_getproc ( Index Term Link )
  -- kvm_nextproc ( Index Term Link )
  -- kvm_setproc ( Index Term Link )
 
 read and write a disk's VTOC -- read_vtoc, write_vtoc ( Index Term Link )
 
 read a directory entry -- readdir ( Index Term Link )
 
 read a string of characters without echo, -- getpassphrase ( Index Term Link )
 
 read a window from, and write a window to, a file
  -- getwin ( Index Term Link )
  -- putwin ( Index Term Link )
 
 read directory
  -- readdir ( Index Term Link )
  -- readdir_r ( Index Term Link )
 
 read formatted input from window
  -- mvscanw ( Index Term Link )
  -- mvwscanw ( Index Term Link )
  -- scanw ( Index Term Link )
  -- vw_scanw ( Index Term Link )
  -- vwscanw ( Index Term Link )
  -- wscanw ( Index Term Link )
 
 read or write asynchronous I/O operations
  -- aioread ( Index Term Link )
  -- aiowrite ( Index Term Link )
 
 read or write kstat data
  -- kstat_read ( Index Term Link )
  -- kstat_write ( Index Term Link )
 
 read_vtoc -- read and write a disk's VTOC ( Index Term Link )
 
 readdir -- read a directory entry ( Index Term Link )
 
 readdir -- read directory ( Index Term Link )
  POSIX ( Index Term Link )
 
 readdir_r -- read directory ( Index Term Link )
 
 reading and writing thread registers in libthread_db
  -- td_thr_getfpregs ( Index Term Link )
  -- td_thr_getgregs ( Index Term Link )
  -- td_thr_getxregs ( Index Term Link )
  -- td_thr_getxregsize ( Index Term Link )
  -- td_thr_setfpregs ( Index Term Link )
  -- td_thr_setgregs ( Index Term Link )
  -- td_thr_setxregs ( Index Term Link )
 
 realloc -- memory allocator ( Index Term Link )
 
 realpath -- resolve pathname ( Index Term Link )
 
 reboot -- reboot system or halt processor ( Index Term Link )
 
 receive a message from a socket -- recv ( Index Term Link )
  recvfrom ( Index Term Link )
  recvmsg ( Index Term Link )
 
 recv -- receive a message from a socket ( Index Term Link )
 
 recvfrom -- receive a message from a socket ( Index Term Link )
 
 recvmsg -- receive a message from a socket ( Index Term Link )
 
 redraw screen or portion of screen
  -- redrawwin ( Index Term Link )
  -- wredrawln ( Index Term Link )
 
 redrawwin -- redraw screen or portion of screen ( Index Term Link )
 
 refresh -- refresh windows and lines ( Index Term Link )
 
 refresh windows and lines
  -- doupdate ( Index Term Link )
  -- refresh ( Index Term Link )
  -- wnoutrefresh ( Index Term Link )
  -- wrefresh ( Index Term Link )
 
 regcmp -- compile regular expression ( Index Term Link )
 
 regcomp -- regular expression matching ( Index Term Link )
 
 regerror -- regular expression matching ( Index Term Link )
 
 regex -- execute regular expression ( Index Term Link )
 
 regexec -- regular expression matching ( Index Term Link )
 
 regexpr -- regular expression compile and match routines ( Index Term Link )
 
 regfree -- regular expression matching ( Index Term Link )
 
 register callbacks for probe creation and destruction -- tnfctl_register_funcs ( Index Term Link )
 
 register fork handlers -- pthread_atfork ( Index Term Link )
 
 regular expression compile and match routines
  -- advance ( Index Term Link )
  -- compile ( Index Term Link )
  -- regexpr ( Index Term Link )
  -- step ( Index Term Link )
 
 regular expression matching
  -- regcomp ( Index Term Link )
  -- regerror ( Index Term Link )
  -- regexec ( Index Term Link )
  -- regfree ( Index Term Link )
 
 regular expressions, compile and execute -- regcmp, regex ( Index Term Link )
 
 release removable media device reservation -- volmgt_release ( Index Term Link )
 
 remainder -- remainder function ( Index Term Link )
 
 remainder function -- remainder ( Index Term Link )
 
 remote command, return stream to, -- rcmd ( Index Term Link )
 
 remote procedure calls, library routines for -- rpc ( Index Term Link )
 
 remote system
  return information about users -- rusers, rnusers ( Index Term Link )
  write to -- rstat ( Index Term Link )
  write to -- rwall ( Index Term Link )
 
 remove -- remove file ( Index Term Link )
 
 remove a character
  -- delch ( Index Term Link )
  -- mvdelch ( Index Term Link )
  -- mvwdelch ( Index Term Link )
  -- wdelch ( Index Term Link )
 
 remove a line
  -- deleteln ( Index Term Link )
  -- wdeleteln ( Index Term Link )
 
 remque -- remove elment from a queue ( Index Term Link )
 
 rename the name of a binding -- fn_ctx_rename ( Index Term Link )
 
 reposition a file-position indicator in a stream
  -- fseek ( Index Term Link )
  -- fseeko ( Index Term Link )
 
 res_init -- resolver routines ( Index Term Link )
 
 res_mkquery -- resolver routines ( Index Term Link )
 
 res_query -- resolver routines ( Index Term Link )
 
 res_search -- resolver routines ( Index Term Link )
 
 res_send -- resolver routines ( Index Term Link )
 
 reserve removable media device -- volmgt_acquire ( Index Term Link )
 
 reserve screen line for dedicated purpose -- ripoffline ( Index Term Link )
 
 reset file position indicator in a stream -- rewind ( Index Term Link )
 
 reset position of directory stream to the beginning of a directory -- rewinddir ( Index Term Link )
 
 reset_prog_mode -- save/restore terminal modes ( Index Term Link )
 
 reset_shell_mode -- save/restore terminal modes ( Index Term Link )
 
 resetty -- restore/save terminal modes ( Index Term Link )
 
 resolve pathname -- realpath ( Index Term Link )
 
 resolver -- resolver routines ( Index Term Link )
 
 resolver routines -- resolver ( Index Term Link )
  dn_comp ( Index Term Link )
  dn_expand ( Index Term Link )
  res_init ( Index Term Link )
  res_mkquery ( Index Term Link )
  res_search ( Index Term Link )
  res_send ( Index Term Link )
 
 resource utilization, get information -- getrusage ( Index Term Link )
 
 restartterm -- free space pointed to by terminal ( Index Term Link )
 
 restore initial terminal environment
  -- endwin ( Index Term Link )
  -- isendwin ( Index Term Link )
 
 restore/save terminal modes
  -- resetty ( Index Term Link )
  -- savetty ( Index Term Link )
 
 retrieve public or secret key -- getpublickey ( Index Term Link )
  getsecretkey ( Index Term Link )
  publickey ( Index Term Link )
 
 retrieve a complex character (with rendition)
  -- in_wch ( Index Term Link )
  -- mvin_wch ( Index Term Link )
  -- mvwin_wch ( Index Term Link )
  -- win_wch ( Index Term Link )
 
 retrieve a multibyte character string (without rendition)
  -- innstr ( Index Term Link )
  -- instr ( Index Term Link )
  -- mvinnstr ( Index Term Link )
  -- mvinstr ( Index Term Link )
  -- mvwinnstr ( Index Term Link )
  -- mvwinstr ( Index Term Link )
  -- winnstr ( Index Term Link )
  -- winstr ( Index Term Link )
 
 retrieve a single-byte character string (with rendition)
  -- inchnstr ( Index Term Link )
  -- inchstr ( Index Term Link )
  -- mvinchnstr ( Index Term Link )
  -- mvinchstr ( Index Term Link )
  -- mvwinchnstr ( Index Term Link )
  -- mvwinchstr ( Index Term Link )
  -- winchnstr ( Index Term Link )
  -- winchstr ( Index Term Link )
 
 retrieve a wide character string (without rendition)
  -- innwstr ( Index Term Link )
  -- inwstr ( Index Term Link )
  -- mvinnwstr ( Index Term Link )
  -- mvinwstr ( Index Term Link )
  -- mvwinnwstr ( Index Term Link )
  -- mvwinwstr ( Index Term Link )
  -- winnwstr ( Index Term Link )
  -- winwstr ( Index Term Link )
 
 retrieve archive symbol table -- elf_getarsym ( Index Term Link )
 
 retrieve class-dependent object file header
  -- elf32_getehdr ( Index Term Link )
  -- elf64_getehdr ( Index Term Link )
  -- elf32_newehdr ( Index Term Link )
  -- elf64_newehdr ( Index Term Link )
 
 retrieve class-dependent program header table
  -- elf32_getphdr ( Index Term Link )
  -- elf64_getphdr ( Index Term Link )
  -- elf32_newphdr ( Index Term Link )
  -- elf64_newphdr ( Index Term Link )
 
 retrieve class-dependent section header
  -- elf32_getshdr ( Index Term Link )
  -- elf64_getshdr ( Index Term Link )
 
 retrieve complex character string (with rendition)
  -- in_wchnstr ( Index Term Link )
  -- in_wchstr ( Index Term Link )
  -- mvin_wchnstr ( Index Term Link )
  -- mvin_wchstr ( Index Term Link )
  -- mvwin_wchnstr ( Index Term Link )
  -- mvwin_wchstr ( Index Term Link )
  -- win_wchnstr ( Index Term Link )
  -- win_wchstr ( Index Term Link )
 
 return physical memory information -- sysmem ( Index Term Link )
 
 return physical memory information -- asysmem, asysmem ( Index Term Link )
 
 return a file offset for a file descriptor -- tell ( Index Term Link )
 
 return a file offset in a stream
  -- ftell ( Index Term Link )
  -- ftello ( Index Term Link )
 
 return a handle to the Initial Context -- fn_ctx_handle_from_initial ( Index Term Link )
 
 returns a list of all the PAM environment variables -- pam_getenvlist ( Index Term Link )
 
 return a single-byte character (with rendition)
  -- inch ( Index Term Link )
  -- mvinch ( Index Term Link )
  -- mvwinch ( Index Term Link )
  -- winch ( Index Term Link )
 
 return character string used as key name
  -- key_name ( Index Term Link )
  -- keyname ( Index Term Link )
 
 return credential information associated with the client -- door_cred ( Index Term Link ) ( Index Term Link )
 
 return current ERASE or KILL characters
  -- erasechar ( Index Term Link )
  -- erasewchar ( Index Term Link )
  -- killchar ( Index Term Link )
  -- killwchar ( Index Term Link )
 
 return from a door invocation -- door_return ( Index Term Link )
 
 return full terminal type name -- longname ( Index Term Link )
 
 return information associated with a door descriptor -- door_info ( Index Term Link ) ( Index Term Link )
 
 return magnitude of first argument and sign of second argument -- copysign ( Index Term Link )
 
 return multiple attributes associated with named object
  -- fn_attr_multi_get ( Index Term Link )
  -- fn_multigetlist_destroy ( Index Term Link )
  -- fn_multigetlist_next ( Index Term Link )
  -- FN_multigetlist_t ( Index Term Link )
 
 return pathname of executable -- getexecname ( Index Term Link )
 
 return specified attribute associated with name -- fn_attr_get ( Index Term Link )
 
 return stream to a remote command -- rexec ( Index Term Link )
 
 return terminal baud rate -- baudrate ( Index Term Link )
 
 return the size of an object file type
  -- elf32_fsize ( Index Term Link )
  -- elf64_fsize ( Index Term Link )
 
 return the synchronization handle for the object on which a thread is blocked -- td_thr_sleepinfo ( Index Term Link )
 
 returns the value for a PAM environment name -- pam_getenv ( Index Term Link )
 
 return the value of a terminfo capability
  -- tigetflag ( Index Term Link )
  -- tigetnum ( Index Term Link )
  -- tigetstr ( Index Term Link )
  -- tparm ( Index Term Link )
 
 return the value of the environmental variable TERM -- termname ( Index Term Link )
 
 return the video attributes supported by the terminal -- termattrs ( Index Term Link )
 
 return the Volume Management root directory, -- volmgt_root ( Index Term Link )
 
 return values of an attribute
  -- fn_attr_get_values ( Index Term Link )
  -- fn_valuelist_destroy ( Index Term Link )
  -- fn_valuelist_next ( Index Term Link )
  -- FN_valuelist_t ( Index Term Link )
 
 return whether or not Volume Management is running -- volmgt_running ( Index Term Link )
 
 returns an unbiased exponent -- ilogb ( Index Term Link )
 
 revoke access to a door descriptor -- door_revoke ( Index Term Link ) ( Index Term Link )
 
 rewind -- reset file position indicator in a stream ( Index Term Link )
 
 rewinddir -- reset position of directory stream to the beginning of a directory ( Index Term Link )
 
 rexec -- return stream to a remote command ( Index Term Link )
 
 rindex -- string operations ( Index Term Link )
 
 rint -- round-to-nearest integral value ( Index Term Link )
 
 ripoffline -- reserve screen line for dedicated purpose ( Index Term Link )
 
 rmdirp -- remove directories in a path ( Index Term Link )
 
 rnusers -- return information about users on remote machines ( Index Term Link )
 
 round-to-nearest integral value -- rint ( Index Term Link )
 
 routines that access the target process register in libthread_db
  -- ps_lgetfpregs ( Index Term Link )
  -- ps_lgetregs ( Index Term Link )
  -- ps_lgetxregs ( Index Term Link )
  -- ps_lgetxregsize ( Index Term Link )
  -- ps_lsetfpregs ( Index Term Link )
  -- ps_lsetregs ( Index Term Link )
  -- ps_lsetxregs ( Index Term Link )
 
 rpc -- library routines for remote procedure calls ( Index Term Link )
 
 RPC, data transmission using XDR routines -- xdr ( Index Term Link )
 
 RPC, secure library routines
  -- authdes_getucred ( Index Term Link )
  -- authdes_seccreate ( Index Term Link )
  -- getnetname ( Index Term Link )
  -- host2netname ( Index Term Link )
  -- key_decryptsession ( Index Term Link )
  -- key_encryptsession ( Index Term Link )
  -- key_gendes ( Index Term Link )
  -- key_secretkey_is_set ( Index Term Link )
  -- key_setsecret ( Index Term Link )
  -- netname2host ( Index Term Link )
  -- netname2user ( Index Term Link )
  -- secure_rpc ( Index Term Link )
  -- user2netname ( Index Term Link )
 
 RPC, XDR library routines
  -- rpc_xdr ( Index Term Link )
  -- xdr_accepted_reply ( Index Term Link )
  -- xdr_authsys_parms ( Index Term Link )
  -- xdr_callhdr ( Index Term Link )
  -- xdr_callmsg ( Index Term Link )
  -- xdr_opaque_auth ( Index Term Link )
  -- xdr_rejected_reply ( Index Term Link )
  -- xdr_replymsg ( Index Term Link )
 
 RPC bind service library routines
  -- rpc_getmaps ( Index Term Link )
  -- rpcb_getaddr ( Index Term Link )
  -- rpcb_gettime ( Index Term Link )
  -- rpcb_rmtcall ( Index Term Link )
  -- rpcb_set ( Index Term Link )
  -- rpcb_unset ( Index Term Link )
  -- rpcbind ( Index Term Link )
 
 rpc_broadcast -- library routines for client side calls ( Index Term Link )
 
 rpc_broadcast_exp -- library routines for client side calls ( Index Term Link )
 
 rpc_call -- library routines for client side calls ( Index Term Link )
 
 rpc_clnt_auth -- library routines for client side remote procedure call authentication ( Index Term Link )
 
 rpc_clnt_calls -- library routines for client side calls ( Index Term Link )
  Routines ( Index Term Link ) ( Index Term Link )
 
 rpc_clnt_create -- library routines for dealing with creation and manipulation of CLIENT handles ( Index Term Link )
  Routines ( Index Term Link ) ( Index Term Link )
 
 rpc_createerr -- library routines for dealing with creation and manipulation of CLIENT handles ( Index Term Link )
 
 RPC entry
  -- endrpcent ( Index Term Link )
  -- getrpcbyname ( Index Term Link )
  -- getrpcbyname_r ( Index Term Link )
  -- getrpcbynumber ( Index Term Link )
  -- getrpcbynumber_r ( Index Term Link )
  -- getrpcent ( Index Term Link )
  -- getrpcent_r ( Index Term Link )
  -- setrpcent ( Index Term Link )
 
 RPC library routine for manipulating global RPC attributes for client and server applications, -- rpc_control ( Index Term Link )
 
 RPC library routines for creation and manipulation of server handles
  -- rpc_svc_create ( Index Term Link )
  -- svc_create ( Index Term Link ) ( Index Term Link )
  -- svc_destroy ( Index Term Link )
  -- svc_dg_create ( Index Term Link )
  -- svc_fd_create ( Index Term Link )
  -- svc_raw_create ( Index Term Link )
  -- svc_tli_create ( Index Term Link )
  -- svc_tp_create ( Index Term Link )
  -- svc_vc_create ( Index Term Link )
 
 RPC library routines for registering servers
  -- rpc_reg ( Index Term Link )
  -- rpc_svc_reg ( Index Term Link )
  -- svc_auth_reg ( Index Term Link )
  -- svc_reg ( Index Term Link )
  -- svc_unreg ( Index Term Link )
  -- xprt_register ( Index Term Link )
  -- xprt_unregister ( Index Term Link )
 
 RPC library routines for server side errors
  -- rpc_svc_err ( Index Term Link )
  -- svcerr_auth ( Index Term Link )
  -- svcerr_decode ( Index Term Link )
  -- svcerr_noproc ( Index Term Link )
  -- svcerr_noprog ( Index Term Link )
  -- svcerr_progvers ( Index Term Link )
  -- svcerr_systemerr ( Index Term Link )
  -- svcerr_weakauth ( Index Term Link )
 
 RPC obsolete library routines
  -- authdes_create ( Index Term Link )
  -- authunix_create_default ( Index Term Link )
  -- callrpc ( Index Term Link )
  -- clnt_broadcast ( Index Term Link )
  -- clntraw_create ( Index Term Link )
  -- clnttcp_create ( Index Term Link )
  -- clntudp_bufcreate ( Index Term Link )
  -- clntudp_create ( Index Term Link )
  -- get_myaddress ( Index Term Link )
  -- getrpcport ( Index Term Link )
  -- pmap_getmaps ( Index Term Link )
  -- pmap_getport ( Index Term Link )
  -- pmap_rmtcall ( Index Term Link )
  -- pmap_set ( Index Term Link )
  -- pmap_unset ( Index Term Link )
  -- registerrpc ( Index Term Link )
  -- rpc_soc ( Index Term Link )
  -- svc_fds ( Index Term Link )
  -- svc_getcaller ( Index Term Link )
  -- svc_getreq ( Index Term Link )
  -- svc_register ( Index Term Link )
  -- svc_unregister ( Index Term Link )
  -- svcfd_create ( Index Term Link )
  -- svcraw_create ( Index Term Link )
  -- svctcp_create ( Index Term Link )
  -- svcudp_bufcreate ( Index Term Link )
  -- svcudp_create ( Index Term Link )
  -- xdr_authunix_parms ( Index Term Link )
 
 rpc routines
  rac_drop() -- remote asynchronous calls ( Index Term Link )
  rac_poll() -- remote asynchronous calls ( Index Term Link )
  rac_recv() -- remote asynchronous calls ( Index Term Link )
  rac_send() -- remote asynchronous calls ( Index Term Link )
 
 rpc_svc_calls -- library routines for RPC servers ( Index Term Link )
  Routines ( Index Term Link )
 
 RPC using Kerberos authentication routines
  -- authkerb_getucred ( Index Term Link )
  -- authkerb_seccreate ( Index Term Link )
  -- kerberos_rpc ( Index Term Link )
  -- svc_kerb_reg ( Index Term Link )
 
 rpc -- security flavor incorporating GSS-API onto ONC RPC ( Index Term Link )
 
 rresvport -- get privileged socket ( Index Term Link )
 
 rstat -- get performance data from remote kernel ( Index Term Link )
 
 ruserok -- authenticate user ( Index Term Link )
 
 rusers -- return information about users on remote machines ( Index Term Link )
  xdr_utmpidlearr ( Index Term Link )
 
 rw_rdlock() -- acquire a read lock ( Index Term Link )
 
 rw_tryrdlock() -- acquire a read lock ( Index Term Link )
 
 rw_trywrlock() -- acquire a write lock ( Index Term Link )
 
 rw_unlock() -- unlock a readers/writer lock ( Index Term Link )
 
 rw_wrlock() -- acquire a write lock ( Index Term Link )
 
 rwall -- write to specified remote machines ( Index Term Link )
 
 rwlock_destroy() -- destroy a readers/writer lock ( Index Term Link )
 
 rwlock_init() -- initialize a readers/writer lock ( Index Term Link )