mirror of https://github.com/mkerrisk/man-pages
_syscall.2, clock_getres.2, clone.2, copy_file_range.2, create_module.2, delete_module.2, fallocate.2, futex.2, get_kernel_syms.2, get_robust_list.2, getcpu.2, getdents.2, gettid.2, gettimeofday.2, getunwind.2, init_module.2, io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2, ioctl_userfaultfd.2, ioprio_set.2, kcmp.2, kexec_load.2, keyctl.2, link.2, llseek.2, memfd_create.2, mmap.2, mq_getsetattr.2, msgctl.2, msgget.2, open_by_handle_at.2, outb.2, perf_event_open.2, pivot_root.2, process_vm_readv.2, query_module.2, readdir.2, recvmmsg.2, rename.2, request_key.2, restart_syscall.2, rt_sigqueueinfo.2, s390_pci_mmio_write.2, s390_runtime_instr.2, sched_setattr.2, seccomp.2, select.2, select_tut.2, send.2, sendmmsg.2, set_thread_area.2, set_tid_address.2, sgetmask.2, shmop.2, sigaction.2, sigprocmask.2, splice.2, spu_create.2, spu_run.2, statx.2, subpage_prot.2, sync_file_range.2, syscall.2, sysctl.2, sysfs.2, tee.2, timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, tkill.2, uselib.2, utimensat.2, vmsplice.2, wait.2, aio_init.3, asinh.3, atan2.3, atanh.3, backtrace.3, basename.3, bswap.3, bzero.3, catgets.3, catopen.3, dladdr.3, dlsym.3, endian.3, envz_add.3, erf.3, erfc.3, error.3, ferror.3, ffs.3, fgetc.3, fmemopen.3, fopen.3, fopencookie.3, fseek.3, ftw.3, futimes.3, getdate.3, getenv.3, getline.3, getlogin.3, getrpcent.3, getsubopt.3, getutmp.3, getw.3, gnu_get_libc_version.3, inet_net_pton.3, isalpha.3, lio_listio.3, makedev.3, malloc_get_state.3, malloc_stats.3, malloc_trim.3, malloc_usable_size.3, matherr.3, memchr.3, nextup.3, ntp_gettime.3, posix_madvise.3, program_invocation_name.3, pthread_atfork.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cleanup_push_defer_np.3, pthread_detach.3, pthread_equal.3, pthread_exit.3, pthread_join.3, pthread_kill.3, pthread_kill_other_threads_np.3, pthread_rwlockattr_setkind_np.3, pthread_self.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedprio.3, pthread_testcancel.3, pthread_tryjoin_np.3, pthread_yield.3, puts.3, random.3, random_r.3, rpc.3, sched_getcpu.3, setnetgrent.3, sigwait.3, stdin.3, strerror.3, strfmon.3, timeradd.3, tmpnam.3, toupper.3, towlower.3, towupper.3, ttyname.3, uselocale.3, xdr.3, dsp56k.4, sigevent.7, vdso.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
a458bc4526
commit
dbfe9c700e
|
@ -40,9 +40,9 @@
|
||||||
_syscall \- invoking a system call without library support (OBSOLETE)
|
_syscall \- invoking a system call without library support (OBSOLETE)
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <linux/unistd.h>
|
.B #include <linux/unistd.h>
|
||||||
|
.PP
|
||||||
A _syscall macro
|
A _syscall macro
|
||||||
|
.PP
|
||||||
desired system call
|
desired system call
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The important thing to know about a system call is its prototype.
|
The important thing to know about a system call is its prototype.
|
||||||
|
|
|
@ -34,9 +34,9 @@ clock_getres, clock_gettime, clock_settime \- clock and time functions
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int clock_getres(clockid_t " clk_id ", struct timespec *" res );
|
.BI "int clock_getres(clockid_t " clk_id ", struct timespec *" res );
|
||||||
|
.PP
|
||||||
.BI "int clock_gettime(clockid_t " clk_id ", struct timespec *" tp );
|
.BI "int clock_gettime(clockid_t " clk_id ", struct timespec *" tp );
|
||||||
|
.PP
|
||||||
.BI "int clock_settime(clockid_t " clk_id ", const struct timespec *" tp );
|
.BI "int clock_settime(clockid_t " clk_id ", const struct timespec *" tp );
|
||||||
.PP
|
.PP
|
||||||
Link with \fI\-lrt\fP (only for glibc versions before 2.17).
|
Link with \fI\-lrt\fP (only for glibc versions before 2.17).
|
||||||
|
|
|
@ -45,15 +45,15 @@ clone, __clone2 \- create a child process
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
/* Prototype for the glibc wrapper function */
|
/* Prototype for the glibc wrapper function */
|
||||||
|
.PP
|
||||||
.B #define _GNU_SOURCE
|
.B #define _GNU_SOURCE
|
||||||
.B #include <sched.h>
|
.B #include <sched.h>
|
||||||
|
.PP
|
||||||
.BI "int clone(int (*" "fn" ")(void *), void *" child_stack ,
|
.BI "int clone(int (*" "fn" ")(void *), void *" child_stack ,
|
||||||
.BI " int " flags ", void *" "arg" ", ... "
|
.BI " int " flags ", void *" "arg" ", ... "
|
||||||
.BI " /* pid_t *" ptid ", void *" newtls \
|
.BI " /* pid_t *" ptid ", void *" newtls \
|
||||||
", pid_t *" ctid " */ );"
|
", pid_t *" ctid " */ );"
|
||||||
|
.PP
|
||||||
/* For the prototype of the raw system call, see NOTES */
|
/* For the prototype of the raw system call, see NOTES */
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -29,7 +29,7 @@ copy_file_range \- Copy a range of data from one file to another
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/syscall.h>
|
.B #include <sys/syscall.h>
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
|
.PP
|
||||||
.BI "ssize_t copy_file_range(int " fd_in ", loff_t *" off_in ,
|
.BI "ssize_t copy_file_range(int " fd_in ", loff_t *" off_in ,
|
||||||
.BI " int " fd_out ", loff_t *" off_out ,
|
.BI " int " fd_out ", loff_t *" off_out ,
|
||||||
.BI " size_t " len ", unsigned int " flags );
|
.BI " size_t " len ", unsigned int " flags );
|
||||||
|
|
|
@ -16,7 +16,7 @@ create_module \- create a loadable module entry
|
||||||
.PP
|
.PP
|
||||||
.BI "caddr_t create_module(const char *" name ", size_t " size );
|
.BI "caddr_t create_module(const char *" name ", size_t " size );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
No declaration of this system call is provided in glibc headers; see NOTES.
|
No declaration of this system call is provided in glibc headers; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -29,7 +29,7 @@ delete_module \- unload a kernel module
|
||||||
.nf
|
.nf
|
||||||
.BI "int delete_module(const char *" name ", int " flags );
|
.BI "int delete_module(const char *" name ", int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
No declaration of this system call is provided in glibc headers; see NOTES.
|
No declaration of this system call is provided in glibc headers; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -15,7 +15,7 @@ fallocate \- manipulate file space
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
|
.PP
|
||||||
.BI "int fallocate(int " fd ", int " mode ", off_t " offset \
|
.BI "int fallocate(int " fd ", int " mode ", off_t " offset \
|
||||||
", off_t " len ");
|
", off_t " len ");
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -33,7 +33,7 @@ futex \- fast user-space locking
|
||||||
" \fR /* or: \fBuint32_t \fIval2\fP */
|
" \fR /* or: \fBuint32_t \fIval2\fP */
|
||||||
.BI " int *" uaddr2 ", int " val3 );
|
.BI " int *" uaddr2 ", int " val3 );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -16,7 +16,7 @@ get_kernel_syms \- retrieve exported kernel and module symbols
|
||||||
.PP
|
.PP
|
||||||
.BI "int get_kernel_syms(struct kernel_sym *" table );
|
.BI "int get_kernel_syms(struct kernel_sym *" table );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
No declaration of this system call is provided in glibc headers; see NOTES.
|
No declaration of this system call is provided in glibc headers; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -39,7 +39,7 @@ get_robust_list, set_robust_list \- get/set list of robust futexes
|
||||||
.BI " size_t *" len_ptr );
|
.BI " size_t *" len_ptr );
|
||||||
.BI "long set_robust_list(struct robust_list_head *" head ", size_t " len );
|
.BI "long set_robust_list(struct robust_list_head *" head ", size_t " len );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -19,7 +19,7 @@ getcpu \- determine CPU and NUMA node on which the calling thread is running
|
||||||
.BI "int getcpu(unsigned *" cpu ", unsigned *" node \
|
.BI "int getcpu(unsigned *" cpu ", unsigned *" node \
|
||||||
", struct getcpu_cache *" tcache );
|
", struct getcpu_cache *" tcache );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -38,7 +38,7 @@ getdents, getdents64 \- get directory entries
|
||||||
.BI "int getdents64(unsigned int " fd ", struct linux_dirent64 *" dirp ,
|
.BI "int getdents64(unsigned int " fd ", struct linux_dirent64 *" dirp ,
|
||||||
.BI " unsigned int " count );
|
.BI " unsigned int " count );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -32,7 +32,7 @@ gettid \- get thread identification
|
||||||
.PP
|
.PP
|
||||||
.B pid_t gettid(void);
|
.B pid_t gettid(void);
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -43,13 +43,13 @@ gettimeofday, settimeofday \- get / set time
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/time.h>
|
.B #include <sys/time.h>
|
||||||
|
.PP
|
||||||
.BI "int gettimeofday(struct timeval *" tv ", struct timezone *" tz );
|
.BI "int gettimeofday(struct timeval *" tv ", struct timezone *" tz );
|
||||||
|
.PP
|
||||||
.BI "int settimeofday(const struct timeval *" tv \
|
.BI "int settimeofday(const struct timeval *" tv \
|
||||||
", const struct timezone *" tz );
|
", const struct timezone *" tz );
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
Feature Test Macro Requirements for glibc (see
|
Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
|
|
|
@ -34,7 +34,7 @@ getunwind \- copy the unwind data to caller's buffer
|
||||||
.PP
|
.PP
|
||||||
.BI "long getunwind(void " *buf ", size_t " buf_size );
|
.BI "long getunwind(void " *buf ", size_t " buf_size );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -31,11 +31,11 @@ init_module, finit_module \- load a kernel module
|
||||||
.nf
|
.nf
|
||||||
.BI "int init_module(void *" module_image ", unsigned long " len ,
|
.BI "int init_module(void *" module_image ", unsigned long " len ,
|
||||||
.BI " const char *" param_values );
|
.BI " const char *" param_values );
|
||||||
|
.PP
|
||||||
.BI "int finit_module(int " fd ", const char *" param_values ,
|
.BI "int finit_module(int " fd ", const char *" param_values ,
|
||||||
.BI " int " flags );
|
.BI " int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
glibc provides no header file declaration of
|
glibc provides no header file declaration of
|
||||||
.BR init_module ()
|
.BR init_module ()
|
||||||
|
|
|
@ -10,11 +10,11 @@ io_cancel \- cancel an outstanding asynchronous I/O operation
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||||
|
.PP
|
||||||
.BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb ,
|
.BI "int io_cancel(aio_context_t " ctx_id ", struct iocb *" iocb ,
|
||||||
.BI " struct io_event *" result );
|
.BI " struct io_event *" result );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -10,10 +10,10 @@ io_destroy \- destroy an asynchronous I/O context
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||||
|
.PP
|
||||||
.BI "int io_destroy(aio_context_t " ctx_id );
|
.BI "int io_destroy(aio_context_t " ctx_id );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -11,12 +11,12 @@ io_getevents \- read asynchronous I/O events from the completion queue
|
||||||
.nf
|
.nf
|
||||||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||||
.BR "#include <linux/time.h>" " /* Defines 'struct timespec' */"
|
.BR "#include <linux/time.h>" " /* Defines 'struct timespec' */"
|
||||||
|
.PP
|
||||||
.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr ,
|
.BI "int io_getevents(aio_context_t " ctx_id ", long " min_nr ", long " nr ,
|
||||||
.BI " struct io_event *" events \
|
.BI " struct io_event *" events \
|
||||||
", struct timespec *" timeout );
|
", struct timespec *" timeout );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -10,10 +10,10 @@ io_setup \- create an asynchronous I/O context
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||||
|
.PP
|
||||||
.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
|
.BI "int io_setup(unsigned " nr_events ", aio_context_t *" ctx_idp );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -10,11 +10,11 @@ io_submit \- submit asynchronous I/O blocks for processing
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
.BR "#include <linux/aio_abi.h>" " /* Defines needed types */"
|
||||||
|
.PP
|
||||||
.BI "int io_submit(aio_context_t " ctx_id ", long " nr \
|
.BI "int io_submit(aio_context_t " ctx_id ", long " nr \
|
||||||
", struct iocb **" iocbpp );
|
", struct iocb **" iocbpp );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -32,7 +32,7 @@ space
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/ioctl.h>
|
.B #include <sys/ioctl.h>
|
||||||
|
.PP
|
||||||
.BI "int ioctl(int " fd ", int " cmd ", ...);"
|
.BI "int ioctl(int " fd ", int " cmd ", ...);"
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -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_get(int " which ", int " who );
|
||||||
.BI "int ioprio_set(int " which ", int " who ", int " ioprio );
|
.BI "int ioprio_set(int " which ", int " who ", int " ioprio );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -31,11 +31,11 @@ kcmp \- compare two processes to determine if they share a kernel resource
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <linux/kcmp.h>
|
.B #include <linux/kcmp.h>
|
||||||
|
.PP
|
||||||
.BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type ,
|
.BI "int kcmp(pid_t " pid1 ", pid_t " pid2 ", int " type ,
|
||||||
.BI " unsigned long " idx1 ", unsigned long " idx2 );
|
.BI " unsigned long " idx1 ", unsigned long " idx2 );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -30,18 +30,18 @@ kexec_load, kexec_file_load \- load a new kernel for later execution
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <linux/kexec.h>
|
.B #include <linux/kexec.h>
|
||||||
|
.PP
|
||||||
.BI "long kexec_load(unsigned long " entry ", unsigned long " nr_segments ","
|
.BI "long kexec_load(unsigned long " entry ", unsigned long " nr_segments ","
|
||||||
.BI " struct kexec_segment *" segments \
|
.BI " struct kexec_segment *" segments \
|
||||||
", unsigned long " flags ");"
|
", unsigned long " flags ");"
|
||||||
|
.PP
|
||||||
.BI "long kexec_file_load(int " kernel_fd ", int " initrd_fd ","
|
.BI "long kexec_file_load(int " kernel_fd ", int " initrd_fd ","
|
||||||
.br
|
.br
|
||||||
.BI " unsigned long " cmdline_len \
|
.BI " unsigned long " cmdline_len \
|
||||||
", const char *" cmdline ","
|
", const char *" cmdline ","
|
||||||
.BI " unsigned long " flags ");"
|
.BI " unsigned long " flags ");"
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -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 " arg3 ", __kernel_ulong_t " arg4 ,
|
||||||
.BI " __kernel_ulong_t " arg5 );
|
.BI " __kernel_ulong_t " arg5 );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
No glibc wrapper is provided for this system call; see NOTES.
|
No glibc wrapper is provided for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR keyctl ()
|
.BR keyctl ()
|
||||||
|
|
|
@ -37,7 +37,7 @@ link, linkat \- make a new name for a file
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int link(const char *" oldpath ", const char *" newpath );
|
.BI "int link(const char *" oldpath ", const char *" newpath );
|
||||||
|
.PP
|
||||||
.BR "#include <fcntl.h> " "/* Definition of AT_* constants */"
|
.BR "#include <fcntl.h> " "/* Definition of AT_* constants */"
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -37,7 +37,7 @@ _llseek \- reposition read/write file offset
|
||||||
.BI " unsigned long " offset_low ", loff_t *" result ,
|
.BI " unsigned long " offset_low ", loff_t *" result ,
|
||||||
.BI " unsigned int " whence );
|
.BI " unsigned int " whence );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -25,7 +25,7 @@ memfd_create \- create an anonymous file
|
||||||
.B #include <sys/memfd.h>
|
.B #include <sys/memfd.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int memfd_create(const char *" name ", unsigned int " flags ");"
|
.BI "int memfd_create(const char *" name ", unsigned int " flags ");"
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -49,7 +49,7 @@ mmap, munmap \- map or unmap files or devices into memory
|
||||||
.BI " int " fd ", off_t " offset );
|
.BI " int " fd ", off_t " offset );
|
||||||
.BI "int munmap(void *" addr ", size_t " length );
|
.BI "int munmap(void *" addr ", size_t " length );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
See NOTES for information on feature test macro requirements.
|
See NOTES for information on feature test macro requirements.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR mmap ()
|
.BR mmap ()
|
||||||
|
|
|
@ -34,7 +34,7 @@ mq_getsetattr \- get/set message queue attributes
|
||||||
.BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
|
.BI "int mq_getsetattr(mqd_t " mqdes ", struct mq_attr *" newattr ","
|
||||||
.BI " struct mq_attr *" oldattr );
|
.BI " struct mq_attr *" oldattr );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -42,7 +42,7 @@ msgctl \- System V message control operations
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <sys/ipc.h>
|
.B #include <sys/ipc.h>
|
||||||
.B #include <sys/msg.h>
|
.B #include <sys/msg.h>
|
||||||
|
.PP
|
||||||
.BI "int msgctl(int " msqid ", int " cmd ", struct msqid_ds *" buf );
|
.BI "int msgctl(int " msqid ", int " cmd ", struct msqid_ds *" buf );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -40,7 +40,7 @@ msgget \- get a System V message queue identifier
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <sys/ipc.h>
|
.B #include <sys/ipc.h>
|
||||||
.B #include <sys/msg.h>
|
.B #include <sys/msg.h>
|
||||||
|
.PP
|
||||||
.BI "int msgget(key_t " key ", int " msgflg );
|
.BI "int msgget(key_t " key ", int " msgflg );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -32,11 +32,11 @@ for a pathname and open file via a handle
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <sys/stat.h>
|
.B #include <sys/stat.h>
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
|
.PP
|
||||||
.BI "int name_to_handle_at(int " dirfd ", const char *" pathname ,
|
.BI "int name_to_handle_at(int " dirfd ", const char *" pathname ,
|
||||||
.BI " struct file_handle *" handle ,
|
.BI " struct file_handle *" handle ,
|
||||||
.BI " int *" mount_id ", int " flags );
|
.BI " int *" mount_id ", int " flags );
|
||||||
|
.PP
|
||||||
.BI "int open_by_handle_at(int " mount_fd ", struct file_handle *" handle ,
|
.BI "int open_by_handle_at(int " mount_fd ", struct file_handle *" handle ,
|
||||||
.BI " int " flags );
|
.BI " int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -31,21 +31,21 @@ outb_p, outw_p, outl_p, inb_p, inw_p, inl_p \- port I/O
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/io.h>
|
.B #include <sys/io.h>
|
||||||
|
.PP
|
||||||
.BI "unsigned char inb(unsigned short int " port );
|
.BI "unsigned char inb(unsigned short int " port );
|
||||||
.BI "unsigned char inb_p(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(unsigned short int " port );
|
||||||
.BI "unsigned short int inw_p(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(unsigned short int " port );
|
||||||
.BI "unsigned int inl_p(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(unsigned char " value ", unsigned short int " port );
|
||||||
.BI "void outb_p(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(unsigned short int " value ", unsigned short int " port );
|
||||||
.BI "void outw_p(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(unsigned int " value ", unsigned short int " port );
|
||||||
.BI "void outl_p(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 "void insb(unsigned short int " port ", void *" addr ,
|
||||||
.BI " unsigned long int " count );
|
.BI " unsigned long int " count );
|
||||||
.BI "void insw(unsigned short int " port ", void *" addr ,
|
.BI "void insw(unsigned short int " port ", void *" addr ,
|
||||||
|
|
|
@ -36,7 +36,7 @@ perf_event_open \- set up performance monitoring
|
||||||
.BI " pid_t " pid ", int " cpu ", int " group_fd ,
|
.BI " pid_t " pid ", int " cpu ", int " group_fd ,
|
||||||
.BI " unsigned long " flags );
|
.BI " unsigned long " flags );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
pivot_root \- change the root filesystem
|
pivot_root \- change the root filesystem
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BI "int pivot_root(const char *" new_root ", const char *" put_old );
|
.BI "int pivot_root(const char *" new_root ", const char *" put_old );
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -32,14 +32,14 @@ process_vm_readv, process_vm_writev \- transfer data between process address spa
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/uio.h>
|
.B #include <sys/uio.h>
|
||||||
|
.PP
|
||||||
.BI "ssize_t process_vm_readv(pid_t " pid ,
|
.BI "ssize_t process_vm_readv(pid_t " pid ,
|
||||||
.BI " const struct iovec *" local_iov ,
|
.BI " const struct iovec *" local_iov ,
|
||||||
.BI " unsigned long " liovcnt ,
|
.BI " unsigned long " liovcnt ,
|
||||||
.BI " const struct iovec *" remote_iov ,
|
.BI " const struct iovec *" remote_iov ,
|
||||||
.BI " unsigned long " riovcnt ,
|
.BI " unsigned long " riovcnt ,
|
||||||
.BI " unsigned long " flags ");"
|
.BI " unsigned long " flags ");"
|
||||||
|
.PP
|
||||||
.BI "ssize_t process_vm_writev(pid_t " pid ,
|
.BI "ssize_t process_vm_writev(pid_t " pid ,
|
||||||
.BI " const struct iovec *" local_iov ,
|
.BI " const struct iovec *" local_iov ,
|
||||||
.BI " unsigned long " liovcnt ,
|
.BI " unsigned long " liovcnt ,
|
||||||
|
|
|
@ -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 "int query_module(const char *" name ", int " which ", void *" buf ,
|
||||||
.BI " size_t " bufsize ", size_t *" ret );
|
.BI " size_t " bufsize ", size_t *" ret );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
No declaration of this system call is provided in glibc headers; see NOTES.
|
No declaration of this system call is provided in glibc headers; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -36,7 +36,7 @@ readdir \- read directory entry
|
||||||
.BI "int readdir(unsigned int " fd ", struct old_linux_dirent *" dirp ","
|
.BI "int readdir(unsigned int " fd ", struct old_linux_dirent *" dirp ","
|
||||||
.BI " unsigned int " count );
|
.BI " unsigned int " count );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -35,7 +35,7 @@ recvmmsg \- receive multiple messages on a socket
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.BI "#include <sys/socket.h>"
|
.BI "#include <sys/socket.h>"
|
||||||
|
.PP
|
||||||
.BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \
|
.BI "int recvmmsg(int " sockfd ", struct mmsghdr *" msgvec \
|
||||||
", unsigned int " vlen ","
|
", unsigned int " vlen ","
|
||||||
.br
|
.br
|
||||||
|
|
|
@ -44,12 +44,12 @@ rename, renameat, renameat2 \- change the name or location of a file
|
||||||
.PP
|
.PP
|
||||||
.BI "int renameat(int " olddirfd ", const char *" oldpath ,
|
.BI "int renameat(int " olddirfd ", const char *" oldpath ,
|
||||||
.BI " int " newdirfd ", const char *" newpath );
|
.BI " int " newdirfd ", const char *" newpath );
|
||||||
|
.PP
|
||||||
.BI "int renameat2(int " olddirfd ", const char *" oldpath ,
|
.BI "int renameat2(int " olddirfd ", const char *" oldpath ,
|
||||||
.BI " int " newdirfd ", const char *" newpath \
|
.BI " int " newdirfd ", const char *" newpath \
|
||||||
", unsigned int " flags );
|
", unsigned int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for
|
There is no glibc wrapper for
|
||||||
.BR renameat2 ();
|
.BR renameat2 ();
|
||||||
|
|
|
@ -21,7 +21,7 @@ request_key \- request a key from the kernel's key management facility
|
||||||
.BI " const char *" callout_info ,
|
.BI " const char *" callout_info ,
|
||||||
.BI " key_serial_t " dest_keyring ");"
|
.BI " key_serial_t " dest_keyring ");"
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
No glibc wrapper is provided for this system call; see NOTES.
|
No glibc wrapper is provided for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR request_key ()
|
.BR request_key ()
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
restart_syscall \- restart a system call after interruption by a stop signal
|
restart_syscall \- restart a system call after interruption by a stop signal
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B int restart_syscall(void);
|
.B int restart_syscall(void);
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -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 "int rt_tgsigqueueinfo(pid_t " tgid ", pid_t " tid ", int " sig ,
|
||||||
.BI " siginfo_t *" uinfo );
|
.BI " siginfo_t *" uinfo );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -29,7 +29,7 @@ MMIO memory page
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <asm/unistd.h>
|
.B #include <asm/unistd.h>
|
||||||
|
.PP
|
||||||
.BI "int s390_pci_mmio_write(unsigned long " mmio_addr ",
|
.BI "int s390_pci_mmio_write(unsigned long " mmio_addr ",
|
||||||
.BI " void *" user_buffer ", size_t " length ");
|
.BI " void *" user_buffer ", size_t " length ");
|
||||||
.br
|
.br
|
||||||
|
|
|
@ -28,7 +28,7 @@ s390_runtime_instr \- enable/disable s390 CPU run-time instrumentation
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <asm/runtime_instr.h>
|
.B #include <asm/runtime_instr.h>
|
||||||
|
.PP
|
||||||
.BI "int s390_runtime_instr(int " command ", int " signum ");
|
.BI "int s390_runtime_instr(int " command ", int " signum ");
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -30,10 +30,10 @@ set and get scheduling policy and attributes
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sched.h>
|
.B #include <sched.h>
|
||||||
|
.PP
|
||||||
.BI "int sched_setattr(pid_t " pid ", struct sched_attr *" attr ,
|
.BI "int sched_setattr(pid_t " pid ", struct sched_attr *" attr ,
|
||||||
.BI " unsigned int " flags );
|
.BI " unsigned int " flags );
|
||||||
|
.PP
|
||||||
.BI "int sched_getattr(pid_t " pid ", struct sched_attr *" attr ,
|
.BI "int sched_getattr(pid_t " pid ", struct sched_attr *" attr ,
|
||||||
.BI " unsigned int " size ", unsigned int " flags );
|
.BI " unsigned int " size ", unsigned int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -36,7 +36,7 @@ seccomp \- operate on Secure Computing state of the process
|
||||||
.B #include <sys/ptrace.h>
|
.B #include <sys/ptrace.h>
|
||||||
.\" Kees Cook noted: Anything that uses SECCOMP_RET_TRACE returns will
|
.\" Kees Cook noted: Anything that uses SECCOMP_RET_TRACE returns will
|
||||||
.\" need <sys/ptrace.h>
|
.\" need <sys/ptrace.h>
|
||||||
|
.PP
|
||||||
.BI "int seccomp(unsigned int " operation ", unsigned int " flags \
|
.BI "int seccomp(unsigned int " operation ", unsigned int " flags \
|
||||||
", void *" args );
|
", void *" args );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -42,15 +42,11 @@ synchronous I/O multiplexing
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
/* According to POSIX.1-2001, POSIX.1-2008 */
|
/* According to POSIX.1-2001, POSIX.1-2008 */
|
||||||
.br
|
|
||||||
.B #include <sys/select.h>
|
.B #include <sys/select.h>
|
||||||
|
.PP
|
||||||
/* According to earlier standards */
|
/* According to earlier standards */
|
||||||
.br
|
|
||||||
.B #include <sys/time.h>
|
.B #include <sys/time.h>
|
||||||
.br
|
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.br
|
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
.BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
||||||
|
|
|
@ -36,15 +36,11 @@ synchronous I/O multiplexing
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
/* According to POSIX.1-2001, POSIX.1-2008 */
|
/* According to POSIX.1-2001, POSIX.1-2008 */
|
||||||
.br
|
|
||||||
.B #include <sys/select.h>
|
.B #include <sys/select.h>
|
||||||
|
.PP
|
||||||
/* According to earlier standards */
|
/* According to earlier standards */
|
||||||
.br
|
|
||||||
.B #include <sys/time.h>
|
.B #include <sys/time.h>
|
||||||
.br
|
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.br
|
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
.BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
||||||
|
|
|
@ -47,11 +47,11 @@ send, sendto, sendmsg \- send a message on a socket
|
||||||
.PP
|
.PP
|
||||||
.BI "ssize_t send(int " sockfd ", const void *" buf ", size_t " len \
|
.BI "ssize_t send(int " sockfd ", const void *" buf ", size_t " len \
|
||||||
", int " flags );
|
", int " flags );
|
||||||
|
.PP
|
||||||
.BI "ssize_t sendto(int " sockfd ", const void *" buf ", size_t " len \
|
.BI "ssize_t sendto(int " sockfd ", const void *" buf ", size_t " len \
|
||||||
", int " flags ,
|
", int " flags ,
|
||||||
.BI " const struct sockaddr *" dest_addr ", socklen_t " addrlen );
|
.BI " const struct sockaddr *" dest_addr ", socklen_t " addrlen );
|
||||||
|
.PP
|
||||||
.BI "ssize_t sendmsg(int " sockfd ", const struct msghdr *" msg \
|
.BI "ssize_t sendmsg(int " sockfd ", const struct msghdr *" msg \
|
||||||
", int " flags );
|
", int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -32,7 +32,7 @@ sendmmsg \- send multiple messages on a socket
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.BI "#include <sys/socket.h>"
|
.BI "#include <sys/socket.h>"
|
||||||
|
.PP
|
||||||
.BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
|
.BI "int sendmmsg(int " sockfd ", struct mmsghdr *" msgvec \
|
||||||
", unsigned int " vlen ","
|
", unsigned int " vlen ","
|
||||||
.BI " unsigned int " flags ");"
|
.BI " unsigned int " flags ");"
|
||||||
|
|
|
@ -13,11 +13,11 @@ get_thread_area, set_thread_area \- set a GDT entry for thread-local storage
|
||||||
.nf
|
.nf
|
||||||
.B #include <linux/unistd.h>
|
.B #include <linux/unistd.h>
|
||||||
.B #include <asm/ldt.h>
|
.B #include <asm/ldt.h>
|
||||||
|
.PP
|
||||||
.BI "int get_thread_area(struct user_desc *" u_info );
|
.BI "int get_thread_area(struct user_desc *" u_info );
|
||||||
.BI "int set_thread_area(struct user_desc *" u_info );
|
.BI "int set_thread_area(struct user_desc *" u_info );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -31,7 +31,7 @@ set_tid_address \- set pointer to thread ID
|
||||||
.PP
|
.PP
|
||||||
.BI "long set_tid_address(int *" tidptr );
|
.BI "long set_tid_address(int *" tidptr );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -30,7 +30,7 @@ sgetmask, ssetmask \- manipulation of signal mask (obsolete)
|
||||||
.B "long sgetmask(void);"
|
.B "long sgetmask(void);"
|
||||||
.PP
|
.PP
|
||||||
.BI "long ssetmask(long " newmask );
|
.BI "long ssetmask(long " newmask );
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -45,9 +45,9 @@ shmat, shmdt \- System V shared memory operations
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <sys/shm.h>
|
.B #include <sys/shm.h>
|
||||||
|
.PP
|
||||||
.BI "void *shmat(int " shmid ", const void *" shmaddr ", int " shmflg );
|
.BI "void *shmat(int " shmid ", const void *" shmaddr ", int " shmflg );
|
||||||
|
.PP
|
||||||
.BI "int shmdt(const void *" shmaddr );
|
.BI "int shmdt(const void *" shmaddr );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -65,7 +65,7 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.ad l
|
.ad l
|
||||||
.BR sigaction ():
|
.BR sigaction ():
|
||||||
_POSIX_C_SOURCE
|
_POSIX_C_SOURCE
|
||||||
|
.PP
|
||||||
.IR siginfo_t :
|
.IR siginfo_t :
|
||||||
_POSIX_C_SOURCE >= 199309L
|
_POSIX_C_SOURCE >= 199309L
|
||||||
.ad b
|
.ad b
|
||||||
|
|
|
@ -35,16 +35,15 @@ sigprocmask, rt_sigprocmask \- examine and change blocked signals
|
||||||
.nf
|
.nf
|
||||||
/* Prototype for the glibc wrapper function */
|
/* Prototype for the glibc wrapper function */
|
||||||
.BI "int sigprocmask(int " how ", const sigset_t *" set ", sigset_t *" oldset );
|
.BI "int sigprocmask(int " how ", const sigset_t *" set ", sigset_t *" oldset );
|
||||||
|
.PP
|
||||||
/* Prototype for the underlying system call */
|
/* Prototype for the underlying system call */
|
||||||
.BI "int rt_sigprocmask(int " how ", const kernel_sigset_t *" set ,
|
.BI "int rt_sigprocmask(int " how ", const kernel_sigset_t *" set ,
|
||||||
.BI " kernel_sigset_t *" oldset ", size_t " sigsetsize );
|
.BI " kernel_sigset_t *" oldset ", size_t " sigsetsize );
|
||||||
|
.PP
|
||||||
/* Prototype for the legacy system call (deprecated) */
|
/* Prototype for the legacy system call (deprecated) */
|
||||||
.BI "int sigprocmask(int " how ", const old_kernel_sigset_t *" set ,
|
.BI "int sigprocmask(int " how ", const old_kernel_sigset_t *" set ,
|
||||||
.BI " old_kernel_sigset_t *" oldset ); "
|
.BI " old_kernel_sigset_t *" oldset ); "
|
||||||
.fi
|
.fi
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
Feature Test Macro Requirements for glibc (see
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
|
|
@ -30,7 +30,7 @@ splice \- splice data to/from a pipe
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
|
.PP
|
||||||
.BI "ssize_t splice(int " fd_in ", loff_t *" off_in ", int " fd_out ,
|
.BI "ssize_t splice(int " fd_in ", loff_t *" off_in ", int " fd_out ,
|
||||||
.BI " loff_t *" off_out ", size_t " len \
|
.BI " loff_t *" off_out ", size_t " len \
|
||||||
", unsigned int " flags );
|
", unsigned int " flags );
|
||||||
|
|
|
@ -29,12 +29,12 @@ spu_create \- create a new spu context
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <sys/spu.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 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 ");"
|
.BI " int " neighbor_fd ");"
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -29,11 +29,11 @@ spu_run \- execute an SPU context
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/spu.h>
|
.B #include <sys/spu.h>
|
||||||
|
.PP
|
||||||
.BI "int spu_run(int " fd ", unsigned int *" npc \
|
.BI "int spu_run(int " fd ", unsigned int *" npc \
|
||||||
", unsigned int *" event ");"
|
", unsigned int *" event ");"
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -37,11 +37,11 @@ statx \- get file status (extended)
|
||||||
.B #include <sys/stat.h>
|
.B #include <sys/stat.h>
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.BR "#include <fcntl.h> " "/* Definition of AT_* constants */"
|
.BR "#include <fcntl.h> " "/* Definition of AT_* constants */"
|
||||||
|
.PP
|
||||||
.BI "int statx(int " dirfd ", const char *" pathname ", int " flags ","
|
.BI "int statx(int " dirfd ", const char *" pathname ", int " flags ","
|
||||||
.BI " unsigned int " mask ", struct statx *" statxbuf );
|
.BI " unsigned int " mask ", struct statx *" statxbuf );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for
|
There is no glibc wrapper for
|
||||||
.BR statx ();
|
.BR statx ();
|
||||||
|
|
|
@ -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 "long subpage_prot(unsigned long " addr ", unsigned long " len ,
|
||||||
.BI " uint32_t *" map ");
|
.BI " uint32_t *" map ");
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -34,7 +34,7 @@ sync_file_range \- sync a file segment with disk
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
|
.PP
|
||||||
.BI "int sync_file_range(int " fd ", off64_t " offset ", off64_t " nbytes ,
|
.BI "int sync_file_range(int " fd ", off64_t " offset ", off64_t " nbytes ,
|
||||||
.BI " unsigned int " flags );
|
.BI " unsigned int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -47,7 +47,7 @@ syscall \- indirect system call
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.BR "#include <sys/syscall.h> " "/* For SYS_xxx definitions */"
|
.BR "#include <sys/syscall.h> " "/* For SYS_xxx definitions */"
|
||||||
|
.PP
|
||||||
.BI "long syscall(long " number ", ...);"
|
.BI "long syscall(long " number ", ...);"
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -38,7 +38,7 @@ sysctl \- read/write system parameters
|
||||||
.PP
|
.PP
|
||||||
.BI "int _sysctl(struct __sysctl_args *" args );
|
.BI "int _sysctl(struct __sysctl_args *" args );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There is no glibc wrapper for this system call; see NOTES.
|
There is no glibc wrapper for this system call; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
sysfs \- get filesystem type information
|
sysfs \- get filesystem type information
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BI "int sysfs(int " option ", const char *" fsname );
|
.BI "int sysfs(int " option ", const char *" fsname );
|
||||||
|
.PP
|
||||||
.BI "int sysfs(int " option ", unsigned int " fs_index ", char *" buf );
|
.BI "int sysfs(int " option ", unsigned int " fs_index ", char *" buf );
|
||||||
|
.PP
|
||||||
.BI "int sysfs(int " option );
|
.BI "int sysfs(int " option );
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sysfs ()
|
.BR sysfs ()
|
||||||
|
|
|
@ -30,7 +30,7 @@ tee \- duplicating pipe content
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
|
.PP
|
||||||
.BI "ssize_t tee(int " fd_in ", int " fd_out ", size_t " len \
|
.BI "ssize_t tee(int " fd_in ", int " fd_out ", size_t " len \
|
||||||
", unsigned int " flags );
|
", unsigned int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -30,11 +30,11 @@ timer_create \- create a POSIX per-process timer
|
||||||
.nf
|
.nf
|
||||||
.B #include <signal.h>
|
.B #include <signal.h>
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
|
.PP
|
||||||
.BI "int timer_create(clockid_t " clockid ", struct sigevent *" sevp ,
|
.BI "int timer_create(clockid_t " clockid ", struct sigevent *" sevp ,
|
||||||
.BI " timer_t *" timerid );
|
.BI " timer_t *" timerid );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
Link with \fI\-lrt\fP.
|
Link with \fI\-lrt\fP.
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
|
@ -29,10 +29,10 @@ timer_delete \- delete a POSIX per-process timer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
|
.PP
|
||||||
.BI "int timer_delete(timer_t " timerid );
|
.BI "int timer_delete(timer_t " timerid );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
Link with \fI\-lrt\fP.
|
Link with \fI\-lrt\fP.
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
|
@ -29,10 +29,10 @@ timer_getoverrun \- get overrun count for a POSIX per-process timer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
|
.PP
|
||||||
.BI "int timer_getoverrun(timer_t " timerid );
|
.BI "int timer_getoverrun(timer_t " timerid );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
Link with \fI\-lrt\fP.
|
Link with \fI\-lrt\fP.
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
|
@ -30,13 +30,13 @@ state of POSIX per-process timer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
|
.PP
|
||||||
.BI "int timer_settime(timer_t " timerid ", int " flags ,
|
.BI "int timer_settime(timer_t " timerid ", int " flags ,
|
||||||
.BI " const struct itimerspec *" new_value ,
|
.BI " const struct itimerspec *" new_value ,
|
||||||
.BI " struct itimerspec *" old_value );
|
.BI " struct itimerspec *" old_value );
|
||||||
.BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value );
|
.BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
Link with \fI\-lrt\fP.
|
Link with \fI\-lrt\fP.
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
|
@ -35,7 +35,7 @@ tkill, tgkill \- send a signal to a thread
|
||||||
.PP
|
.PP
|
||||||
.BI "int tgkill(int " tgid ", int " tid ", int " sig );
|
.BI "int tgkill(int " tgid ", int " tid ", int " sig );
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
There are no glibc wrappers for these system calls; see NOTES.
|
There are no glibc wrappers for these system calls; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -35,7 +35,7 @@ uselib \- load shared library
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int uselib(const char *" library );
|
.BI "int uselib(const char *" library );
|
||||||
|
.PP
|
||||||
.IR Note :
|
.IR Note :
|
||||||
No declaration of this system call is provided in glibc headers; see NOTES.
|
No declaration of this system call is provided in glibc headers; see NOTES.
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -33,7 +33,7 @@ utimensat, futimens \- change file timestamps with nanosecond precision
|
||||||
.PP
|
.PP
|
||||||
.BI "int utimensat(int " dirfd ", const char *" pathname ,
|
.BI "int utimensat(int " dirfd ", const char *" pathname ,
|
||||||
.BI " const struct timespec " times "[2], int " flags );
|
.BI " const struct timespec " times "[2], int " flags );
|
||||||
|
.PP
|
||||||
.BI "int futimens(int " fd ", const struct timespec " times [2]);
|
.BI "int futimens(int " fd ", const struct timespec " times [2]);
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -31,7 +31,7 @@ vmsplice \- splice user pages into a pipe
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
.B #include <sys/uio.h>
|
.B #include <sys/uio.h>
|
||||||
|
.PP
|
||||||
.BI "ssize_t vmsplice(int " fd ", const struct iovec *" iov ,
|
.BI "ssize_t vmsplice(int " fd ", const struct iovec *" iov ,
|
||||||
.BI " unsigned long " nr_segs ", unsigned int " flags );
|
.BI " unsigned long " nr_segs ", unsigned int " flags );
|
||||||
.fi
|
.fi
|
||||||
|
|
|
@ -55,9 +55,9 @@ wait, waitpid, waitid \- wait for process to change state
|
||||||
.B #include <sys/wait.h>
|
.B #include <sys/wait.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "pid_t wait(int *" "wstatus" );
|
.BI "pid_t wait(int *" "wstatus" );
|
||||||
|
.PP
|
||||||
.BI "pid_t waitpid(pid_t " pid ", int *" wstatus ", int " options );
|
.BI "pid_t waitpid(pid_t " pid ", int *" wstatus ", int " options );
|
||||||
|
.PP
|
||||||
.BI "int waitid(idtype_t " idtype ", id_t " id \
|
.BI "int waitid(idtype_t " idtype ", id_t " id \
|
||||||
", siginfo_t *" infop ", int " options );
|
", siginfo_t *" infop ", int " options );
|
||||||
/* This is the glibc and POSIX interface; see
|
/* This is the glibc and POSIX interface; see
|
||||||
|
|
|
@ -30,7 +30,7 @@ aio_init \- asynchronous I/O initialization
|
||||||
.nf
|
.nf
|
||||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||||
.B "#include <aio.h>"
|
.B "#include <aio.h>"
|
||||||
|
.PP
|
||||||
.BI "void aio_init(const struct aioinit *" init );
|
.BI "void aio_init(const struct aioinit *" init );
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -62,7 +62,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|
||||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
.BR asinhf (),
|
.BR asinhf (),
|
||||||
.BR asinhl ():
|
.BR asinhl ():
|
||||||
.RS 4
|
.RS 4
|
||||||
|
|
|
@ -38,12 +38,12 @@ atan2, atan2f, atan2l \- arc tangent function of two variables
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
|
.PP
|
||||||
.BI "double atan2(double " y ", double " x );
|
.BI "double atan2(double " y ", double " x );
|
||||||
.BI "float atan2f(float " y ", float " x );
|
.BI "float atan2f(float " y ", float " x );
|
||||||
.BI "long double atan2l(long double " y ", long double " x );
|
.BI "long double atan2l(long double " y ", long double " x );
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
Link with \fI\-lm\fP.
|
Link with \fI\-lm\fP.
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
|
@ -62,7 +62,7 @@ _ISOC99_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|
|| /* Since glibc 2.19: */ _DEFAULT_SOURCE
|
||||||
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
|| /* Glibc versions <= 2.19: */ _BSD_SOURCE || _SVID_SOURCE
|
||||||
.RE
|
.RE
|
||||||
|
.PP
|
||||||
.BR atanhf (),
|
.BR atanhf (),
|
||||||
.BR atanhl ():
|
.BR atanhl ():
|
||||||
.RS 4
|
.RS 4
|
||||||
|
|
|
@ -30,17 +30,17 @@ backtrace, backtrace_symbols, backtrace_symbols_fd \- support
|
||||||
for application self-debugging
|
for application self-debugging
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <execinfo.h>
|
.B #include <execinfo.h>
|
||||||
|
.PP
|
||||||
.B int backtrace(void
|
.B int backtrace(void
|
||||||
.BI ** buffer ,
|
.BI ** buffer ,
|
||||||
.B int
|
.B int
|
||||||
.IB size );
|
.IB size );
|
||||||
|
.PP
|
||||||
.B char **backtrace_symbols(void *const
|
.B char **backtrace_symbols(void *const
|
||||||
.BI * buffer ,
|
.BI * buffer ,
|
||||||
.B int
|
.B int
|
||||||
.IB size );
|
.IB size );
|
||||||
|
.PP
|
||||||
.B void backtrace_symbols_fd(void *const
|
.B void backtrace_symbols_fd(void *const
|
||||||
.BI * buffer ,
|
.BI * buffer ,
|
||||||
.B int
|
.B int
|
||||||
|
|
|
@ -32,7 +32,7 @@ basename, dirname \- parse pathname components
|
||||||
.B #include <libgen.h>
|
.B #include <libgen.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "char *dirname(char *" path );
|
.BI "char *dirname(char *" path );
|
||||||
|
.PP
|
||||||
.BI "char *basename(char *" path );
|
.BI "char *basename(char *" path );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -28,7 +28,7 @@ bswap_16, bswap_32, bswap_64 \- reverse order of bytes
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <byteswap.h>
|
.B #include <byteswap.h>
|
||||||
|
.PP
|
||||||
.BI bswap_16( x );
|
.BI bswap_16( x );
|
||||||
.BI bswap_32( x );
|
.BI bswap_32( x );
|
||||||
.BI bswap_64( x );
|
.BI bswap_64( x );
|
||||||
|
|
|
@ -30,7 +30,7 @@ bzero, explicit_bzero \- zero a byte string
|
||||||
.B #include <strings.h>
|
.B #include <strings.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "void bzero(void *" s ", size_t " n );
|
.BI "void bzero(void *" s ", size_t " n );
|
||||||
|
.PP
|
||||||
.B #include <string.h>
|
.B #include <string.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "void explicit_bzero(void *" s ", size_t " n );
|
.BI "void explicit_bzero(void *" s ", size_t " n );
|
||||||
|
|
|
@ -29,7 +29,7 @@ catgets \- get message from a message catalog
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <nl_types.h>
|
.B #include <nl_types.h>
|
||||||
|
.PP
|
||||||
.BI "char *catgets(nl_catd " catalog ", int " set_number \
|
.BI "char *catgets(nl_catd " catalog ", int " set_number \
|
||||||
", int " message_number ,
|
", int " message_number ,
|
||||||
.BI " const char *" message );
|
.BI " const char *" message );
|
||||||
|
|
|
@ -32,7 +32,7 @@ catopen, catclose \- open/close a message catalog
|
||||||
.B #include <nl_types.h>
|
.B #include <nl_types.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "nl_catd catopen(const char *" name ", int " flag );
|
.BI "nl_catd catopen(const char *" name ", int " flag );
|
||||||
|
.PP
|
||||||
.BI "int catclose(nl_catd " catalog );
|
.BI "int catclose(nl_catd " catalog );
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
|
|
|
@ -31,12 +31,12 @@ dladdr, dladdr1 \- translate address to symbolic information
|
||||||
.nf
|
.nf
|
||||||
.B #define _GNU_SOURCE
|
.B #define _GNU_SOURCE
|
||||||
.B #include <dlfcn.h>
|
.B #include <dlfcn.h>
|
||||||
|
.PP
|
||||||
.BI "int dladdr(void *" addr ", Dl_info *" info );
|
.BI "int dladdr(void *" addr ", Dl_info *" info );
|
||||||
|
.PP
|
||||||
.BI "int dladdr1(void *" addr ", Dl_info *" info ", void **" \
|
.BI "int dladdr1(void *" addr ", Dl_info *" info ", void **" \
|
||||||
extra_info ", int " flags );
|
extra_info ", int " flags );
|
||||||
|
.PP
|
||||||
Link with \fI\-ldl\fP.
|
Link with \fI\-ldl\fP.
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -29,7 +29,7 @@ dlsym, dlvsym \- obtain address of a symbol in a shared object or executable
|
||||||
.B #include <dlfcn.h>
|
.B #include <dlfcn.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "void *dlsym(void *" handle ", const char *" symbol );
|
.BI "void *dlsym(void *" handle ", const char *" symbol );
|
||||||
|
.PP
|
||||||
.B #define _GNU_SOURCE
|
.B #define _GNU_SOURCE
|
||||||
.br
|
.br
|
||||||
.B #include <dlfcn.h>
|
.B #include <dlfcn.h>
|
||||||
|
|
|
@ -33,17 +33,17 @@ convert values between host and big-/little-endian byte order
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <endian.h>
|
.B #include <endian.h>
|
||||||
|
.PP
|
||||||
.BI "uint16_t htobe16(uint16_t " host_16bits );
|
.BI "uint16_t htobe16(uint16_t " host_16bits );
|
||||||
.BI "uint16_t htole16(uint16_t " host_16bits );
|
.BI "uint16_t htole16(uint16_t " host_16bits );
|
||||||
.BI "uint16_t be16toh(uint16_t " big_endian_16bits );
|
.BI "uint16_t be16toh(uint16_t " big_endian_16bits );
|
||||||
.BI "uint16_t le16toh(uint16_t " little_endian_16bits );
|
.BI "uint16_t le16toh(uint16_t " little_endian_16bits );
|
||||||
|
.PP
|
||||||
.BI "uint32_t htobe32(uint32_t " host_32bits );
|
.BI "uint32_t htobe32(uint32_t " host_32bits );
|
||||||
.BI "uint32_t htole32(uint32_t " host_32bits );
|
.BI "uint32_t htole32(uint32_t " host_32bits );
|
||||||
.BI "uint32_t be32toh(uint32_t " big_endian_32bits );
|
.BI "uint32_t be32toh(uint32_t " big_endian_32bits );
|
||||||
.BI "uint32_t le32toh(uint32_t " little_endian_32bits );
|
.BI "uint32_t le32toh(uint32_t " little_endian_32bits );
|
||||||
|
.PP
|
||||||
.BI "uint64_t htobe64(uint64_t " host_64bits );
|
.BI "uint64_t htobe64(uint64_t " host_64bits );
|
||||||
.BI "uint64_t htole64(uint64_t " host_64bits );
|
.BI "uint64_t htole64(uint64_t " host_64bits );
|
||||||
.BI "uint64_t be64toh(uint64_t " big_endian_64bits );
|
.BI "uint64_t be64toh(uint64_t " big_endian_64bits );
|
||||||
|
|
|
@ -14,23 +14,23 @@ envz_remove, envz_strip \- environment string support
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B "#include <envz.h>"
|
.B "#include <envz.h>"
|
||||||
|
.PP
|
||||||
.BI "error_t envz_add(char **" envz ", size_t *" envz_len ,
|
.BI "error_t envz_add(char **" envz ", size_t *" envz_len ,
|
||||||
.BI " const char *" name ", const char *" value );
|
.BI " const char *" name ", const char *" value );
|
||||||
|
.PP
|
||||||
.BI "char *envz_entry(const char *" envz ", size_t " envz_len \
|
.BI "char *envz_entry(const char *" envz ", size_t " envz_len \
|
||||||
", const char *" name );
|
", const char *" name );
|
||||||
|
.PP
|
||||||
.BI "char *envz_get(const char *" envz ", size_t " envz_len \
|
.BI "char *envz_get(const char *" envz ", size_t " envz_len \
|
||||||
", const char *" name );
|
", const char *" name );
|
||||||
|
.PP
|
||||||
.BI "error_t envz_merge(char **" envz ", size_t *" envz_len ,
|
.BI "error_t envz_merge(char **" envz ", size_t *" envz_len ,
|
||||||
.BI " const char *" envz2 ", size_t " envz2_len \
|
.BI " const char *" envz2 ", size_t " envz2_len \
|
||||||
", int " override );
|
", int " override );
|
||||||
|
.PP
|
||||||
.BI "void envz_remove(char **" envz ", size_t *" envz_len \
|
.BI "void envz_remove(char **" envz ", size_t *" envz_len \
|
||||||
", const char *" name );
|
", const char *" name );
|
||||||
|
.PP
|
||||||
.BI "void envz_strip(char **" envz ", size_t *" envz_len );
|
.BI "void envz_strip(char **" envz ", size_t *" envz_len );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -38,11 +38,11 @@ erf, erff, erfl, \- error function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
|
.PP
|
||||||
.BI "double erf(double " x );
|
.BI "double erf(double " x );
|
||||||
.BI "float erff(float " x );
|
.BI "float erff(float " x );
|
||||||
.BI "long double erfl(long double " x );
|
.BI "long double erfl(long double " x );
|
||||||
|
.PP
|
||||||
.fi
|
.fi
|
||||||
Link with \fI\-lm\fP.
|
Link with \fI\-lm\fP.
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -29,12 +29,12 @@ erfc, erfcf, erfcl \- complementary error function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
|
.PP
|
||||||
.BI "double erfc(double " x );
|
.BI "double erfc(double " x );
|
||||||
.BI "float erfcf(float " x );
|
.BI "float erfcf(float " x );
|
||||||
.BI "long double erfcl(long double " x );
|
.BI "long double erfcl(long double " x );
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
|
.PP
|
||||||
Link with \fI\-lm\fP.
|
Link with \fI\-lm\fP.
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
10
man3/error.3
10
man3/error.3
|
@ -31,16 +31,16 @@ error_print_progname \- glibc error reporting functions
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <error.h>
|
.B #include <error.h>
|
||||||
|
.PP
|
||||||
.BI "void error(int " status ", int " errnum ", const char *" format ", ...);"
|
.BI "void error(int " status ", int " errnum ", const char *" format ", ...);"
|
||||||
|
.PP
|
||||||
.BI "void error_at_line(int " status ", int " errnum ", const char *" filename ,
|
.BI "void error_at_line(int " status ", int " errnum ", const char *" filename ,
|
||||||
.BI " unsigned int " linenum ", const char *" format ", ...);"
|
.BI " unsigned int " linenum ", const char *" format ", ...);"
|
||||||
|
.PP
|
||||||
.BI "extern unsigned int " error_message_count ;
|
.BI "extern unsigned int " error_message_count ;
|
||||||
|
.PP
|
||||||
.BI "extern int " error_one_per_line ;
|
.BI "extern int " error_one_per_line ;
|
||||||
|
.PP
|
||||||
.BI "extern void (*" error_print_progname ") (void);"
|
.BI "extern void (*" error_print_progname ") (void);"
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -48,11 +48,11 @@ clearerr, feof, ferror, fileno \- check and reset stream status
|
||||||
.B #include <stdio.h>
|
.B #include <stdio.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "void clearerr(FILE *" stream );
|
.BI "void clearerr(FILE *" stream );
|
||||||
|
.PP
|
||||||
.BI "int feof(FILE *" stream );
|
.BI "int feof(FILE *" stream );
|
||||||
|
.PP
|
||||||
.BI "int ferror(FILE *" stream );
|
.BI "int ferror(FILE *" stream );
|
||||||
|
.PP
|
||||||
.BI "int fileno(FILE *" stream );
|
.BI "int fileno(FILE *" stream );
|
||||||
.PP
|
.PP
|
||||||
.in -4n
|
.in -4n
|
||||||
|
|
|
@ -38,7 +38,7 @@ ffs, ffsl, ffsll \- find first bit set in a word
|
||||||
.B #include <strings.h>
|
.B #include <strings.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int ffs(int " i );
|
.BI "int ffs(int " i );
|
||||||
|
.PP
|
||||||
.B #include <string.h>
|
.B #include <string.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int ffsl(long int " i );
|
.BI "int ffsl(long int " i );
|
||||||
|
|
|
@ -32,13 +32,13 @@ fgetc, fgets, getc, getchar, ungetc \- input of characters and strings
|
||||||
.B #include <stdio.h>
|
.B #include <stdio.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "int fgetc(FILE *" stream );
|
.BI "int fgetc(FILE *" stream );
|
||||||
|
.PP
|
||||||
.BI "char *fgets(char *" "s" ", int " "size" ", FILE *" "stream" );
|
.BI "char *fgets(char *" "s" ", int " "size" ", FILE *" "stream" );
|
||||||
|
.PP
|
||||||
.BI "int getc(FILE *" stream );
|
.BI "int getc(FILE *" stream );
|
||||||
|
.PP
|
||||||
.B "int getchar(void);"
|
.B "int getchar(void);"
|
||||||
|
.PP
|
||||||
.BI "int ungetc(int " c ", FILE *" stream );
|
.BI "int ungetc(int " c ", FILE *" stream );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -10,7 +10,7 @@ fmemopen \- open memory as stream
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <stdio.h>
|
.B #include <stdio.h>
|
||||||
|
.PP
|
||||||
.BI "FILE *fmemopen(void *"buf ", size_t "size ", const char *" mode ");"
|
.BI "FILE *fmemopen(void *"buf ", size_t "size ", const char *" mode ");"
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -49,9 +49,9 @@ fopen, fdopen, freopen \- stream open functions
|
||||||
.B #include <stdio.h>
|
.B #include <stdio.h>
|
||||||
.PP
|
.PP
|
||||||
.BI "FILE *fopen(const char *" pathname ", const char *" mode );
|
.BI "FILE *fopen(const char *" pathname ", const char *" mode );
|
||||||
|
.PP
|
||||||
.BI "FILE *fdopen(int " fd ", const char *" mode );
|
.BI "FILE *fdopen(int " fd ", const char *" mode );
|
||||||
|
.PP
|
||||||
.BI "FILE *freopen(const char *" pathname ", const char *" mode ", FILE *" stream );
|
.BI "FILE *freopen(const char *" pathname ", const char *" mode ", FILE *" stream );
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue