man Pages(3): Library Routines
    
P
 
 p2close -- close pipes to and from a command ( Index Term Link )
 
 p2open -- open pipes to and from a command ( Index Term Link )
 
 page size, system, get -- getpagesize ( Index Term Link )
 
 pair_content -- manipulate color information ( Index Term Link )
 
 PAIR_NUMBER -- manipulate color information ( Index Term Link )
 
 PAM -- PAM Service Module APIs ( Index Term Link )
 
 PAM -- Pluggable Authentication Module ( Index Term Link )
 
 pam -- Pluggable Authentication Module
  Administrative Interface ( Index Term Link )
  Interface Overview ( Index Term Link )
  Stacking Multiple Schemes ( Index Term Link )
  Stateful Interface ( Index Term Link )
 
 pam_acct_mgmt -- perform PAM account validation procedures ( Index Term Link )
 
 pam_authenticate -- perform authentication within the PAM framework ( Index Term Link )
 
 pam_chauthtok -- perform password related functions within the PAM framework ( Index Term Link )
 
 pam_close_session -- perform PAM session creation and termination operations ( Index Term Link )
 
 pam_end -- authentication transaction routines for PAM ( Index Term Link )
 
 PAM error messages, get string -- pam_strerror ( Index Term Link )
 
 pam_get_data -- PAM routines to maintain module specific state ( Index Term Link )
 
 pam_get_item -- authentication information routines for PAM ( Index Term Link )
 
 pam_getenv -- returns the value for a PAM environment name ( Index Term Link )
 
 pam_getenvlist -- returns a list of all the PAM environment variables ( Index Term Link )
 
 pam_open_session -- perform PAM session creation and termination operations ( Index Term Link )
 
 pam_putenv -- change or add a value to the PAM environment ( Index Term Link )
 
 PAM routines to maintain module specific state
  -- pam_get_data ( Index Term Link )
  -- pam_set_data ( Index Term Link )
 
 PAM Service Module APIs, -- PAM ( Index Term Link )
 
 pam_set_data -- PAM routines to maintain module specific state ( Index Term Link )
 
 pam_set_item -- authentication information routines for PAM ( Index Term Link )
 
 pam_setcred -- modify/delete user credentials for an authentication service ( Index Term Link )
 
 pam_sm -- PAM Service Module APIs
  Interaction with the User ( Index Term Link )
  Interface Overview ( Index Term Link )
  Stateful Interface ( Index Term Link )
 
 pam_sm_acct_mgmt -- service provider implementation for pam_acct_mgmt ( Index Term Link )
 
 pam_sm_authenticate -- service provider implementation for pam_authenticate ( Index Term Link )
 
 pam_sm_chauthtok -- service provider implementation for pam_chauthtok ( Index Term Link )
 
 pam_sm_close_session -- Service provider implementation for pam_open_session and pam_close_session ( Index Term Link )
 
 pam_sm_open_session -- Service provider implementation for pam_open_session and pam_close_session ( Index Term Link )
 
 pam_sm_setcred -- service provider implementation for pam_setcred ( Index Term Link )
 
 pam_start -- authentication transaction routines for PAM ( Index Term Link )
 
 panel library
  See also curses library
 
 panels -- character based panels package ( Index Term Link )
 
 panels, create and destroy
  -- del_panel ( Index Term Link )
  -- new_panel ( Index Term Link )
  -- panel_new ( Index Term Link )
 
 panels deck manipulation routines
  -- bottom_panel ( Index Term Link )
  -- hide_panel ( Index Term Link )
  -- panel_hidden ( Index Term Link )
  -- panel_show ( Index Term Link )
  -- panel_top ( Index Term Link )
  -- show_panel ( Index Term Link )
  -- top_panel ( Index Term Link )
 
 panels deck traversal primitives
  -- panel_above ( Index Term Link )
  -- panel_below ( Index Term Link )
 
 panels panel, associate application data
  -- panel_userptr ( Index Term Link )
  -- set_panel_userptr ( Index Term Link )
 
 panels panel, get or set current window
  -- panel_window ( Index Term Link )
  -- replace_panel ( Index Term Link )
 
 panels virtual screen refresh routine
  -- panel_update ( Index Term Link )
  -- update_panel ( Index Term Link )
 
 panels window on virtual screen, move
  -- move_panel ( Index Term Link )
  -- panel_move ( Index Term Link )
 
 password databases
  lock the lock file -- lckpwdf ( Index Term Link )
  unlock the lock file -- ulckpwdf ( Index Term Link )
 
 password encryption functions, -- crypt ( Index Term Link )
 
 passwords
  get password entry from a file -- fgetpwent ( Index Term Link )
  get password entry from a file -- fgetpwent_r ( Index Term Link )
  get password entry in user database -- endpwent ( Index Term Link )
  get password entry in user database -- getpwent ( Index Term Link )
  get password entry in user database -- getpwent_r ( Index Term Link )
  get password entry in user database -- getpwnam ( Index Term Link )
  get password entry in user database -- getpwnam_r ( Index Term Link )
  get password entry in user database -- getpwuid ( Index Term Link )
  get password entry in user database -- getpwuid_r ( Index Term Link )
  get password entry in user database -- setpwent ( Index Term Link )
  get passwd entry from UID -- getpw ( Index Term Link )
  write password file entry -- putpwent ( Index Term Link )
 
 passwords, shadow
  get shadow password database entry -- endspent ( Index Term Link )
  get shadow password database entry -- fgetspent ( Index Term Link )
  get shadow password database entry -- getspent ( Index Term Link )
  get shadow password database entry -- getspnam ( Index Term Link )
  get shadow password database entry -- setspent ( Index Term Link )
  get shadow password database entry (reentrant) -- fgetspent_r ( Index Term Link )
  get shadow password database entry (reentrant) -- getspent_r ( Index Term Link )
  get shadow password database entry (reentrant) -- getspnam_r ( Index Term Link )
  write shadow password file entry -- putspent ( Index Term Link )
 
 path name, return last element -- path name ( Index Term Link )
 
 pathfind -- search for named file in named directories ( Index Term Link )
 
 pclose -- initiate pipe to/from a process ( Index Term Link )
 
 pecho_wchar -- add character and refresh window ( Index Term Link )
 
 pechochar -- add character and refresh window ( Index Term Link )
 
 pechochar -- create and display curses pads ( Index Term Link )
 
 pechowchar -- create and display curses pads ( Index Term Link )
 
 perform an LDAP add operation
  -- ldap_add ( Index Term Link )
  -- ldap_add_ext ( Index Term Link )
  -- ldap_add_ext_s ( Index Term Link )
  -- ldap_add_s ( Index Term Link )
 
 perform authentication within the PAM framework -- pam_authenticate ( Index Term Link )
 
 perform PAM account validation procedures -- pam_acct_mgmt ( Index Term Link )
 
 perform PAM session creation and termination operations
  -- pam_close_session ( Index Term Link )
  -- pam_open_session ( Index Term Link )
 
 perform password related functions within the PAM framework -- pam_chauthtok ( Index Term Link )
 
 perform word expansions
  -- wordexp ( Index Term Link )
  -- wordfree ( Index Term Link )
 
 perror -- print system error messages ( Index Term Link )
 
 pfmt -- display error message in standard format ( Index Term Link )
 
 pipes
  initiate to/from a process -- pclose ( Index Term Link )
  initiate to/from a process -- popen ( Index Term Link )
  open, close to and from a command -- p2open, p2close ( Index Term Link )
 
 placeholder for future logging functionality -- td_log ( Index Term Link )
 
 plock -- lock or unlock into memory process, text, or data ( Index Term Link )
 
 plot -- graphics interface ( Index Term Link )
  Link Editor ( Index Term Link )
 
 Pluggable Authentication Module, -- PAM ( Index Term Link )
 
 pnoutrefresh -- create and display curses pads ( Index Term Link )
 
 pnoutrefresh -- create or refresh a pad or subpad ( Index Term Link )
 
 point -- graphics interface ( Index Term Link )
 
 pop a thread cancellation cleanup handler -- pthread_cleanup_pop ( Index Term Link )
 
 popen -- initiate pipe to/from a process ( Index Term Link )
 
 pow -- power function ( Index Term Link )
 
 power function -- pow ( Index Term Link )
 
 preemption control
  -- schedctl_exit ( Index Term Link )
  -- schedctl_init ( Index Term Link )
  -- schedctl_lookup ( Index Term Link )
  -- schedctl_start ( Index Term Link )
  -- schedctl_stop ( Index Term Link )
 
 prefresh -- create and display curses pads ( Index Term Link )
 
 prefresh -- create or refresh a pad or subpad ( Index Term Link )
 
 print formatted output
  -- fprintf ( Index Term Link )
  -- printf ( Index Term Link )
  -- snprintf ( Index Term Link )
  -- sprintf ( Index Term Link )
 
 print formatted output of a variable argument list
  -- vfprintf ( Index Term Link )
  -- vprintf ( Index Term Link )
  -- vsnprintf ( Index Term Link )
  -- vsprintf ( Index Term Link )
 
 print formatted wide-character output
  -- fwprintf ( Index Term Link )
  -- swprintf ( Index Term Link )
  -- wprintf ( Index Term Link )
 
 printf -- formatted output conversion ( Index Term Link )
 
 printf -- print formatted output ( Index Term Link )
 
 printw -- write formatted output to window ( Index Term Link )
 
 probe insertion interface
  -- TNF_DEBUG ( Index Term Link )
  -- TNF_PROBE_0 ( Index Term Link )
  -- TNF_PROBE_1 ( Index Term Link )
  -- TNF_PROBE_2 ( Index Term Link )
  -- TNF_PROBE_3 ( Index Term Link )
  -- TNF_PROBE_4 ( Index Term Link )
  -- TNF_PROBE_5 ( Index Term Link )
  -- TNF_PROBE_0_DEBUG ( Index Term Link )
  -- TNF_PROBE_1_DEBUG ( Index Term Link )
  -- TNF_PROBE_2_DEBUG ( Index Term Link )
  -- TNF_PROBE_3_DEBUG ( Index Term Link )
  -- TNF_PROBE_4_DEBUG ( Index Term Link )
  -- TNF_PROBE_5_DEBUG ( Index Term Link )
 
 proc_service -- process service interfaces ( Index Term Link )
  SPARC ( Index Term Link ) ( Index Term Link )
  x86 ( Index Term Link ) ( Index Term Link )
 
 Process Code string operations -- wstring ( Index Term Link )
 
 Process Code string operations -- wscasecmp, wscasecmp ( Index Term Link )
 
 Process Code string operations -- wscol, wscol ( Index Term Link )
 
 Process Code string operations -- wsdup, wsdup ( Index Term Link )
 
 Process Code string operations -- wsncasecmp, wsncasecmp ( Index Term Link )
 
 process and LWP control in libthread_db
  -- ps_kill ( Index Term Link )
  -- ps_lcontinue ( Index Term Link )
  -- ps_lrolltoaddr ( Index Term Link )
  -- ps_lstop ( Index Term Link )
  -- ps_pcontinue ( Index Term Link )
  -- ps_pstop ( Index Term Link )
 
 process service interfaces -- proc_service ( Index Term Link )
 
 process statistics, prepare execution profile -- monitor ( Index Term Link )
 
 processes
  change priority -- nice ( Index Term Link )
  duplicate an open file descriptor -- dup2 ( Index Term Link )
  generate path name for controlling terminal -- ctermid, ctermid_r ( Index Term Link )
  get character-string representation -- cuserid ( Index Term Link )
  initiate pipe to/from a process -- popen, pclose ( Index Term Link )
  manipulate user contexts -- makecontext, swapcontext ( Index Term Link )
  memory lock or unlock -- plock ( Index Term Link )
  prepare execution profile -- monitor ( Index Term Link )
  report CPU time used -- clock ( Index Term Link )
  send signal to a process group -- killpg ( Index Term Link )
  send signal to program -- raise ( Index Term Link )
  set terminal foreground process group id -- tcsetpgrp ( Index Term Link )
  suspend execution for interval -- sleep ( Index Term Link )
  terminate process -- exit ( Index Term Link )
  terminate the process abnormally -- abort ( Index Term Link )
  wait for process to terminate or stop -- WIFEXITED ( Index Term Link )
  wait for process to terminate or stop -- WIFSIGNALED ( Index Term Link )
  wait for process to terminate or stop -- WIFSTOPPED ( Index Term Link )
  wait for process to terminate or stop -- wait ( Index Term Link )
 
 profiling utilities, prepare process execution profile -- monitor ( Index Term Link )
 
 program assertion, verify -- assert ( Index Term Link )
 
 program messages
  open/close a message catalog -- catopen, catclose ( Index Term Link )
  read -- catgets ( Index Term Link )
 
 programs, last locations -- end, etext, edata ( Index Term Link )
 
 provide a transient program number, -- reg_ci_callback ( Index Term Link )
 
 ps_kill -- process and LWP control in libthread_db ( Index Term Link )
 
 ps_lcontinue -- process and LWP control in libthread_db ( Index Term Link )
 
 ps_lgetfpregs -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lgetregs -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lgetxregs -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lgetxregsize -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lrolltoaddr -- process and LWP control in libthread_db ( Index Term Link )
 
 ps_lsetfpregs -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lsetregs -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lsetxregs -- routines that access the target process register in libthread_db ( Index Term Link )
 
 ps_lstop -- process and LWP control in libthread_db ( Index Term Link )
 
 ps_pcontinue -- process and LWP control in libthread_db ( Index Term Link )
 
 ps_pdread -- interfaces in libthread_db that target process memory access ( Index Term Link )
 
 ps_pdwrite -- interfaces in libthread_db that target process memory access ( Index Term Link )
 
 ps_pglobal_lookup -- look up a symbol in the symbol table of the load object in the target process ( Index Term Link )
 
 ps_pglobal_sym -- look up a symbol in the symbol table of the load object in the target process ( Index Term Link )
 
 ps_pstop -- process and LWP control in libthread_db ( Index Term Link )
 
 ps_ptread -- interfaces in libthread_db that target process memory access ( Index Term Link )
 
 ps_ptwrite -- interfaces in libthread_db that target process memory access ( Index Term Link )
 
 pseudo-terminal device
  get name of the slave pseudo-terminal device -- ptsname ( Index Term Link )
  grant access to the slave pseudo-terminal device -- grantpt ( Index Term Link )
 
 pseudorandom number functions
  -- initstate ( Index Term Link )
  -- random ( Index Term Link )
  -- setstate ( Index Term Link )
  -- srandom ( Index Term Link )
 
 psiginfo -- system signal messages ( Index Term Link )
 
 psignal -- system signal messages ( Index Term Link ) ( Index Term Link )
 
 pthread_atfork -- register fork handlers ( Index Term Link )
 
 pthread_attr_destroy -- initialize and destroy threads attribute object ( Index Term Link )
 
 pthread_attr_getdetachstate -- get or set detachstate attribute ( Index Term Link )
 
 pthread_attr_getguardsize -- get or set the thread guardsize attribute ( Index Term Link )
 
 pthread_attr_getinheritsched -- get or set inheritsched attribute ( Index Term Link )
 
 pthread_attr_getschedparam -- get or set schedparam attribute ( Index Term Link )
 
 pthread_attr_getschedpolicy -- get or set schedpolicy attribute ( Index Term Link )
 
 pthread_attr_getscope -- get or set contentionscope attribute ( Index Term Link )
 
 pthread_attr_getstackaddr -- get or set stackaddr attribute ( Index Term Link )
 
 pthread_attr_getstacksize -- get or set stacksize attribute ( Index Term Link )
 
 pthread_attr_init -- initialize and destroy threads attribute object ( Index Term Link )
 
 pthread_attr_setdetachstate -- get or set detachstate attribute ( Index Term Link )
 
 pthread_attr_setguardsize -- get or set the thread guardsize attribute ( Index Term Link )
 
 pthread_attr_setinheritsched -- get or set inheritsched attribute ( Index Term Link )
 
 pthread_attr_setschedparam -- get or set schedparam attribute ( Index Term Link )
 
 pthread_attr_setschedpolicy -- get or set schedpolicy attribute ( Index Term Link )
 
 pthread_attr_setscope -- get or set contentionscope attribute ( Index Term Link )
 
 pthread_attr_setstackaddr -- get or set stackaddr attribute ( Index Term Link )
 
 pthread_attr_setstacksize -- get or set stacksize attribute ( Index Term Link )
 
 pthread_cleanup_pop -- pop a thread cancellation cleanup handler ( Index Term Link )
 
 pthread_cleanup_push -- push a thread cancellation cleanup handler ( Index Term Link )
 
 pthread_cond_broadcast -- signal or broadcast a condition ( Index Term Link )
 
 pthread_cond_destroy -- initialize or destroy condition variables ( Index Term Link )
 
 pthread_cond_init -- initialize or destroy condition variables ( Index Term Link )
 
 pthread_cond_signal -- signal or broadcast a condition ( Index Term Link )
 
 pthread_cond_timedwait -- wait on a condition ( Index Term Link )
 
 pthread_cond_wait -- wait on a condition ( Index Term Link )
 
 pthread_condattr_destroy -- initialize or destroy condition variable attributes object ( Index Term Link )
 
 pthread_condattr_getpshared -- get or set the process-shared condition variable attributes ( Index Term Link )
 
 pthread_condattr_init -- initialize or destroy condition variable attributes object ( Index Term Link )
 
 pthread_condattr_setpshared -- get or set the process-shared condition variable attributes ( Index Term Link )
 
 pthread_create -- create a thread ( Index Term Link )
 
 pthread_detach -- detach a thread ( Index Term Link )
 
 pthread_equal -- compare thread IDs ( Index Term Link )
 
 pthread_exit -- terminate calling thread ( Index Term Link )
 
 pthread_getconcurrency -- get or set level of concurrency ( Index Term Link )
 
 pthread_getschedparam -- access dynamic thread scheduling parameters ( Index Term Link )
 
 pthread_getspecific -- manage thread-specific data ( Index Term Link )
 
 pthread_join -- wait for thread termination ( Index Term Link )
 
 pthread_key_create -- create thread-specific data key ( Index Term Link ) ( Index Term Link )
 
 pthread_key_delete -- delete thread-specific data key ( Index Term Link )
 
 pthread_mutex_destroy -- initialize or destroy a mutex ( Index Term Link )
 
 pthread_mutex_getprioceiling -- change the priority ceiling of a mutex ( Index Term Link )
 
 pthread_mutex_init -- initialize or destroy a mutex ( Index Term Link )
 
 pthread_mutex_lock -- lock or unlock a mutex ( Index Term Link )
 
 pthread_mutex_setprioceiling -- change the priority ceiling of a mutex ( Index Term Link )
 
 pthread_mutex_trylock -- lock or unlock a mutex ( Index Term Link )
 
 pthread_mutex_unlock -- lock or unlock a mutex ( Index Term Link )
 
 pthread_mutexattr_destroy -- initialize and destroy mutex attributes object ( Index Term Link )
 
 pthread_mutexattr_getprioceiling -- get and set prioceiling attribute of mutex attribute object ( Index Term Link )
 
 pthread_mutexattr_getprotocol -- get and set protocol attribute of mutex attribute object ( Index Term Link )
 
 pthread_mutexattr_getpshared -- get and set process-shared attribute ( Index Term Link )
 
 pthread_mutexattr_gettype -- get or set a mutex type ( Index Term Link )
 
 pthread_mutexattr_init -- initialize and destroy mutex attributes object ( Index Term Link )
 
 pthread_mutexattr_setprioceiling -- get and set prioceiling attribute of mutex attribute object ( Index Term Link )
 
 pthread_mutexattr_setprotocol -- get and set protocol attribute of mutex attribute object ( Index Term Link )
 
 pthread_mutexattr_setpshared -- get and set process-shared attribute ( Index Term Link )
 
 pthread_mutexattr_settype -- get or set a mutex type ( Index Term Link )
 
 pthread_once -- initialize dynamic package ( Index Term Link )
 
 pthread_rwlock_destroy -- initialize or destroy a read-write lock object ( Index Term Link )
 
 pthread_rwlock_init -- initialize or destroy a read-write lock object ( Index Term Link )
 
 pthread_rwlock_rdlock -- lock or attempt to lock a read-write lock object for reading ( Index Term Link )
 
 pthread_rwlock_tryrdlock -- lock or attempt to lock a read-write lock object for reading ( Index Term Link )
 
 pthread_rwlock_trywrlock -- lock or attempt to lock a read-write lock object for writing ( Index Term Link )
 
 pthread_rwlock_unlock -- unlock a read-write lock object ( Index Term Link )
 
 pthread_rwlock_wrlock -- lock or attempt to lock a read-write lock object for writing ( Index Term Link )
 
 pthread_rwlockattr_destroy -- initialize and destroy read-write lock attributes object ( Index Term Link )
 
 pthread_rwlockattr_getpshared -- get and set process-shared attribute of read-write lock attributes object ( Index Term Link )
 
 pthread_rwlockattr_init -- initialize and destroy read-write lock attributes object ( Index Term Link )
 
 pthread_rwlockattr_setpshared -- get and set process-shared attribute of read-write lock attributes object ( Index Term Link )
 
 pthread_self -- get calling thread's ID ( Index Term Link )
 
 pthread_setcancelstate -- enable or disable cancellation ( Index Term Link )
 
 pthread_setcancelstate -- enabling or disabling cancellation ( Index Term Link )
 
 pthread_setcanceltype -- set the cancellation type of a thread ( Index Term Link )
 
 pthread_setconcurrency -- get or set level of concurrency ( Index Term Link )
 
 pthread_setschedparam -- access dynamic thread scheduling parameters ( Index Term Link )
 
 pthread_setspecific -- manage thread-specific data ( Index Term Link )
 
 pthread_sigmask -- change or examine calling thread's signal mask ( Index Term Link )
 
 pthread_testcancel -- create cancellation point in the calling thread. ( Index Term Link )
 
 ptsname -- get name of the slave pseudo-terminal device ( Index Term Link )
 
 publickey -- retrieve public or secret key ( Index Term Link )
 
 push a thread cancellation cleanup handler -- pthread_cleanup_push ( Index Term Link )
 
 push byte back into input stream -- ungetc ( Index Term Link )
 
 push character back onto the input queue
  -- unget_wch ( Index Term Link )
  -- ungetch ( Index Term Link )
 
 push wide-character code back into input stream -- ungetwc ( Index Term Link )
 
 put a byte on a stream
  -- fputc ( Index Term Link )
  -- putc ( Index Term Link )
  -- putc_unlocked ( Index Term Link )
  -- putchar ( Index Term Link )
  -- putchar_unlocked ( Index Term Link )
  -- putw ( Index Term Link )
 
 put wide character string on a stream -- fputws ( Index Term Link )
 
 putc -- put a byte on a stream ( Index Term Link )
 
 putc_unlocked -- put a byte on a stream ( Index Term Link )
 
 putchar -- put a byte on a stream ( Index Term Link )
 
 putchar_unlocked -- put a byte on a stream ( Index Term Link )
 
 putenv -- change or add value to environment ( Index Term Link )
 
 putmntent -- get mnttab file information ( Index Term Link )
 
 putp -- apply padding information and output string ( Index Term Link )
 
 putpwent -- write password file entry ( Index Term Link )
 
 putspent -- write shadow password file entry ( Index Term Link )
 
 pututline -- access utmp file entry ( Index Term Link )
 
 pututxline -- access utmpx file entry ( Index Term Link )
 
 putw -- put a byte on a stream ( Index Term Link )
 
 putwin -- read a window from, and write a window to, a file ( Index Term Link )
 
 putws -- convert a string of Process Code characters to EUC characters and put it on a stream ( Index Term Link )