diff options
Diffstat (limited to 'man2')
78 files changed, 112 insertions, 121 deletions
diff --git a/man2/_syscall.2 b/man2/_syscall.2 index c29ca55db8..542589dc91 100644 --- a/man2/_syscall.2 +++ b/man2/_syscall.2 @@ -40,9 +40,9 @@ _syscall \- invoking a system call without library support (OBSOLETE) .SH SYNOPSIS .B #include <linux/unistd.h> - +.PP A _syscall macro - +.PP desired system call .SH DESCRIPTION The important thing to know about a system call is its prototype. diff --git a/man2/clock_getres.2 b/man2/clock_getres.2 index 80779be910..836b21e316 100644 --- a/man2/clock_getres.2 +++ b/man2/clock_getres.2 @@ -34,9 +34,9 @@ clock_getres, clock_gettime, clock_settime \- clock and time functions .B #include <time.h> .PP .BI "int clock_getres(clockid_t " clk_id ", struct timespec *" res ); - +.PP .BI "int clock_gettime(clockid_t " clk_id ", struct timespec *" tp ); - +.PP .BI "int clock_settime(clockid_t " clk_id ", const struct timespec *" tp ); .PP Link with \fI\-lrt\fP (only for glibc versions before 2.17). diff --git a/man2/clone.2 b/man2/clone.2 index 6f60a8053e..2fec123ea8 100644 --- a/man2/clone.2 +++ b/man2/clone.2 @@ -45,15 +45,15 @@ clone, __clone2 \- create a child process .SH SYNOPSIS .nf /* Prototype for the glibc wrapper function */ - +.PP .B #define _GNU_SOURCE .B #include <sched.h> - +.PP .BI "int clone(int (*" "fn" ")(void *), void *" child_stack , .BI " int " flags ", void *" "arg" ", ... " .BI " /* pid_t *" ptid ", void *" newtls \ ", pid_t *" ctid " */ );" - +.PP /* For the prototype of the raw system call, see NOTES */ .fi .SH DESCRIPTION diff --git a/man2/copy_file_range.2 b/man2/copy_file_range.2 index 1e8c1e85b7..f3cbbe2512 100644 --- a/man2/copy_file_range.2 +++ b/man2/copy_file_range.2 @@ -29,7 +29,7 @@ copy_file_range \- Copy a range of data from one file to another .nf .B #include <sys/syscall.h> .B #include <unistd.h> - +.PP .BI "ssize_t copy_file_range(int " fd_in ", loff_t *" off_in , .BI " int " fd_out ", loff_t *" off_out , .BI " size_t " len ", unsigned int " flags ); diff --git a/man2/create_module.2 b/man2/create_module.2 index e372e7a726..8c3851b129 100644 --- a/man2/create_module.2 +++ b/man2/create_module.2 @@ -16,7 +16,7 @@ create_module \- create a loadable module entry .PP .BI "caddr_t create_module(const char *" name ", size_t " size ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/delete_module.2 b/man2/delete_module.2 index 841c327c94..87855d22aa 100644 --- a/man2/delete_module.2 +++ b/man2/delete_module.2 @@ -29,7 +29,7 @@ delete_module \- unload a kernel module .nf .BI "int delete_module(const char *" name ", int " flags ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/fallocate.2 b/man2/fallocate.2 index a044702ed8..38d0f7961a 100644 --- a/man2/fallocate.2 +++ b/man2/fallocate.2 @@ -15,7 +15,7 @@ fallocate \- manipulate file space .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> - +.PP .BI "int fallocate(int " fd ", int " mode ", off_t " offset \ ", off_t " len "); .fi diff --git a/man2/futex.2 b/man2/futex.2 index 090cfb886a..48586b3d56 100644 --- a/man2/futex.2 +++ b/man2/futex.2 @@ -33,7 +33,7 @@ futex \- fast user-space locking " \fR /* or: \fBuint32_t \fIval2\fP */ .BI " int *" uaddr2 ", int " val3 ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/get_kernel_syms.2 b/man2/get_kernel_syms.2 index 9b2f3f5a5f..a7648b0455 100644 --- a/man2/get_kernel_syms.2 +++ b/man2/get_kernel_syms.2 @@ -16,7 +16,7 @@ get_kernel_syms \- retrieve exported kernel and module symbols .PP .BI "int get_kernel_syms(struct kernel_sym *" table ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/get_robust_list.2 b/man2/get_robust_list.2 index 48d2bbf932..43f3ee4eb0 100644 --- a/man2/get_robust_list.2 +++ b/man2/get_robust_list.2 @@ -39,7 +39,7 @@ get_robust_list, set_robust_list \- get/set list of robust futexes .BI " size_t *" len_ptr ); .BI "long set_robust_list(struct robust_list_head *" head ", size_t " len ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/getcpu.2 b/man2/getcpu.2 index 5e1f0d297e..eceb895d79 100644 --- a/man2/getcpu.2 +++ b/man2/getcpu.2 @@ -19,7 +19,7 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running .BI "int getcpu(unsigned *" cpu ", unsigned *" node \ ", struct getcpu_cache *" tcache ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/getdents.2 b/man2/getdents.2 index 0b1ec5187c..6c0956daa4 100644 --- a/man2/getdents.2 +++ b/man2/getdents.2 @@ -38,7 +38,7 @@ getdents, getdents64 \- get directory entries .BI "int getdents64(unsigned int " fd ", struct linux_dirent64 *" dirp , .BI " unsigned int " count ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/gettid.2 b/man2/gettid.2 index 2b07e36eed..ae873ecd29 100644 --- a/man2/gettid.2 +++ b/man2/gettid.2 @@ -32,7 +32,7 @@ gettid \- get thread identification .PP .B pid_t gettid(void); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/gettimeofday.2 b/man2/gettimeofday.2 index 32151d800f..48e3a19008 100644 --- a/man2/gettimeofday.2 +++ b/man2/gettimeofday.2 @@ -43,13 +43,13 @@ gettimeofday, settimeofday \- get / set time .SH SYNOPSIS .nf .B #include <sys/time.h> - +.PP .BI "int gettimeofday(struct timeval *" tv ", struct timezone *" tz ); - +.PP .BI "int settimeofday(const struct timeval *" tv \ ", const struct timezone *" tz ); - .fi +.PP .in -4n Feature Test Macro Requirements for glibc (see .BR feature_test_macros (7)): diff --git a/man2/getunwind.2 b/man2/getunwind.2 index f704bd6946..fda06f3f48 100644 --- a/man2/getunwind.2 +++ b/man2/getunwind.2 @@ -34,7 +34,7 @@ getunwind \- copy the unwind data to caller's buffer .PP .BI "long getunwind(void " *buf ", size_t " buf_size ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/init_module.2 b/man2/init_module.2 index 60b505646a..17778725e3 100644 --- a/man2/init_module.2 +++ b/man2/init_module.2 @@ -31,11 +31,11 @@ init_module, finit_module \- load a kernel module .nf .BI "int init_module(void *" module_image ", unsigned long " len , .BI " const char *" param_values ); - +.PP .BI "int finit_module(int " fd ", const char *" param_values , .BI " int " flags ); .fi - +.PP .IR Note : glibc provides no header file declaration of .BR init_module () diff --git a/man2/io_cancel.2 b/man2/io_cancel.2 index 63e4901763..57ea86fea6 100644 --- a/man2/io_cancel.2 +++ b/man2/io_cancel.2 @@ -10,11 +10,11 @@ io_cancel \- cancel an outstanding asynchronous I/O operation .SH SYNOPSIS .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" - +.PP .BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb , .BI " struct io_event *" result ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_destroy.2 b/man2/io_destroy.2 index e4d78a5320..b0f875a421 100644 --- a/man2/io_destroy.2 +++ b/man2/io_destroy.2 @@ -10,10 +10,10 @@ io_destroy \- destroy an asynchronous I/O context .SH SYNOPSIS .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" - +.PP .BI "int io_destroy(aio_context_t " ctx_id ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_getevents.2 b/man2/io_getevents.2 index ef43b7c6bf..2993d21235 100644 --- a/man2/io_getevents.2 +++ b/man2/io_getevents.2 @@ -11,12 +11,12 @@ io_getevents \- read asynchronous I/O events from the completion queue .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" .BR "#include <linux/time.h>" " /* Defines 'struct timespec' */" - +.PP .BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr , .BI " struct io_event *" events \ ", struct timespec *" timeout ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_setup.2 b/man2/io_setup.2 index 82c957afb8..984fdc4d27 100644 --- a/man2/io_setup.2 +++ b/man2/io_setup.2 @@ -10,10 +10,10 @@ io_setup \- create an asynchronous I/O context .SH SYNOPSIS .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" - +.PP .BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/io_submit.2 b/man2/io_submit.2 index 6aae4efff4..e17f7ffa5e 100644 --- a/man2/io_submit.2 +++ b/man2/io_submit.2 @@ -10,11 +10,11 @@ io_submit \- submit asynchronous I/O blocks for processing .SH SYNOPSIS .nf .BR "#include <linux/aio_abi.h>" " /* Defines needed types */" - +.PP .BI "int io_submit(aio_context_t " ctx_id ", long " nr \ ", struct iocb **" iocbpp ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 index 0a09c9454d..715752dae0 100644 --- a/man2/ioctl_userfaultfd.2 +++ b/man2/ioctl_userfaultfd.2 @@ -32,7 +32,7 @@ space .SH SYNOPSIS .nf .B #include <sys/ioctl.h> - +.PP .BI "int ioctl(int " fd ", int " cmd ", ...);" .fi .SH DESCRIPTION diff --git a/man2/ioprio_set.2 b/man2/ioprio_set.2 index acb54a1c70..211f8f869b 100644 --- a/man2/ioprio_set.2 +++ b/man2/ioprio_set.2 @@ -29,7 +29,7 @@ ioprio_get, ioprio_set \- get/set I/O scheduling class and priority .BI "int ioprio_get(int " which ", int " who ); .BI "int ioprio_set(int " which ", int " who ", int " ioprio ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/kcmp.2 b/man2/kcmp.2 index 1987e8dd14..db67b7427e 100644 --- a/man2/kcmp.2 +++ b/man2/kcmp.2 @@ -31,11 +31,11 @@ kcmp \- compare two processes to determine if they share a kernel resource .SH SYNOPSIS .nf .B #include <linux/kcmp.h> - +.PP .BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type , .BI " unsigned long " idx1 ", unsigned long " idx2 ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/kexec_load.2 b/man2/kexec_load.2 index 2a00308039..198afba939 100644 --- a/man2/kexec_load.2 +++ b/man2/kexec_load.2 @@ -30,18 +30,18 @@ kexec_load, kexec_file_load \- load a new kernel for later execution .SH SYNOPSIS .nf .B #include <linux/kexec.h> - +.PP .BI "long kexec_load(unsigned long " entry ", unsigned long " nr_segments "," .BI " struct kexec_segment *" segments \ ", unsigned long " flags ");" - +.PP .BI "long kexec_file_load(int " kernel_fd ", int " initrd_fd "," .br .BI " unsigned long " cmdline_len \ ", const char *" cmdline "," .BI " unsigned long " flags ");" - .fi +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/keyctl.2 b/man2/keyctl.2 index 0df6bcf4b8..f4d056f169 100644 --- a/man2/keyctl.2 +++ b/man2/keyctl.2 @@ -44,7 +44,7 @@ keyctl \- manipulate the kernel's key management facility .BI " __kernel_ulong_t " arg3 ", __kernel_ulong_t " arg4 , .BI " __kernel_ulong_t " arg5 ); .fi - +.PP No glibc wrapper is provided for this system call; see NOTES. .SH DESCRIPTION .BR keyctl () diff --git a/man2/link.2 b/man2/link.2 index 64a719e6c6..5dde324138 100644 --- a/man2/link.2 +++ b/man2/link.2 @@ -37,7 +37,7 @@ link, linkat \- make a new name for a file .B #include <unistd.h> .PP .BI "int link(const char *" oldpath ", const char *" newpath ); - +.PP .BR "#include <fcntl.h> " "/* Definition of AT_* constants */" .B #include <unistd.h> .PP diff --git a/man2/llseek.2 b/man2/llseek.2 index a5e1c04e1d..da18e85f08 100644 --- a/man2/llseek.2 +++ b/man2/llseek.2 @@ -37,7 +37,7 @@ _llseek \- reposition read/write file offset .BI " unsigned long " offset_low ", loff_t *" result , .BI " unsigned int " whence ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/memfd_create.2 b/man2/memfd_create.2 index 9e55b96b9f..6fe3ac7599 100644 --- a/man2/memfd_create.2 +++ b/man2/memfd_create.2 @@ -25,7 +25,7 @@ memfd_create \- create an anonymous file .B #include <sys/memfd.h> .PP .BI "int memfd_create(const char *" name ", unsigned int " flags ");" - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/mmap.2 b/man2/mmap.2 index 4468d351de..9ff2a5859e 100644 --- a/man2/mmap.2 +++ b/man2/mmap.2 @@ -49,7 +49,7 @@ mmap, munmap \- map or unmap files or devices into memory .BI " int " fd ", off_t " offset ); .BI "int munmap(void *" addr ", size_t " length ); .fi - +.PP See NOTES for information on feature test macro requirements. .SH DESCRIPTION .BR mmap () diff --git a/man2/mq_getsetattr.2 b/man2/mq_getsetattr.2 index 1228ad8249..e4676f6e63 100644 --- a/man2/mq_getsetattr.2 +++ b/man2/mq_getsetattr.2 @@ -34,7 +34,7 @@ mq_getsetattr \- get/set message queue attributes .BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr "," .BI " struct mq_attr *" oldattr ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/msgctl.2 b/man2/msgctl.2 index 54657baa44..0056fd1589 100644 --- a/man2/msgctl.2 +++ b/man2/msgctl.2 @@ -42,7 +42,7 @@ msgctl \- System V message control operations .B #include <sys/types.h> .B #include <sys/ipc.h> .B #include <sys/msg.h> - +.PP .BI "int msgctl(int " msqid ", int " cmd ", struct msqid_ds *" buf ); .fi .SH DESCRIPTION diff --git a/man2/msgget.2 b/man2/msgget.2 index af82424b11..edaed1457e 100644 --- a/man2/msgget.2 +++ b/man2/msgget.2 @@ -40,7 +40,7 @@ msgget \- get a System V message queue identifier .B #include <sys/types.h> .B #include <sys/ipc.h> .B #include <sys/msg.h> - +.PP .BI "int msgget(key_t " key ", int " msgflg ); .fi .SH DESCRIPTION diff --git a/man2/open_by_handle_at.2 b/man2/open_by_handle_at.2 index ad59dc9bd5..3b326bba40 100644 --- a/man2/open_by_handle_at.2 +++ b/man2/open_by_handle_at.2 @@ -32,11 +32,11 @@ for a pathname and open file via a handle .B #include <sys/types.h> .B #include <sys/stat.h> .B #include <fcntl.h> - +.PP .BI "int name_to_handle_at(int " dirfd ", const char *" pathname , .BI " struct file_handle *" handle , .BI " int *" mount_id ", int " flags ); - +.PP .BI "int open_by_handle_at(int " mount_fd ", struct file_handle *" handle , .BI " int " flags ); .fi diff --git a/man2/outb.2 b/man2/outb.2 index d1b0061ae8..0bf1caa3ed 100644 --- a/man2/outb.2 +++ b/man2/outb.2 @@ -31,21 +31,21 @@ outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- port I/O .SH SYNOPSIS .nf .B #include <sys/io.h> - +.PP .BI "unsigned char inb(unsigned short int " port ); .BI "unsigned char inb_p(unsigned short int " port ); .BI "unsigned short int inw(unsigned short int " port ); .BI "unsigned short int inw_p(unsigned short int " port ); .BI "unsigned int inl(unsigned short int " port ); .BI "unsigned int inl_p(unsigned short int " port ); - +.PP .BI "void outb(unsigned char " value ", unsigned short int " port ); .BI "void outb_p(unsigned char " value ", unsigned short int " port ); .BI "void outw(unsigned short int " value ", unsigned short int " port ); .BI "void outw_p(unsigned short int " value ", unsigned short int " port ); .BI "void outl(unsigned int " value ", unsigned short int " port ); .BI "void outl_p(unsigned int " value ", unsigned short int " port ); - +.PP .BI "void insb(unsigned short int " port ", void *" addr , .BI " unsigned long int " count ); .BI "void insw(unsigned short int " port ", void *" addr , diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 5b48a6259c..16b4120076 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -36,7 +36,7 @@ perf_event_open \- set up performance monitoring .BI " pid_t " pid ", int " cpu ", int " group_fd , .BI " unsigned long " flags ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/pivot_root.2 b/man2/pivot_root.2 index b0497280ff..0e18142c1f 100644 --- a/man2/pivot_root.2 +++ b/man2/pivot_root.2 @@ -12,7 +12,7 @@ pivot_root \- change the root filesystem .SH SYNOPSIS .BI "int pivot_root(const char *" new_root ", const char *" put_old ); - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/process_vm_readv.2 b/man2/process_vm_readv.2 index 19a5967f3d..b0dec11b24 100644 --- a/man2/process_vm_readv.2 +++ b/man2/process_vm_readv.2 @@ -32,14 +32,14 @@ process_vm_readv, process_vm_writev \- transfer data between process address spa .SH SYNOPSIS .nf .B #include <sys/uio.h> - +.PP .BI "ssize_t process_vm_readv(pid_t " pid , .BI " const struct iovec *" local_iov , .BI " unsigned long " liovcnt , .BI " const struct iovec *" remote_iov , .BI " unsigned long " riovcnt , .BI " unsigned long " flags ");" - +.PP .BI "ssize_t process_vm_writev(pid_t " pid , .BI " const struct iovec *" local_iov , .BI " unsigned long " liovcnt , diff --git a/man2/query_module.2 b/man2/query_module.2 index 4866de1897..3416d7e91c 100644 --- a/man2/query_module.2 +++ b/man2/query_module.2 @@ -17,7 +17,7 @@ query_module \- query the kernel for various bits pertaining to modules .BI "int query_module(const char *" name ", int " which ", void *" buf , .BI " size_t " bufsize ", size_t *" ret ); .fi - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/readdir.2 b/man2/readdir.2 index 82d7781893..4665f3d75d 100644 --- a/man2/readdir.2 +++ b/man2/readdir.2 @@ -36,7 +36,7 @@ readdir \- read directory entry .BI "int readdir(unsigned int " fd ", struct old_linux_dirent *" dirp "," .BI " unsigned int " count ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/recvmmsg.2 b/man2/recvmmsg.2 index 2dc831869c..e1b7750d2e 100644 --- a/man2/recvmmsg.2 +++ b/man2/recvmmsg.2 @@ -35,7 +35,7 @@ recvmmsg \- receive multiple messages on a socket .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .BI "#include <sys/socket.h>" - +.PP .BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \ ", unsigned int " vlen "," .br diff --git a/man2/rename.2 b/man2/rename.2 index 8b2db438a7..1882b5720b 100644 --- a/man2/rename.2 +++ b/man2/rename.2 @@ -44,12 +44,12 @@ rename, renameat, renameat2 \- change the name or location of a file .PP .BI "int renameat(int " olddirfd ", const char *" oldpath , .BI " int " newdirfd ", const char *" newpath ); - +.PP .BI "int renameat2(int " olddirfd ", const char *" oldpath , .BI " int " newdirfd ", const char *" newpath \ ", unsigned int " flags ); .fi - +.PP .IR Note : There is no glibc wrapper for .BR renameat2 (); diff --git a/man2/request_key.2 b/man2/request_key.2 index c8f0ee5308..fde40b5972 100644 --- a/man2/request_key.2 +++ b/man2/request_key.2 @@ -21,7 +21,7 @@ request_key \- request a key from the kernel's key management facility .BI " const char *" callout_info , .BI " key_serial_t " dest_keyring ");" .fi - +.PP No glibc wrapper is provided for this system call; see NOTES. .SH DESCRIPTION .BR request_key () diff --git a/man2/restart_syscall.2 b/man2/restart_syscall.2 index f398f4161d..04da60ee14 100644 --- a/man2/restart_syscall.2 +++ b/man2/restart_syscall.2 @@ -35,7 +35,7 @@ restart_syscall \- restart a system call after interruption by a stop signal .SH SYNOPSIS .B int restart_syscall(void); - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/rt_sigqueueinfo.2 b/man2/rt_sigqueueinfo.2 index ca0ddab40a..a7bd7d30bf 100644 --- a/man2/rt_sigqueueinfo.2 +++ b/man2/rt_sigqueueinfo.2 @@ -32,7 +32,7 @@ rt_sigqueueinfo, rt_tgsigqueueinfo \- queue a signal and data .BI "int rt_tgsigqueueinfo(pid_t " tgid ", pid_t " tid ", int " sig , .BI " siginfo_t *" uinfo ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/s390_pci_mmio_write.2 b/man2/s390_pci_mmio_write.2 index d82a4e5f96..93e98be81e 100644 --- a/man2/s390_pci_mmio_write.2 +++ b/man2/s390_pci_mmio_write.2 @@ -29,7 +29,7 @@ MMIO memory page .SH SYNOPSIS .nf .B #include <asm/unistd.h> - +.PP .BI "int s390_pci_mmio_write(unsigned long " mmio_addr ", .BI " void *" user_buffer ", size_t " length "); .br diff --git a/man2/s390_runtime_instr.2 b/man2/s390_runtime_instr.2 index 036e808b51..2ef271d687 100644 --- a/man2/s390_runtime_instr.2 +++ b/man2/s390_runtime_instr.2 @@ -28,7 +28,7 @@ s390_runtime_instr \- enable/disable s390 CPU run-time instrumentation .SH SYNOPSIS .nf .B #include <asm/runtime_instr.h> - +.PP .BI "int s390_runtime_instr(int " command ", int " signum "); .fi .SH DESCRIPTION diff --git a/man2/sched_setattr.2 b/man2/sched_setattr.2 index 1aaa10929b..ea08ab08af 100644 --- a/man2/sched_setattr.2 +++ b/man2/sched_setattr.2 @@ -30,10 +30,10 @@ set and get scheduling policy and attributes .SH SYNOPSIS .nf .B #include <sched.h> - +.PP .BI "int sched_setattr(pid_t " pid ", struct sched_attr *" attr , .BI " unsigned int " flags ); - +.PP .BI "int sched_getattr(pid_t " pid ", struct sched_attr *" attr , .BI " unsigned int " size ", unsigned int " flags ); .fi diff --git a/man2/seccomp.2 b/man2/seccomp.2 index b11ccc19a6..df373b4c2e 100644 --- a/man2/seccomp.2 +++ b/man2/seccomp.2 @@ -36,7 +36,7 @@ seccomp \- operate on Secure Computing state of the process .B #include <sys/ptrace.h> .\" Kees Cook noted: Anything that uses SECCOMP_RET_TRACE returns will .\" need <sys/ptrace.h> - +.PP .BI "int seccomp(unsigned int " operation ", unsigned int " flags \ ", void *" args ); .fi diff --git a/man2/select.2 b/man2/select.2 index 8b1d430509..4c4cc9e688 100644 --- a/man2/select.2 +++ b/man2/select.2 @@ -42,15 +42,11 @@ synchronous I/O multiplexing .SH SYNOPSIS .nf /* According to POSIX.1-2001, POSIX.1-2008 */ -.br .B #include <sys/select.h> - +.PP /* According to earlier standards */ -.br .B #include <sys/time.h> -.br .B #include <sys/types.h> -.br .B #include <unistd.h> .PP .BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds , diff --git a/man2/select_tut.2 b/man2/select_tut.2 index 7d710c76de..967fd9b5d4 100644 --- a/man2/select_tut.2 +++ b/man2/select_tut.2 @@ -36,15 +36,11 @@ synchronous I/O multiplexing .SH SYNOPSIS .nf /* According to POSIX.1-2001, POSIX.1-2008 */ -.br .B #include <sys/select.h> - +.PP /* According to earlier standards */ -.br .B #include <sys/time.h> -.br .B #include <sys/types.h> -.br .B #include <unistd.h> .PP .BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds , diff --git a/man2/send.2 b/man2/send.2 index 973236b65d..70d07cff71 100644 --- a/man2/send.2 +++ b/man2/send.2 @@ -47,11 +47,11 @@ send, sendto, sendmsg \- send a message on a socket .PP .BI "ssize_t send(int " sockfd ", const void *" buf ", size_t " len \ ", int " flags ); - +.PP .BI "ssize_t sendto(int " sockfd ", const void *" buf ", size_t " len \ ", int " flags , .BI " const struct sockaddr *" dest_addr ", socklen_t " addrlen ); - +.PP .BI "ssize_t sendmsg(int " sockfd ", const struct msghdr *" msg \ ", int " flags ); .fi diff --git a/man2/sendmmsg.2 b/man2/sendmmsg.2 index 6173280ffc..056c747719 100644 --- a/man2/sendmmsg.2 +++ b/man2/sendmmsg.2 @@ -32,7 +32,7 @@ sendmmsg \- send multiple messages on a socket .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .BI "#include <sys/socket.h>" - +.PP .BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \ ", unsigned int " vlen "," .BI " unsigned int " flags ");" diff --git a/man2/set_thread_area.2 b/man2/set_thread_area.2 index d09132156d..82861c4db2 100644 --- a/man2/set_thread_area.2 +++ b/man2/set_thread_area.2 @@ -13,11 +13,11 @@ get_thread_area, set_thread_area \- set a GDT entry for thread-local storage .nf .B #include <linux/unistd.h> .B #include <asm/ldt.h> - +.PP .BI "int get_thread_area(struct user_desc *" u_info ); .BI "int set_thread_area(struct user_desc *" u_info ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/set_tid_address.2 b/man2/set_tid_address.2 index f6f75a51fc..d05608dee4 100644 --- a/man2/set_tid_address.2 +++ b/man2/set_tid_address.2 @@ -31,7 +31,7 @@ set_tid_address \- set pointer to thread ID .PP .BI "long set_tid_address(int *" tidptr ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/sgetmask.2 b/man2/sgetmask.2 index 305f6cd131..e8789a882e 100644 --- a/man2/sgetmask.2 +++ b/man2/sgetmask.2 @@ -30,7 +30,7 @@ sgetmask, ssetmask \- manipulation of signal mask (obsolete) .B "long sgetmask(void);" .PP .BI "long ssetmask(long " newmask ); - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/shmop.2 b/man2/shmop.2 index c1a243ec7a..94d97df8a1 100644 --- a/man2/shmop.2 +++ b/man2/shmop.2 @@ -45,9 +45,9 @@ shmat, shmdt \- System V shared memory operations .nf .B #include <sys/types.h> .B #include <sys/shm.h> - +.PP .BI "void *shmat(int " shmid ", const void *" shmaddr ", int " shmflg ); - +.PP .BI "int shmdt(const void *" shmaddr ); .fi .SH DESCRIPTION diff --git a/man2/sigaction.2 b/man2/sigaction.2 index aed775749f..278c67fbd5 100644 --- a/man2/sigaction.2 +++ b/man2/sigaction.2 @@ -65,7 +65,7 @@ Feature Test Macro Requirements for glibc (see .ad l .BR sigaction (): _POSIX_C_SOURCE - +.PP .IR siginfo_t : _POSIX_C_SOURCE >= 199309L .ad b diff --git a/man2/sigprocmask.2 b/man2/sigprocmask.2 index 493ab1a992..66e14cf95e 100644 --- a/man2/sigprocmask.2 +++ b/man2/sigprocmask.2 @@ -35,16 +35,15 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals .nf /* Prototype for the glibc wrapper function */ .BI "int sigprocmask(int " how ", const sigset_t *" set ", sigset_t *" oldset ); - +.PP /* Prototype for the underlying system call */ .BI "int rt_sigprocmask(int " how ", const kernel_sigset_t *" set , .BI " kernel_sigset_t *" oldset ", size_t " sigsetsize ); - +.PP /* Prototype for the legacy system call (deprecated) */ .BI "int sigprocmask(int " how ", const old_kernel_sigset_t *" set , .BI " old_kernel_sigset_t *" oldset ); " .fi - .PP .in -4n Feature Test Macro Requirements for glibc (see diff --git a/man2/splice.2 b/man2/splice.2 index 8b58bed363..cc565d9164 100644 --- a/man2/splice.2 +++ b/man2/splice.2 @@ -30,7 +30,7 @@ splice \- splice data to/from a pipe .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> - +.PP .BI "ssize_t splice(int " fd_in ", loff_t *" off_in ", int " fd_out , .BI " loff_t *" off_out ", size_t " len \ ", unsigned int " flags ); diff --git a/man2/spu_create.2 b/man2/spu_create.2 index e48c71a163..d5401fa953 100644 --- a/man2/spu_create.2 +++ b/man2/spu_create.2 @@ -29,12 +29,12 @@ spu_create \- create a new spu context .nf .B #include <sys/types.h> .B #include <sys/spu.h> - +.PP .BI "int spu_create(const char *" pathname ", int " flags ", mode_t " mode ");" .BI "int spu_create(const char *" pathname ", int " flags ", mode_t " mode "," .BI " int " neighbor_fd ");" .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/spu_run.2 b/man2/spu_run.2 index 60ff636060..027c00e9d1 100644 --- a/man2/spu_run.2 +++ b/man2/spu_run.2 @@ -29,11 +29,11 @@ spu_run \- execute an SPU context .SH SYNOPSIS .nf .B #include <sys/spu.h> - +.PP .BI "int spu_run(int " fd ", unsigned int *" npc \ ", unsigned int *" event ");" .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/statx.2 b/man2/statx.2 index a69096dd7b..8b9453d609 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -37,11 +37,11 @@ statx \- get file status (extended) .B #include <sys/stat.h> .B #include <unistd.h> .BR "#include <fcntl.h> " "/* Definition of AT_* constants */" - +.PP .BI "int statx(int " dirfd ", const char *" pathname ", int " flags "," .BI " unsigned int " mask ", struct statx *" statxbuf ); .fi - +.PP .IR Note : There is no glibc wrapper for .BR statx (); diff --git a/man2/subpage_prot.2 b/man2/subpage_prot.2 index 69c32f18dc..0499b9dd99 100644 --- a/man2/subpage_prot.2 +++ b/man2/subpage_prot.2 @@ -35,7 +35,7 @@ subpage_prot \- define a subpage protection for an address range .BI "long subpage_prot(unsigned long " addr ", unsigned long " len , .BI " uint32_t *" map "); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/sync_file_range.2 b/man2/sync_file_range.2 index e2c408d2af..1e24d3b1a9 100644 --- a/man2/sync_file_range.2 +++ b/man2/sync_file_range.2 @@ -34,7 +34,7 @@ sync_file_range \- sync a file segment with disk .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> - +.PP .BI "int sync_file_range(int " fd ", off64_t " offset ", off64_t " nbytes , .BI " unsigned int " flags ); .fi diff --git a/man2/syscall.2 b/man2/syscall.2 index 605c3d572b..5dffc1fdf5 100644 --- a/man2/syscall.2 +++ b/man2/syscall.2 @@ -47,7 +47,7 @@ syscall \- indirect system call .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <unistd.h> .BR "#include <sys/syscall.h> " "/* For SYS_xxx definitions */" - +.PP .BI "long syscall(long " number ", ...);" .fi .SH DESCRIPTION diff --git a/man2/sysctl.2 b/man2/sysctl.2 index 03b1f01a5a..4c4d916ad9 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -38,7 +38,7 @@ sysctl \- read/write system parameters .PP .BI "int _sysctl(struct __sysctl_args *" args ); .fi - +.PP .IR Note : There is no glibc wrapper for this system call; see NOTES. .SH DESCRIPTION diff --git a/man2/sysfs.2 b/man2/sysfs.2 index b184032e5d..73e01d2a42 100644 --- a/man2/sysfs.2 +++ b/man2/sysfs.2 @@ -29,9 +29,9 @@ sysfs \- get filesystem type information .SH SYNOPSIS .BI "int sysfs(int " option ", const char *" fsname ); - +.PP .BI "int sysfs(int " option ", unsigned int " fs_index ", char *" buf ); - +.PP .BI "int sysfs(int " option ); .SH DESCRIPTION .BR sysfs () diff --git a/man2/tee.2 b/man2/tee.2 index 43e8b05758..7fe173b175 100644 --- a/man2/tee.2 +++ b/man2/tee.2 @@ -30,7 +30,7 @@ tee \- duplicating pipe content .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> - +.PP .BI "ssize_t tee(int " fd_in ", int " fd_out ", size_t " len \ ", unsigned int " flags ); .fi diff --git a/man2/timer_create.2 b/man2/timer_create.2 index 3eb30efb06..a75208607d 100644 --- a/man2/timer_create.2 +++ b/man2/timer_create.2 @@ -30,11 +30,11 @@ timer_create \- create a POSIX per-process timer .nf .B #include <signal.h> .B #include <time.h> - +.PP .BI "int timer_create(clockid_t " clockid ", struct sigevent *" sevp , .BI " timer_t *" timerid ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/timer_delete.2 b/man2/timer_delete.2 index aea66db7b2..9d37f358ed 100644 --- a/man2/timer_delete.2 +++ b/man2/timer_delete.2 @@ -29,10 +29,10 @@ timer_delete \- delete a POSIX per-process timer .SH SYNOPSIS .nf .B #include <time.h> - +.PP .BI "int timer_delete(timer_t " timerid ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/timer_getoverrun.2 b/man2/timer_getoverrun.2 index fdd3a60196..c274805e4d 100644 --- a/man2/timer_getoverrun.2 +++ b/man2/timer_getoverrun.2 @@ -29,10 +29,10 @@ timer_getoverrun \- get overrun count for a POSIX per-process timer .SH SYNOPSIS .nf .B #include <time.h> - +.PP .BI "int timer_getoverrun(timer_t " timerid ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/timer_settime.2 b/man2/timer_settime.2 index e5e179446b..982ce28e88 100644 --- a/man2/timer_settime.2 +++ b/man2/timer_settime.2 @@ -30,13 +30,13 @@ state of POSIX per-process timer .SH SYNOPSIS .nf .B #include <time.h> - +.PP .BI "int timer_settime(timer_t " timerid ", int " flags , .BI " const struct itimerspec *" new_value , .BI " struct itimerspec *" old_value ); .BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value ); .fi - +.PP Link with \fI\-lrt\fP. .PP .in -4n diff --git a/man2/tkill.2 b/man2/tkill.2 index f68cba327f..7c80d6438a 100644 --- a/man2/tkill.2 +++ b/man2/tkill.2 @@ -35,7 +35,7 @@ tkill, tgkill \- send a signal to a thread .PP .BI "int tgkill(int " tgid ", int " tid ", int " sig ); .fi - +.PP .IR Note : There are no glibc wrappers for these system calls; see NOTES. .SH DESCRIPTION diff --git a/man2/uselib.2 b/man2/uselib.2 index 5321a263e1..c38fa225b3 100644 --- a/man2/uselib.2 +++ b/man2/uselib.2 @@ -35,7 +35,7 @@ uselib \- load shared library .B #include <unistd.h> .PP .BI "int uselib(const char *" library ); - +.PP .IR Note : No declaration of this system call is provided in glibc headers; see NOTES. .SH DESCRIPTION diff --git a/man2/utimensat.2 b/man2/utimensat.2 index 4ef4d4fa07..7c3c29e1e0 100644 --- a/man2/utimensat.2 +++ b/man2/utimensat.2 @@ -33,7 +33,7 @@ utimensat, futimens \- change file timestamps with nanosecond precision .PP .BI "int utimensat(int " dirfd ", const char *" pathname , .BI " const struct timespec " times "[2], int " flags ); - +.PP .BI "int futimens(int " fd ", const struct timespec " times [2]); .fi .PP diff --git a/man2/vmsplice.2 b/man2/vmsplice.2 index 1456956620..ced4626634 100644 --- a/man2/vmsplice.2 +++ b/man2/vmsplice.2 @@ -31,7 +31,7 @@ vmsplice \- splice user pages into a pipe .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" .B #include <fcntl.h> .B #include <sys/uio.h> - +.PP .BI "ssize_t vmsplice(int " fd ", const struct iovec *" iov , .BI " unsigned long " nr_segs ", unsigned int " flags ); .fi diff --git a/man2/wait.2 b/man2/wait.2 index a1ee8872b4..b86bcc95a5 100644 --- a/man2/wait.2 +++ b/man2/wait.2 @@ -55,9 +55,9 @@ wait, waitpid, waitid \- wait for process to change state .B #include <sys/wait.h> .PP .BI "pid_t wait(int *" "wstatus" ); - +.PP .BI "pid_t waitpid(pid_t " pid ", int *" wstatus ", int " options ); - +.PP .BI "int waitid(idtype_t " idtype ", id_t " id \ ", siginfo_t *" infop ", int " options ); /* This is the glibc and POSIX interface; see |
