The functions, macros, and data structures in the C library are described here in alphabetical order.
A ¦ B ¦ C ¦ D ¦ E ¦ F ¦ G ¦ H ¦ I ¦ J ¦ K ¦ L ¦ M ¦ N ¦ O ¦ P ¦ Q ¦ R ¦ S ¦ T ¦ U ¦ V ¦ W ¦ X ¦ Y ¦ Z
The following are described elsewhere:
For information about: | See: |
---|---|
PCI_IO_ADDR() | pci_attach_device() |
PCI_IS_IO() | pci_attach_device() |
PCI_IS_MEM() | pci_attach_device() |
PCI_MEM_ADDR() | pci_attach_device() |
PCI_ROM_ADDR() | pci_attach_device() |
PTHREAD_BARRIER_INITIALIZER() | pthread_barrier_init() |
This chapter describes the API components whose names begin with "P".
API component | Description |
---|---|
pathconf() | Return the value of a configurable limit |
pathfind(), pathfind_r() | Search for a file in a list of directories |
pathmgr_symlink() | Create a symlink |
pathmgr_unlink() | Remove a link |
pause() | Suspend the calling thread until delivery of a signal |
pccard_arm() | Arm the devp-pccard server |
pccard_attach() | Attach to the devp-pccard server |
pccard_detach() | Detach from the devp-pccard server |
pccard_info() | Obtain socket information from the devp-pccard server |
pccard_lock() | Lock the window of the card in the selected socket |
pccard_raw_read() | Read the raw CIS data from the PC Card |
pccard_unlock() | Unlock the window of the card in the selected socket |
pci_attach() | Connect to the PCI server |
pci_attach_device() | Attach a driver to a PCI device |
pci_detach() | Disconnect from the PCI server |
pci_detach_device() | Detach a driver from a PCI device |
pci_find_class() | Find devices that have a specific class code |
pci_find_device() | Find the PCI device with a given device ID and vendor ID |
pci_irq_routing_options() | Retrieve PCI IRQ routing information |
pci_map_irq() | Map an interrupt pin to an IRQ |
pci_present() | Determine whether or not PCI BIOS is present |
pci_read_config() | Read from the configuration space of a PCI device |
pci_read_config8() | Read a byte from the configuration space of a device |
pci_read_config16() | Read 16-bit values from the configuration space of a device |
pci_read_config32() | Read 32-bit values from the configuration space of a device |
pci_rescan_bus() | Rescan the PCI bus for added or removed devices |
pci_write_config() | Write to the configuration space of a PCI device |
pci_write_config8() | Write bytes to the configuration space of a PCI device |
pci_write_config16() | Write 16-bit values to the configuration space of a device |
pci_write_config32() | Write 32-bit values to the configuration space of a device |
pclose() | Close a pipe |
perror() | Print an error message associated with errno |
pipe() | Create a pipe |
poll() | Multiplex input/output over a set of file descriptors |
popen() | Execute a command, creating a pipe to it |
posix_fadvise(), posix_fadvise64() | Provide advisory information about the expected use of a file |
posix_fallocate(), posix_fallocate64() | Allocate space for a file on the filesystem |
posix_madvise() | Provide advisory information about the expected use of memory |
posix_mem_offset(), posix_mem_offset64() | Get the offset and length of a mapped memory block |
posix_memalign() | Allocate aligned memory |
posix_openpt() | Open a pseudo-terminal device |
posix_spawn(), posix_spawnp() | Spawn a process |
posix_spawn_file_actions_addclose() | Add a "close a file descriptor" action to a spawn file actions object |
posix_spawn_file_actions_adddup2() | Add a "duplicate a file descriptor" action to a spawn file actions object |
posix_spawn_file_actions_addopen() | Add an "open a file" action to a spawn file action object |
posix_spawn_file_actions_destroy() | Destroy a spawn file actions object |
posix_spawn_file_actions_init() | Initialize a spawn file actions object |
posix_spawnattr_addpartid() | Specify the ID of a resource partition that the spawned process should be associated with |
posix_spawnattr_addpartition() | Specify the name of a resource partition that the spawned process should be associated with |
posix_spawnattr_destroy() | Destroy a spawn attributes object |
posix_spawnattr_getcred() | Get the user and group ID attributes from a spawn attributes object |
posix_spawnattr_getflags() | Get the POSIX flags from a spawn attributes object |
posix_spawnattr_getnode() | Get the remote node attribute from a spawn attributes object |
posix_spawnattr_getpartid() | Retrieve the partition identifiers currently set in a spawn attributes object |
posix_spawnattr_getpgroup() | Get the process group attribute of a spawn attributes object |
posix_spawnattr_getrunmask() | Get the runmask attribute from a spawn attributes object |
posix_spawnattr_getschedparam() | Get the scheduling parameters attribute of a spawn attributes object |
posix_spawnattr_getschedpolicy() | Get the scheduling policy attribute of a spawn attributes object |
posix_spawnattr_getsigdefault() | Get the "default signals" attribute of a spawn attributes object |
posix_spawnattr_getsigignore() | Get the "ignored signals" attribute from a spawn attributes object |
posix_spawnattr_getsigmask() | Get the signal mask attribute of a spawn attributes object |
posix_spawnattr_getstackmax() | Get the maximum stack size attribute from a spawn attributes object |
posix_spawnattr_getxflags() | Get the POSIX flags and the QNX Neutrino extended flags from a spawn attributes object |
posix_spawnattr_init() | Initialize a spawn attributes object |
posix_spawnattr_setcred() | Set the user and group ID attributes in a spawn attributes object |
posix_spawnattr_setflags() | Set the POSIX flags in a spawn attributes object |
posix_spawnattr_setnode() | Set the remote node attribute in a spawn attributes object |
posix_spawnattr_setpgroup() | Set the process group attribute in a spawn attributes object |
posix_spawnattr_setrunmask() | Set the runmask attribute in a spawn attributes object |
posix_spawnattr_setschedparam() | Set the scheduling parameters attribute of a spawn attributes object |
posix_spawnattr_setschedpolicy() | Set the scheduling policy attribute of a spawn attributes object |
posix_spawnattr_setsigdefault() | Set the "default signals" attribute of a spawn attributes object |
posix_spawnattr_setsigignore() | Set the "ignored signals" attribute of a spawn attributes object |
posix_spawnattr_setsigmask() | Set the signal mask attribute of a spawn attributes object |
posix_spawnattr_setstackmax() | Set the maximum stack size attribute in a spawn attributes object |
posix_spawnattr_setxflags() | Set the POSIX flags and the QNX Neutrino extended flags in a spawn attributes object |
posix_typed_mem_get_info() | Get information about a typed memory object |
posix_typed_mem_open() | Open a typed memory object |
pow(), powf(), powl() | Raise a number to a given power |
pread(), pread64() | Read from a file without moving the file pointer |
printf() | Write formatted output to stdout |
procmgr_ability() | Control a process's ability to perform certain operations |
procmgr_daemon() | Run a process in the background |
procmgr_event_notify() | Ask to be notified of system-wide events |
procmgr_event_notify_add() | Add a request to be notified of system-wide events |
procmgr_event_notify_delete() | Delete a request to be notified of system-wide events |
procmgr_event_trigger() | Trigger a system-wide event |
procmgr_guardian() | Let a daemon process take over as a parent |
procmgr_session() | Provide process manager session support |
procmgr_timer_tolerance() | Get or set the default timer tolerance for a process |
procmgr_value_current() | Get the current value of an item being monitored |
procmgr_value_notify_add() | Add an event to be triggered when a monitored value crosses a trigger point |
__progname | The basename of the program being executed |
protoent | Structure for information from the protocol database |
pthread_abort() | Unconditionally terminate the target thread |
pthread_atfork() | Register fork handlers |
pthread_attr_destroy() | Destroy a thread-attribute object |
pthread_attr_getdetachstate() | Get thread detach state attribute |
pthread_attr_getguardsize() | Get the size of the thread's guard area |
pthread_attr_getinheritsched() | Get a thread's inherit-scheduling attribute |
pthread_attr_getschedparam() | Get thread scheduling parameters attribute |
pthread_attr_getschedpolicy() | Get thread scheduling policy attribute |
pthread_attr_getscope() | Get thread contention scope attribute |
pthread_attr_getstack() | Get the thread-creation stack attributes |
pthread_attr_getstackaddr() | Get thread stack address attribute |
pthread_attr_getstacklazy() | Get the thread lazy-stack attribute |
pthread_attr_getstackprealloc() | Get the amount of memory to preallocate for a thread's MAP_LAZY stack |
pthread_attr_getstacksize() | Get the thread stack-size attribute |
pthread_attr_init() | Initialize a thread-attribute object |
pthread_attr_setdetachstate() | Set thread detach state attribute |
pthread_attr_setguardsize() | Set the size of the thread's guard area |
pthread_attr_setinheritsched() | Set a thread's inherit-scheduling attribute |
pthread_attr_setschedparam() | Set a thread's scheduling parameters attribute |
pthread_attr_setschedpolicy() | Set the thread scheduling policy attribute |
pthread_attr_setscope() | Set thread contention scope attribute |
pthread_attr_setstack() | Set the thread-creation stack attributes |
pthread_attr_setstackaddr() | Set the thread stack address attribute |
pthread_attr_setstacklazy() | Set the thread lazy-stack attribute |
pthread_attr_setstackprealloc() | Set the amount of memory to preallocate for a thread's MAP_LAZY stack |
pthread_attr_setstacksize() | Set the thread stack-size attribute |
pthread_barrier_destroy() | Destroy a barrier object |
pthread_barrier_init() | Initialize a barrier object |
pthread_barrier_wait() | Synchronize participating threads at the barrier |
pthread_barrierattr_destroy() | Destroy a barrier-attributes object |
pthread_barrierattr_getpshared() | Get the value of a barrier's process-shared attribute |
pthread_barrierattr_init() | Initialize a barrier attributes object |
pthread_barrierattr_setpshared() | Set the value of a barrier's process-shared attribute |
pthread_cancel() | Cancel a thread |
pthread_cleanup_pop() | Pop a function off of a thread's cancellation-cleanup stack |
pthread_cleanup_push() | Push a function onto a thread's cancellation-cleanup stack |
pthread_cond_broadcast() | Unblock threads waiting on condition |
pthread_cond_destroy() | Destroy condition variable |
pthread_cond_init() | Initialize a condition variable |
pthread_cond_signal() | Unblock a thread that's waiting on a condition variable |
pthread_cond_timedwait() | Wait on a condition variable, with a time limit |
pthread_cond_wait() | Wait on condition variable |
pthread_condattr_destroy() | Destroy a condition-variable attribute object |
pthread_condattr_getclock() | Get the clock attribute from a condition-variable attribute object |
pthread_condattr_getpshared() | Get the process-shared attribute from a condition variable attribute object |
pthread_condattr_init() | Initialize the attribute object for creating condition variables |
pthread_condattr_setclock() | Set the clock attribute of a condition-variable attribute object |
pthread_condattr_setpshared() | Set the process-shared attribute in a condition variable attribute object |
pthread_create() | Create a thread |
pthread_detach() | Detach a thread from a process |
pthread_equal() | Compare two thread IDs |
pthread_exit() | Terminate a thread |
pthread_getconcurrency() | Get the level of thread concurrency |
pthread_getcpuclockid() | Return the clock ID of the CPU-time clock from a specified thread |
pthread_getname_np() | Retrieve the name of a thread |
pthread_getschedparam() | Get a thread's scheduling parameters |
pthread_getspecific() | Get a thread-specific data value |
pthread_join() | Join thread |
pthread_key_create() | Create a thread-specific data key |
pthread_key_delete() | Delete a thread-specific data key |
pthread_kill() | Send a signal to a thread |
pthread_mutex_destroy() | Destroy a mutex |
pthread_mutex_getprioceiling() | Get a mutex's priority ceiling |
pthread_mutex_init() | Initialize mutex |
pthread_mutex_lock() | Lock a mutex |
pthread_mutex_setprioceiling() | Set a mutex's priority ceiling |
pthread_mutex_timedlock(), pthread_mutex_timedlock_monotonic() | Attempt to lock a mutex |
pthread_mutex_trylock() | Attempt to lock a mutex |
pthread_mutex_unlock() | Unlock mutex |
pthread_mutex_wakeup_np() | Unblock any threads that are waiting on a mutex |
pthread_mutexattr_destroy() | Destroy mutex attribute object |
pthread_mutexattr_getprioceiling() | Get the priority ceiling of a mutex attribute object |
pthread_mutexattr_getprotocol() | Get a mutex's scheduling protocol |
pthread_mutexattr_getpshared() | Get the process-shared attribute from a mutex attribute object |
pthread_mutexattr_getrecursive() | Get the recursive attribute from a mutex attribute object |
pthread_mutexattr_gettype() | Get a mutex type |
pthread_mutexattr_getwakeup_np() | Get the wake-up attribute of a mutex |
pthread_mutexattr_init() | Initialize a mutex attribute object |
pthread_mutexattr_setprioceiling() | Set the priority ceiling of a mutex attribute object |
pthread_mutexattr_setprotocol() | Set a mutex's scheduling protocol |
pthread_mutexattr_setpshared() | Set the process-shared attribute in mutex attribute object |
pthread_mutexattr_setrecursive() | Set the recursive attribute in mutex attribute object |
pthread_mutexattr_settype() | Set a mutex type |
pthread_mutexattr_setwakeup_np() | Set the wake-up attribute of a mutex |
pthread_once() | Dynamic package initialization |
pthread_rwlock_destroy() | Destroy a read-write lock |
pthread_rwlock_init() | Initialize a read-write lock |
pthread_rwlock_rdlock() | Acquire a shared read lock on a read-write lock |
pthread_rwlock_timedrdlock() | Lock a read-write lock for reading |
pthread_rwlock_timedwrlock() | Lock a read-write lock for writing |
pthread_rwlock_tryrdlock() | Attempt to acquire a shared lock on a read-write lock |
pthread_rwlock_trywrlock() | Attempt to acquire an exclusive lock on a read-write lock |
pthread_rwlock_unlock() | Unlock a read-write lock |
pthread_rwlock_wrlock() | Acquire an exclusive write lock on a read-write lock |
pthread_rwlockattr_destroy() | Destroy a read-write lock attribute object |
pthread_rwlockattr_getpshared() | Get the process-shared attribute of a read-write lock attribute object |
pthread_rwlockattr_init() | Create a read-write lock attribute object |
pthread_rwlockattr_setpshared() | Set the process-shared attribute of a read-write lock attribute object |
pthread_self() | Get the calling thread's ID |
pthread_setcancelstate() | Set a thread's cancellation state |
pthread_setcanceltype() | Set a thread's cancellation type |
pthread_setconcurrency() | Set the concurrency level for a thread |
pthread_setname_np() | Name a thread |
pthread_setschedparam() | Set thread scheduling parameters |
pthread_setschedprio() | Set a thread's priority |
pthread_setspecific() | Set a thread-specific data value |
pthread_sigmask() | Examine and change blocked signals |
pthread_sleepon_broadcast() | Unblock waiting threads |
pthread_sleepon_lock() | Lock the pthread_sleepon* functions |
pthread_sleepon_signal() | Signal a sleeping thread |
pthread_sleepon_timedwait() | Make a thread sleep while waiting |
pthread_sleepon_unlock() | Unlock the pthread_sleepon*() functions |
pthread_sleepon_wait() | Make a thread sleep while waiting |
pthread_spin_destroy() | Destroy a thread spinlock |
pthread_spin_init() | Initialize a thread spinlock |
pthread_spin_lock() | Lock a thread spinlock |
pthread_spin_trylock() | Try to lock a thread spinlock |
pthread_spin_unlock() | Unlock a thread spinlock |
pthread_testcancel() | Test thread cancellation |
pthread_timedjoin(), pthread_timedjoin_monotonic() | Join a thread, with a time limit |
ptsname() | Get the name of a slave pseudo-terminal device |
ptsname_r() | Get the name of a slave pseudo-terminal device |
_pulse | Structure that describes a pulse |
pulse_attach() | Attach a handler function to a pulse code |
pulse_detach() | Detach a handler function from a pulse code |
putc() | Write a character to a stream |
putc_unlocked() | Write a character to an output stream |
putchar() | Write a character to standard output |
putchar_unlocked() | Write a character to stdout |
putenv() | Add, change or delete an environment variable |
puts() | Write a string to stdout |
putspent() | Put an entry into the shadow password database |
pututline() | Write an entry in the user-information file |
putw() | Put a word on a stream |
putwc() | Write a wide character to a stream |
putwchar() | Write a wide character to a stdout |
pwrite(), pwrite64() | Write into a file without changing the file pointer |