id
stringlengths
4
63
text
stringlengths
153
8.81M
pthread_mutexattr_getkind_np(3)
NAME pthread_mutexattr_setkind_np, pthread_mutexattr_getkind_np - deprecated mutex creation attributes SYNOPSIS #include <pthread.h> int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind); int pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, ...
pthread_mutexattr_getprioceiling(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_getprioceiling, pthread_mutexattr_setprioceil...
pthread_mutexattr_getprotocol(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_getprotocol, pthread_mutexattr_setprotocol — ...
pthread_mutexattr_getpshared(3)
NAME pthread_mutexattr_getpshared, pthread_mutexattr_setpshared - get/set process-shared mutex attribute LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_getpshared( const pthread_mutexattr_t *restrict attr, ...
pthread_mutexattr_getpshared(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_getpshared, pthread_mutexattr_setpshared — ge...
pthread_mutexattr_getrobust(3)
NAME pthread_mutexattr_getrobust, pthread_mutexattr_setrobust - get and set the robustness attribute of a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr, ...
pthread_mutexattr_getrobust(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_getrobust, pthread_mutexattr_setrobust — get ...
pthread_mutexattr_getrobust_np(3)
NAME pthread_mutexattr_getrobust, pthread_mutexattr_setrobust - get and set the robustness attribute of a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr, ...
pthread_mutexattr_gettype(3)
NAME pthread_mutexattr_init, pthread_mutexattr_destroy - initialize and destroy a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_init(pthread_mutexattr_t *attr); int pthread_mutexattr_destroy(pthread_mutexattr_t *attr); ...
pthread_mutexattr_gettype(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_gettype, pthread_mutexattr_settype — get and ...
pthread_mutexattr_init(3)
NAME pthread_mutexattr_init, pthread_mutexattr_destroy - initialize and destroy a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_init(pthread_mutexattr_t *attr); int pthread_mutexattr_destroy(pthread_mutexattr_t *attr); ...
pthread_mutexattr_init(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_init — initialize the mutex attributes object...
pthread_mutexattr_setkind_np(3)
NAME pthread_mutexattr_setkind_np, pthread_mutexattr_getkind_np - deprecated mutex creation attributes SYNOPSIS #include <pthread.h> int pthread_mutexattr_setkind_np(pthread_mutexattr_t *attr, int kind); int pthread_mutexattr_getkind_np(const pthread_mutexattr_t *attr, ...
pthread_mutexattr_setprioceiling(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_setprioceiling — set the prioceiling attribut...
pthread_mutexattr_setprotocol(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_setprotocol — set the protocol attribute of t...
pthread_mutexattr_setpshared(3)
NAME pthread_mutexattr_getpshared, pthread_mutexattr_setpshared - get/set process-shared mutex attribute LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_getpshared( const pthread_mutexattr_t *restrict attr, ...
pthread_mutexattr_setpshared(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_setpshared — set the process-shared attribute...
pthread_mutexattr_setrobust(3)
NAME pthread_mutexattr_getrobust, pthread_mutexattr_setrobust - get and set the robustness attribute of a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr, ...
pthread_mutexattr_setrobust(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_setrobust — get and set the mutex robust attr...
pthread_mutexattr_setrobust_np(3)
NAME pthread_mutexattr_getrobust, pthread_mutexattr_setrobust - get and set the robustness attribute of a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_getrobust(const pthread_mutexattr_t *attr, ...
pthread_mutexattr_settype(3)
NAME pthread_mutexattr_init, pthread_mutexattr_destroy - initialize and destroy a mutex attributes object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_mutexattr_init(pthread_mutexattr_t *attr); int pthread_mutexattr_destroy(pthread_mutexattr_t *attr); ...
pthread_mutexattr_settype(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_mutexattr_settype — set the mutex type attribute SYNOP...
pthread_once(3)
NAME pthread_once - once-only initialization SYNOPSIS #include <pthread.h> pthread_once_t once_control = PTHREAD_ONCE_INIT; int pthread_once(pthread_once_t *once_control, typeof(void (void)) *init_routine; DESCRIPTION The purpose of pthread_once() is to ensure that a piece of initialization code is ex...
pthread_once(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_once — dynamic package initialization SYNOPSIS #includ...
pthread_rwlock_destroy(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_destroy, pthread_rwlock_init — destroy and initi...
pthread_rwlock_rdlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_rdlock, pthread_rwlock_tryrdlock — lock a read-w...
pthread_rwlock_timedrdlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_timedrdlock — lock a read-write lock for reading...
pthread_rwlock_timedwrlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_timedwrlock — lock a read-write lock for writing...
pthread_rwlock_tryrdlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_tryrdlock — lock a read-write lock object for re...
pthread_rwlock_trywrlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_trywrlock, pthread_rwlock_wrlock — lock a read-w...
pthread_rwlock_unlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_unlock — unlock a read-write lock object SYNOPS...
pthread_rwlock_wrlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlock_wrlock — lock a read-write lock object for writi...
pthread_rwlockattr_destroy(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlockattr_destroy, pthread_rwlockattr_init — destroy a...
pthread_rwlockattr_getkind_np(3)
NAME pthread_rwlockattr_setkind_np, pthread_rwlockattr_getkind_np - set/get the read-write lock kind of the thread read-write lock attribute object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *attr, ...
pthread_rwlockattr_getpshared(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlockattr_getpshared, pthread_rwlockattr_setpshared — ...
pthread_rwlockattr_init(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlockattr_init — initialize the read-write lock attrib...
pthread_rwlockattr_setkind_np(3)
NAME pthread_rwlockattr_setkind_np, pthread_rwlockattr_getkind_np - set/get the read-write lock kind of the thread read-write lock attribute object LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *attr, ...
pthread_rwlockattr_setpshared(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_rwlockattr_setpshared — set the process-shared attribut...
pthread_self(3)
NAME pthread_self - obtain ID of the calling thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> pthread_t pthread_self(void); DESCRIPTION The pthread_self() function returns the ID of the calling thread. This is the same value that is returned in *thread in the pthrea...
pthread_self(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_self — get the calling thread ID SYNOPSIS #include <pt...
pthread_setaffinity_np(3)
NAME pthread_setaffinity_np, pthread_getaffinity_np - set/get CPU affinity of a thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> int pthread_setaffinity_np(pthread_t thread, size_t cpusetsize, ...
pthread_setattr_default_np(3)
NAME pthread_getattr_default_np, pthread_setattr_default_np, - get or set default thread-creation attributes LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> int pthread_getattr_default_np(pthread_attr_t *attr)...
pthread_setcancelstate(3)
NAME pthread_setcancelstate, pthread_setcanceltype - set cancelability state and type LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_setcancelstate(int state, int *oldstate); int pthread_setcanceltype(int type, int *oldtype); DESCRIPTION The pthread_set...
pthread_setcancelstate(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_setcancelstate, pthread_setcanceltype, pthread_testcanc...
pthread_setcanceltype(3)
NAME pthread_setcancelstate, pthread_setcanceltype - set cancelability state and type LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_setcancelstate(int state, int *oldstate); int pthread_setcanceltype(int type, int *oldtype); DESCRIPTION The pthread_set...
pthread_setconcurrency(3)
NAME pthread_setconcurrency, pthread_getconcurrency - set/get the concurrency level LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_setconcurrency(int new_level); int pthread_getconcurrency(void); DESCRIPTION The pthread_setconcurrency() function info...
pthread_setconcurrency(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_setconcurrency — set the level of concurrency SYNOPSIS...
pthread_setname_np(3)
NAME pthread_setname_np, pthread_getname_np - set/get the name of a thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> int pthread_setname_np(pthread_t thread, const char *name); int pthread_getname...
pthread_setschedparam(3)
NAME pthread_setschedparam, pthread_getschedparam - set/get scheduling policy and parameters of a thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param)...
pthread_setschedparam(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_setschedparam — dynamic thread scheduling parameters ac...
pthread_setschedprio(3)
NAME pthread_setschedprio - set scheduling priority of a thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_setschedprio(pthread_t thread, int prio); DESCRIPTION The pthread_setschedprio() function sets the scheduling priority of the thread thread to the va...
pthread_setschedprio(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_setschedprio — dynamic thread scheduling parameters acc...
pthread_setspecific(3)
NAME pthread_key_create, pthread_key_delete, pthread_setspecific, pthread_getspecific - management of thread-specific data SYNOPSIS #include <pthread.h> int pthread_key_create(pthread_key_t *key, typeof(void (void *)) *destr_function; int pthread_key_delete(pthread_key_t ke...
pthread_setspecific(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_setspecific — thread-specific data management SYNOPSIS...
pthread_sigmask(3)
NAME pthread_sigmask - examine and change mask of blocked signals LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <signal.h> int pthread_sigmask(int how, const sigset_t *set, sigset_t *oldset); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): pthread_...
pthread_sigmask(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_sigmask, sigprocmask — examine and change blocked signa...
pthread_sigqueue(3)
NAME pthread_sigqueue - queue a signal and data to a thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <signal.h> #include <pthread.h> int pthread_sigqueue(pthread_t thread, int sig, const union sigval value); Feature Test Macro Requirements for gli...
pthread_spin_destroy(3)
NAME pthread_spin_init, pthread_spin_destroy - initialize or destroy a spin lock LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_spin_init(pthread_spinlock_t *lock, int pshared); int pthread_spin_destroy(pthread_spinlock_t *lock); Feature Test Macro R...
pthread_spin_destroy(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_spin_destroy, pthread_spin_init — destroy or initialize...
pthread_spin_init(3)
NAME pthread_spin_init, pthread_spin_destroy - initialize or destroy a spin lock LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_spin_init(pthread_spinlock_t *lock, int pshared); int pthread_spin_destroy(pthread_spinlock_t *lock); Feature Test Macro R...
pthread_spin_lock(3)
NAME pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock - lock and unlock a spin lock LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_spin_lock(pthread_spinlock_t *lock); int pthread_spin_trylock(pthread_spinlock_t *lock); int pthread_spi...
pthread_spin_lock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_spin_lock, pthread_spin_trylock — lock a spin lock obje...
pthread_spin_trylock(3)
NAME pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock - lock and unlock a spin lock LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_spin_lock(pthread_spinlock_t *lock); int pthread_spin_trylock(pthread_spinlock_t *lock); int pthread_spi...
pthread_spin_unlock(3)
NAME pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock - lock and unlock a spin lock LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> int pthread_spin_lock(pthread_spinlock_t *lock); int pthread_spin_trylock(pthread_spinlock_t *lock); int pthread_spi...
pthread_spin_unlock(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_spin_unlock — unlock a spin lock object SYNOPSIS #incl...
pthread_testcancel(3)
NAME pthread_testcancel - request delivery of any pending cancelation request LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #include <pthread.h> void pthread_testcancel(void); DESCRIPTION Calling pthread_testcancel() creates a cancelation point within the calling thread, so that a thread tha...
pthread_testcancel(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME pthread_testcancel — set cancelability state SYNOPSIS #include...
pthread_timedjoin_np(3)
NAME pthread_tryjoin_np, pthread_timedjoin_np - try to join with a terminated thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> int pthread_tryjoin_np(pthread_t thread, void **retval); int pthread_...
pthread_tryjoin_np(3)
NAME pthread_tryjoin_np, pthread_timedjoin_np - try to join with a terminated thread LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> int pthread_tryjoin_np(pthread_t thread, void **retval); int pthread_...
pthread_yield(3)
NAME pthread_yield - yield the processor LIBRARY POSIX threads library (libpthread, -lpthread) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <pthread.h> [[deprecated]] int pthread_yield(void); DESCRIPTION Note: This function is deprecated; see below. pthread_yield...
pthreads(7)
NAME pthreads - POSIX threads DESCRIPTION POSIX.1 specifies a set of interfaces (functions, header files) for threaded programming commonly known as POSIX threads, or Pthreads. A single process can contain multiple threads, all of which are executing the same program. These threads share the same global memory (d...
ptm_open_peer(9)
NAME ptm_open_peer - open the peer of a pty SYNOPSIS int ptm_open_peer (struct file *master , struct tty_struct *tty , int flags ); ARGUMENTS master the open struct file of the ptmx device node tty the master of the pty being opened flags the flags for open DESCRIPTION Provide a ra...
ptm_unix98_lookup(9)
NAME ptm_unix98_lookup - find a pty master SYNOPSIS struct tty_struct * ptm_unix98_lookup (struct tty_driver *driver , struct file *file , int idx ); ARGUMENTS driver ptm driver file unused idx tty index DESCRIPTION Look up a pty master device. Called under the tty_mutex for now. ...
ptmx(4)
NAME ptmx, pts - pseudoterminal master and slave DESCRIPTION The file /dev/ptmx (the pseudoterminal multiplexor device) is a character file with major number 5 and minor number 2, usually with mode 0666 and ownership root:root. It is used to create a pseudoterminal master and slave pair. When a process o...
ptmx_open(9)
NAME ptmx_open - open a unix 98 pty master SYNOPSIS int ptmx_open (struct inode *inode , struct file *filp ); ARGUMENTS inode inode of device file filp file pointer to tty DESCRIPTION Allocate a unix98 pty master device from the ptmx driver. Locking: tty_mutex protects the init_dev work. tty->c...
ptp_cancel_worker_sync(9)
NAME ptp_cancel_worker_sync - cancel ptp auxiliary clock SYNOPSIS void ptp_cancel_worker_sync (struct ptp_clock *ptp ); ARGUMENTS ptp The clock obtained from ptp_clock_register. SEE ALSO Kernel file ./include/linux/ptp_clock_kernel.h struct ptp_clock_request(9), struct ptp_system_timestamp(9), struct ...
ptp_check_diff8(9)
NAME ptp_check_diff8 - Computes new checksum (when altering a 64-bit field) SYNOPSIS __wsum ptp_check_diff8 (__be64 old , __be64 new , __wsum oldsum ); ARGUMENTS old old field value new new field value oldsum previous checksum DESCRIPTION This function can be used to calculate a ...
ptp_classify_raw(9)
NAME ptp_classify_raw - classify a PTP packet SYNOPSIS unsigned int ptp_classify_raw (const struct sk_buff *skb ); ARGUMENTS skb buffer DESCRIPTION Runs a minimal BPF dissector to classify a network packet to determine the PTP class. In case the skb does not contain any PTP protocol data, PTP_C...
ptp_clock_event(9)
NAME ptp_clock_event - notify the PTP layer about an event SYNOPSIS void ptp_clock_event (struct ptp_clock *ptp , struct ptp_clock_event *event ); ARGUMENTS ptp The clock obtained from ptp_clock_register. event Message structure describing the event. SEE ALSO Kernel file ./include/linux/ptp_c...
ptp_clock_index(9)
NAME ptp_clock_index - obtain the device index of a PTP clock SYNOPSIS int ptp_clock_index (struct ptp_clock *ptp ); ARGUMENTS ptp The clock obtained from ptp_clock_register. SEE ALSO Kernel file ./include/linux/ptp_clock_kernel.h struct ptp_clock_request(9), struct ptp_system_timestamp(9), struct pt...
ptp_clock_index_by_dev(9)
NAME ptp_clock_index_by_dev - obtain the device index of a PTP clock based on the PTP device. SYNOPSIS int ptp_clock_index_by_dev (struct device *parent ); ARGUMENTS parent The parent device (PTP device) pointer of the PTP clock. RETURN The PHC index on success or -1 on failure. SEE ALSO Kernel file ./includ...
ptp_clock_index_by_of_node(9)
NAME ptp_clock_index_by_of_node - obtain the device index of a PTP clock based on the PTP device of_node SYNOPSIS int ptp_clock_index_by_of_node (struct device_node *np ); ARGUMENTS np The device of_node pointer of the PTP device. RETURN The PHC index on success or -1 on failure. SEE ALSO Kernel file ./i...
ptp_clock_register(9)
NAME ptp_clock_register - register a PTP hardware clock driver SYNOPSIS struct ptp_clock * ptp_clock_register (struct ptp_clock_info *info , struct device *parent ); ARGUMENTS info Structure describing the new clock. parent Pointer to the parent device of the new clock. RETURN a valid pointer on ...
ptp_clock_unregister(9)
NAME ptp_clock_unregister - unregister a PTP hardware clock driver SYNOPSIS int ptp_clock_unregister (struct ptp_clock *ptp ); ARGUMENTS ptp The clock to remove from service. SEE ALSO Kernel file ./include/linux/ptp_clock_kernel.h struct ptp_clock_request(9), struct ptp_system_timestamp(9), struct pt...
ptp_convert_timestamp(9)
NAME ptp_convert_timestamp - convert timestamp to a ptp vclock time SYNOPSIS ktime_t ptp_convert_timestamp (const ktime_t *hwtstamp , int vclock_index ); ARGUMENTS hwtstamp timestamp vclock_index phc index of ptp vclock. RETURN converted timestamp, or 0 on error. SEE ALSO Kernel file ...
ptp_find_pin(9)
NAME ptp_find_pin - obtain the pin index of a given auxiliary function SYNOPSIS int ptp_find_pin (struct ptp_clock *ptp , enum ptp_pin_function func , unsigned int chan ); ARGUMENTS ptp The clock obtained from ptp_clock_register. func One of the ptp_pin_function enumerated values. chan ...
ptp_find_pin_unlocked(9)
NAME ptp_find_pin_unlocked - wrapper for ptp_find_pin() SYNOPSIS int ptp_find_pin_unlocked (struct ptp_clock *ptp , enum ptp_pin_function func , unsigned int chan ); ARGUMENTS ptp The clock obtained from ptp_clock_register. func One of the ptp_pin_function enumerated values. chan ...
ptp_get_msgtype(9)
NAME ptp_get_msgtype - Extract ptp message type from given header SYNOPSIS u8 ptp_get_msgtype (const struct ptp_header *hdr , unsigned int type ); ARGUMENTS hdr ptp header type type of the packet (see ptp_classify_raw) DESCRIPTION This function returns the message type for a given ptp header. ...
ptp_get_vclocks_index(9)
NAME ptp_get_vclocks_index - get all vclocks index on pclock, and caller is responsible to free memory of vclock_index SYNOPSIS int ptp_get_vclocks_index (int pclock_index , int **vclock_index ); ARGUMENTS pclock_index phc index of ptp pclock. vclock_index pointer to pointer of vclock index...
ptp_header_update_correction(9)
NAME ptp_header_update_correction - Update PTP header's correction field SYNOPSIS void ptp_header_update_correction (struct sk_buff *skb , unsigned int type , struct ptp_header *hdr , s64 correction ); ARGUMENTS skb packet buffer type type of the packet (see ptp_classify_raw) hdr ...
ptp_msg_is_sync(9)
NAME ptp_msg_is_sync - Evaluates whether the given skb is a PTP Sync message SYNOPSIS bool ptp_msg_is_sync (struct sk_buff *skb , unsigned int type ); ARGUMENTS skb packet buffer type type of the packet (see ptp_classify_raw) DESCRIPTION This function evaluates whether the given skb is a PTP S...
ptp_parse_header(9)
NAME ptp_parse_header - Get pointer to the PTP v2 header SYNOPSIS struct ptp_header * ptp_parse_header (struct sk_buff *skb , unsigned int type ); ARGUMENTS skb packet buffer type type of the packet (see ptp_classify_raw) DESCRIPTION This function takes care of the VLAN, UDP, IPv4 and IPv6 hea...
ptp_qoriq_auto_config(9)
NAME ptp_qoriq_auto_config - calculate a set of default configurations SYNOPSIS int ptp_qoriq_auto_config (struct ptp_qoriq *ptp_qoriq , struct device_node *node ); ARGUMENTS ptp_qoriq pointer to ptp_qoriq node pointer to device_node DESCRIPTION If below dts properties are not provided, this fun...
ptp_qoriq_nominal_freq(9)
NAME ptp_qoriq_nominal_freq - calculate nominal frequency according to reference clock frequency SYNOPSIS u32 ptp_qoriq_nominal_freq (u32 clk_src ); ARGUMENTS clk_src reference clock frequency DESCRIPTION The nominal frequency is the desired clock frequency. It should be less than the reference clock frequency....
ptp_schedule_worker(9)
NAME ptp_schedule_worker - schedule ptp auxiliary work SYNOPSIS int ptp_schedule_worker (struct ptp_clock *ptp , unsigned long delay ); ARGUMENTS ptp The clock obtained from ptp_clock_register. delay number of jiffies to wait before queuing See kthread_queue_delayed_work for more info. SEE ALSO...
ptrace(2)
NAME ptrace - process trace LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/ptrace.h> long ptrace(enum __ptrace_request op, pid_t pid, void *addr, void *data); DESCRIPTION The ptrace() system call provides a means by which one process (the "tracer") may observe and control...
ptrace_check_attach(9)
NAME ptrace_check_attach - check whether ptracee is ready for ptrace operation SYNOPSIS int ptrace_check_attach (struct task_struct *child , bool ignore_state ); ARGUMENTS child ptracee to check for ignore_state don't check whether child is currently TASK_TRACED DESCRIPTION Check whe...
ptrace_event(9)
NAME ptrace_event - possibly stop for a ptrace event notification SYNOPSIS void ptrace_event (int event , unsigned long message ); ARGUMENTS event PTRACE_EVENT_* value to report message value for PTRACE_GETEVENTMSG to return DESCRIPTION Check whether event is enabled and, if so, report event and me...
ptrace_event_enabled(9)
NAME ptrace_event_enabled - test whether a ptrace event is enabled SYNOPSIS bool ptrace_event_enabled (struct task_struct *task , int event ); ARGUMENTS task ptracee of interest event PTRACE_EVENT_* to test DESCRIPTION Test whether event is enabled for ptracee task. Returns true if event is ena...
ptrace_event_pid(9)
NAME ptrace_event_pid - possibly stop for a ptrace event notification SYNOPSIS void ptrace_event_pid (int event , struct pid *pid ); ARGUMENTS event PTRACE_EVENT_* value to report pid process identifier for PTRACE_GETEVENTMSG to return DESCRIPTION Check whether event is enabled and, if so, repo...