man-pages/man2/syscalls.2.html
2021-03-31 01:06:50 +01:00

1211 lines
78 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SYSCALLS</TITLE>
</HEAD><BODY>
<H1>SYSCALLS</H1>
Section: Linux Programmer's Manual (2)<BR>Updated: 2019-10-10<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
syscalls - Linux system calls
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
Linux system calls.
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The system call is the fundamental interface between an application
and the Linux kernel.
<A NAME="lbAE">&nbsp;</A>
<H3>System calls and library wrapper functions</H3>
System calls are generally not invoked directly,
but rather via wrapper functions in glibc (or perhaps some other library).
For details of direct invocation of a system call, see
<B><A HREF="/cgi-bin/man/man2html?2+intro">intro</A></B>(2).
Often, but not always, the name of the wrapper function is the same
as the name of the system call that it invokes.
For example, glibc contains a function
<B>chdir</B>()
which invokes the underlying &quot;chdir&quot; system call.
<P>
Often the glibc wrapper function is quite thin, doing little work
other than copying arguments to the right registers
before invoking the system call,
and then setting
<I>errno</I>
appropriately after the system call has returned.
(These are the same steps that are performed by
<B><A HREF="/cgi-bin/man/man2html?2+syscall">syscall</A></B>(2),
which can be used to invoke system calls
for which no wrapper function is provided.)
Note: system calls indicate a failure by returning a negative error
number to the caller on architectures without a separate error register/flag,
as noted in
<B><A HREF="/cgi-bin/man/man2html?2+syscall">syscall</A></B>(2);
when this happens,
the wrapper function negates the returned error number
(to make it positive), copies it to
<I>errno</I>,
and returns -1 to the caller of the wrapper.
<P>
Sometimes, however, the wrapper function does some extra work
before invoking the system call.
For example, nowadays there are (for reasons described below) two
related system calls,
<B><A HREF="/cgi-bin/man/man2html?2+truncate">truncate</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+truncate64">truncate64</A></B>(2),
and the glibc
<B>truncate</B>()
wrapper function checks which of those system calls
are provided by the kernel and determines which should be employed.
<A NAME="lbAF">&nbsp;</A>
<H3>System call list</H3>
Below is a list of the Linux system calls.
In the list, the
<I>Kernel</I>
column indicates the kernel version
for those system calls that were new in Linux 2.2,
or have appeared since that kernel version.
Note the following points:
<DL COMPACT>
<DT id="1">*<DD>
Where no kernel version is indicated,
the system call appeared in kernel 1.0 or earlier.
<DT id="2">*<DD>
Where a system call is marked &quot;1.2&quot;
this means the system call probably appeared in a 1.1.x kernel version,
and first appeared in a stable kernel with 1.2.
(Development of the 1.2 kernel was initiated from a branch of kernel
1.0.6 via the 1.1.x unstable kernel series.)
<DT id="3">*<DD>
Where a system call is marked &quot;2.0&quot;
this means the system call probably appeared in a 1.3.x kernel version,
and first appeared in a stable kernel with 2.0.
(Development of the 2.0 kernel was initiated from a branch of kernel
1.2.x, somewhere around 1.2.10,
via the 1.3.x unstable kernel series.)
<DT id="4">*<DD>
Where a system call is marked &quot;2.2&quot;
this means the system call probably appeared in a 2.1.x kernel version,
and first appeared in a stable kernel with 2.2.0.
(Development of the 2.2 kernel was initiated from a branch of kernel
2.0.21 via the 2.1.x unstable kernel series.)
<DT id="5">*<DD>
Where a system call is marked &quot;2.4&quot;
this means the system call probably appeared in a 2.3.x kernel version,
and first appeared in a stable kernel with 2.4.0.
(Development of the 2.4 kernel was initiated from a branch of
kernel 2.2.8 via the 2.3.x unstable kernel series.)
<DT id="6">*<DD>
Where a system call is marked &quot;2.6&quot;
this means the system call probably appeared in a 2.5.x kernel version,
and first appeared in a stable kernel with 2.6.0.
(Development of kernel 2.6 was initiated from a branch
of kernel 2.4.15 via the 2.5.x unstable kernel series.)
<DT id="7">*<DD>
Starting with kernel 2.6.0, the development model changed,
and new system calls may appear in each 2.6.x release.
In this case, the exact version number where the system call appeared
is shown.
This convention continues with the 3.x kernel series,
which followed on from kernel 2.6.39, and the 4.x kernel series,
which followed on from kernel 3.19.
<DT id="8">*<DD>
In some cases, a system call was added to a stable kernel
series after it branched from the previous stable kernel
series, and then backported into the earlier stable kernel series.
For example some system calls that appeared in 2.6.x were also backported
into a 2.4.x release after 2.4.15.
When this is so, the version where the system call appeared
in both of the major kernel series is listed.
</DL>
<P>
The list of system calls that are available as at kernel 4.19
(or in a few cases only on older kernels) is as follows:
<TABLE>
<TR VALIGN=top><TD><B>System call</B>&nbsp;&nbsp;</TD><TD><B>Kernel</B></TD><TD><B>Notes</B><BR></TD></TR>
<TR VALIGN=top><TD></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+_llseek">_llseek</A></B>(2)</TD><TD>1.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+_newselect">_newselect</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+_sysctl">_sysctl</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+accept">accept</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+accept4">accept4</A></B>(2)</TD><TD>2.6.28</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+access">access</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+acct">acct</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+add_key">add_key</A></B>(2)</TD><TD>2.6.10</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+adjtimex">adjtimex</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+alarm">alarm</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+alloc_hugepages">alloc_hugepages</A></B>(2)</TD><TD>2.5.36</TD><TD>Removed in 2.5.44<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+arc_gettls">arc_gettls</A></B>(2)</TD><TD>3.9</TD><TD>ARC only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+arc_settls">arc_settls</A></B>(2)</TD><TD>3.9</TD><TD>ARC only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+arc_usr_cmpxchg">arc_usr_cmpxchg</A></B>(2)</TD><TD>4.9</TD><TD>ARC only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+arch_prctl">arch_prctl</A></B>(2)</TD><TD>2.6</TD><TD>x86_64, x86 since 4.12<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+atomic_barrier">atomic_barrier</A></B>(2)</TD><TD>2.6.34</TD><TD>m68k only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+atomic_cmpxchg_32">atomic_cmpxchg_32</A></B>(2)</TD><TD>2.6.34</TD><TD>m68k only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+bdflush">bdflush</A></B>(2)</TD><TD>1.2</TD><TD>
Deprecated (does nothing)
<BR>
since 2.6
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+bfin_spinlock">bfin_spinlock</A></B>(2)</TD><TD>2.6.22</TD><TD>
Blackfin only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+bind">bind</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+bpf">bpf</A></B>(2)</TD><TD>3.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+brk">brk</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+breakpoint">breakpoint</A></B>(2)</TD><TD>2.2</TD><TD>
ARM OABI only, defined with
<BR>
<B>__ARM_NR</B> prefix
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+cacheflush">cacheflush</A></B>(2)</TD><TD>1.2</TD><TD>Not on x86<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+capget">capget</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+capset">capset</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+chdir">chdir</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+chmod">chmod</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+chown">chown</A></B>(2)</TD><TD>2.2</TD><TD>
See <B><A HREF="/cgi-bin/man/man2html?2+chown">chown</A></B>(2) for
<BR>
version details
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+chown32">chown32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+chroot">chroot</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clock_adjtime">clock_adjtime</A></B>(2)</TD><TD>2.6.39</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clock_getres">clock_getres</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clock_gettime">clock_gettime</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clock_nanosleep">clock_nanosleep</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clock_settime">clock_settime</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clone2">clone2</A></B>(2)</TD><TD>2.4</TD><TD>IA-64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clone">clone</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+clone3">clone3</A></B>(2)</TD><TD>5.3</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+close">close</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+cmpxchg_badaddr">cmpxchg_badaddr</A></B>(2)</TD><TD>2.6.36</TD><TD>
Tile only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+connect">connect</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+copy_file_range">copy_file_range</A></B>(2)</TD><TD>4.5</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+creat">creat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+create_module">create_module</A></B>(2)</TD><TD>1.0</TD><TD>Removed in 2.6<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+delete_module">delete_module</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+dma_memcpy">dma_memcpy</A></B>(2)</TD><TD>2.6.22</TD><TD>
Blackfin only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+dup">dup</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+dup2">dup2</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+dup3">dup3</A></B>(2)</TD><TD>2.6.27</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+epoll_create">epoll_create</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+epoll_create1">epoll_create1</A></B>(2)</TD><TD>2.6.27</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+epoll_ctl">epoll_ctl</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+epoll_pwait">epoll_pwait</A></B>(2)</TD><TD>2.6.19</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+epoll_wait">epoll_wait</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+eventfd">eventfd</A></B>(2)</TD><TD>2.6.22</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+eventfd2">eventfd2</A></B>(2)</TD><TD>2.6.27</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+execv">execv</A></B>(2)</TD><TD>2.0</TD><TD>
SPARC/SPARC64 only, for
<BR>
compatibility with SunOS
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+execve">execve</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+execveat">execveat</A></B>(2)</TD><TD>3.19</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+exit">exit</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+exit_group">exit_group</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+faccessat">faccessat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fadvise64">fadvise64</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fadvise64_64">fadvise64_64</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fallocate">fallocate</A></B>(2)</TD><TD>2.6.23</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fanotify_init">fanotify_init</A></B>(2)</TD><TD>2.6.37</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fanotify_mark">fanotify_mark</A></B>(2)</TD><TD>2.6.37</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fchdir">fchdir</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fchmod">fchmod</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fchmodat">fchmodat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fchown">fchown</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fchown32">fchown32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fchownat">fchownat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fcntl">fcntl</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fcntl64">fcntl64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fdatasync">fdatasync</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fgetxattr">fgetxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+finit_module">finit_module</A></B>(2)</TD><TD>3.8</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+flistxattr">flistxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+flock">flock</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fork">fork</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+free_hugepages">free_hugepages</A></B>(2)</TD><TD>2.5.36</TD><TD>Removed in 2.5.44<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fremovexattr">fremovexattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fsconfig">fsconfig</A></B>(2)</TD><TD>5.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fsetxattr">fsetxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fsmount">fsmount</A></B>(2)</TD><TD>5.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fsopen">fsopen</A></B>(2)</TD><TD>5.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fspick">fspick</A></B>(2)</TD><TD>5.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fstat">fstat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fstat64">fstat64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fstatat64">fstatat64</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fstatfs">fstatfs</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fstatfs64">fstatfs64</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+fsync">fsync</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ftruncate">ftruncate</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ftruncate64">ftruncate64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+futex">futex</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+futimesat">futimesat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+get_kernel_syms">get_kernel_syms</A></B>(2)</TD><TD>1.0</TD><TD>Removed in 2.6<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+get_mempolicy">get_mempolicy</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+get_robust_list">get_robust_list</A></B>(2)</TD><TD>2.6.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+get_thread_area">get_thread_area</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+get_tls">get_tls</A></B>(2)</TD><TD>4.15</TD><TD>
ARM OABI only, has
<BR>
<B>__ARM_NR</B> prefix
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getcpu">getcpu</A></B>(2)</TD><TD>2.6.19</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getcwd">getcwd</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getdents">getdents</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getdents64">getdents64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getdomainname">getdomainname</A></B>(2)</TD><TD>2.2</TD><TD>
SPARC, SPARC64; available
<BR>
as <B><A HREF="/cgi-bin/man/man2html?2+osf_getdomainname">osf_getdomainname</A></B>(2)
<BR>
on Alpha since Linux 2.0
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getdtablesize">getdtablesize</A></B>(2)</TD><TD>2.0</TD><TD>
SPARC (removed in 2.6.26),
<BR>
available since Linux 2.0 on Alpha as
<B><A HREF="/cgi-bin/man/man2html?2+osf_getdtablesize">osf_getdtablesize</A></B>(2)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getegid">getegid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getegid32">getegid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+geteuid">geteuid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+geteuid32">geteuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getgid">getgid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getgid32">getgid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getgroups">getgroups</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getgroups32">getgroups32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+gethostname">gethostname</A></B>(2)</TD><TD>2.0</TD><TD>
Alpha, was available on
<BR>
SPARC up to Linux 2.6.26
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getitimer">getitimer</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getpeername">getpeername</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getpagesize">getpagesize</A></B>(2)</TD><TD>2.0</TD><TD>Not on x86<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getpgid">getpgid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getpgrp">getpgrp</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getpid">getpid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getppid">getppid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getpriority">getpriority</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getrandom">getrandom</A></B>(2)</TD><TD>3.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getresgid">getresgid</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getresgid32">getresgid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getresuid">getresuid</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getresuid32">getresuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getrlimit">getrlimit</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getrusage">getrusage</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getsid">getsid</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getsockname">getsockname</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getsockopt">getsockopt</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+gettid">gettid</A></B>(2)</TD><TD>2.4.11</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+gettimeofday">gettimeofday</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getuid">getuid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getuid32">getuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getunwind">getunwind</A></B>(2)</TD><TD>2.4.8</TD><TD>IA-64 only; deprecated<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getxattr">getxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getxgid">getxgid</A></B>(2)</TD><TD>2.0</TD><TD>Alpha only; see NOTES<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getxpid">getxpid</A></B>(2)</TD><TD>2.0</TD><TD>Alpha only; see NOTES<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+getxuid">getxuid</A></B>(2)</TD><TD>2.0</TD><TD>Alpha only; see NOTES<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+init_module">init_module</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+inotify_add_watch">inotify_add_watch</A></B>(2)</TD><TD>2.6.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+inotify_init">inotify_init</A></B>(2)</TD><TD>2.6.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+inotify_init1">inotify_init1</A></B>(2)</TD><TD>2.6.27</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+inotify_rm_watch">inotify_rm_watch</A></B>(2)</TD><TD>2.6.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_cancel">io_cancel</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_destroy">io_destroy</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_getevents">io_getevents</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_pgetevents">io_pgetevents</A></B>(2)</TD><TD>4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_setup">io_setup</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_submit">io_submit</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_uring_enter">io_uring_enter</A></B>(2)</TD><TD>5.1</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_uring_register">io_uring_register</A></B>(2)</TD><TD>5.1</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+io_uring_setup">io_uring_setup</A></B>(2)</TD><TD>5.1</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ioctl">ioctl</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ioperm">ioperm</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+iopl">iopl</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ioprio_get">ioprio_get</A></B>(2)</TD><TD>2.6.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ioprio_set">ioprio_set</A></B>(2)</TD><TD>2.6.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+kcmp">kcmp</A></B>(2)</TD><TD>3.5</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+kern_features">kern_features</A></B>(2)</TD><TD>3.7</TD><TD>SPARC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+kexec_file_load">kexec_file_load</A></B>(2)</TD><TD>3.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+kexec_load">kexec_load</A></B>(2)</TD><TD>2.6.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+keyctl">keyctl</A></B>(2)</TD><TD>2.6.10</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+kill">kill</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lchown">lchown</A></B>(2)</TD><TD>1.0</TD><TD>
See <B><A HREF="/cgi-bin/man/man2html?2+chown">chown</A></B>(2) for
<BR>
version details
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lchown32">lchown32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lgetxattr">lgetxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+link">link</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+linkat">linkat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+listen">listen</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+listxattr">listxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+llistxattr">llistxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lookup_dcookie">lookup_dcookie</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lremovexattr">lremovexattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lseek">lseek</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lsetxattr">lsetxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lstat">lstat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+lstat64">lstat64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+madvise">madvise</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mbind">mbind</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+memory_ordering">memory_ordering</A></B>(2)</TD><TD>2.2</TD><TD>SPARC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+metag_get_tls">metag_get_tls</A></B>(2)</TD><TD>3.9</TD><TD>
Metag only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+metag_set_fpu_flags">metag_set_fpu_flags</A></B>(2)</TD><TD>3.9</TD><TD>
Metag only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+metag_set_tls">metag_set_tls</A></B>(2)</TD><TD>3.9</TD><TD>
Metag only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+metag_setglobalbit">metag_setglobalbit</A></B>(2)</TD><TD>3.9</TD><TD>
Metag only (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+membarrier">membarrier</A></B>(2)</TD><TD>3.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+memfd_create">memfd_create</A></B>(2)</TD><TD>3.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+migrate_pages">migrate_pages</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mincore">mincore</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mkdir">mkdir</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mkdirat">mkdirat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mknod">mknod</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mknodat">mknodat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mlock">mlock</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mlock2">mlock2</A></B>(2)</TD><TD>4.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mlockall">mlockall</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mmap">mmap</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mmap2">mmap2</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+modify_ldt">modify_ldt</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mount">mount</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+move_mount">move_mount</A></B>(2)</TD><TD>5.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+move_pages">move_pages</A></B>(2)</TD><TD>2.6.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mprotect">mprotect</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mq_getsetattr">mq_getsetattr</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mq_notify">mq_notify</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mq_open">mq_open</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mq_timedreceive">mq_timedreceive</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mq_timedsend">mq_timedsend</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mq_unlink">mq_unlink</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+mremap">mremap</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+msgctl">msgctl</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+msgget">msgget</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+msgrcv">msgrcv</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+msgsnd">msgsnd</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+msync">msync</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+munlock">munlock</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+munlockall">munlockall</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+munmap">munmap</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+name_to_handle_at">name_to_handle_at</A></B>(2)</TD><TD>2.6.39</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+nanosleep">nanosleep</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+newfstatat">newfstatat</A></B>(2)</TD><TD>2.6.16</TD><TD>See <B><A HREF="/cgi-bin/man/man2html?2+stat">stat</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+nfsservctl">nfsservctl</A></B>(2)</TD><TD>2.2</TD><TD>Removed in 3.1<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+nice">nice</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+old_adjtimex">old_adjtimex</A></B>(2)</TD><TD>2.0</TD><TD>Alpha only; see NOTES<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+old_getrlimit">old_getrlimit</A></B>(2)</TD><TD>2.4</TD><TD>
Old variant of <B><A HREF="/cgi-bin/man/man2html?2+getrlimit">getrlimit</A></B>(2)
<BR>
that used a different value
<BR>
for <B>RLIM_INFINITY</B>
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+oldfstat">oldfstat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+oldlstat">oldlstat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+oldolduname">oldolduname</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+oldstat">oldstat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+oldumount">oldumount</A></B>(2)</TD><TD>2.4.116</TD><TD>
Name of the old <B><A HREF="/cgi-bin/man/man2html?2+umount">umount</A></B>(2)
<BR>
syscall on Alpha
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+olduname">olduname</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+open">open</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+open_by_handle_at">open_by_handle_at</A></B>(2)</TD><TD>2.6.39</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+open_tree">open_tree</A></B>(2)</TD><TD>5.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+openat">openat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+or1k_atomic">or1k_atomic</A></B>(2)</TD><TD>3.1</TD><TD>OpenRISC 1000 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pause">pause</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pciconfig_iobase">pciconfig_iobase</A></B>(2)</TD><TD>2.2.15; 2.4</TD><TD>Not on x86<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pciconfig_read">pciconfig_read</A></B>(2)</TD><TD>2.0.26; 2.2</TD><TD>Not on x86<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pciconfig_write">pciconfig_write</A></B>(2)</TD><TD>2.0.26; 2.2</TD><TD>Not on x86<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+perf_event_open">perf_event_open</A></B>(2)</TD><TD>2.6.31</TD><TD>
Was perf_counter_open() in
<BR>
2.6.31; renamed in 2.6.32
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+personality">personality</A></B>(2)</TD><TD>1.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+perfctr">perfctr</A></B>(2)</TD><TD>2.2</TD><TD>SPARC only; removed in 2.6.34<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+perfmonctl">perfmonctl</A></B>(2)</TD><TD>2.4</TD><TD>IA-64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pidfd_send_signal">pidfd_send_signal</A></B>(2)</TD><TD>5.1</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pidfd_open">pidfd_open</A></B>(2)</TD><TD>5.3</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pipe">pipe</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pipe2">pipe2</A></B>(2)</TD><TD>2.6.27</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pivot_root">pivot_root</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pkey_alloc">pkey_alloc</A></B>(2)</TD><TD>4.8</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pkey_free">pkey_free</A></B>(2)</TD><TD>4.8</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pkey_mprotect">pkey_mprotect</A></B>(2)</TD><TD>4.8</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+poll">poll</A></B>(2)</TD><TD>2.0.36; 2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ppoll">ppoll</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+prctl">prctl</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pread">pread</A></B>(2)</TD><TD></TD><TD>
Used for <B><A HREF="/cgi-bin/man/man2html?2+pread64">pread64</A></B>(2) on AVR32
<BR>
(port removed in Linux 4.12)
<BR>
and Blackfin (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pread64">pread64</A></B>(2)</TD><TD></TD><TD>
Added as &quot;pread&quot; in 2.2;
<BR>
renamed &quot;pread64&quot; in 2.6
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+preadv">preadv</A></B>(2)</TD><TD>2.6.30</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+preadv2">preadv2</A></B>(2)</TD><TD>4.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+prlimit64">prlimit64</A></B>(2)</TD><TD>2.6.36</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+process_vm_readv">process_vm_readv</A></B>(2)</TD><TD>3.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+process_vm_writev">process_vm_writev</A></B>(2)</TD><TD>3.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pselect6">pselect6</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ptrace">ptrace</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pwrite">pwrite</A></B>(2)</TD><TD></TD><TD>
Used for <B><A HREF="/cgi-bin/man/man2html?2+pwrite64">pwrite64</A></B>(2) on AVR32
(port removed in Linux 4.12)
and Blackfin (port removed
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pwrite64">pwrite64</A></B>(2)</TD><TD></TD><TD>
Added as &quot;pwrite&quot; in 2.2;
<BR>
renamed &quot;pwrite64&quot; in 2.6
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pwritev">pwritev</A></B>(2)</TD><TD>2.6.30</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+pwritev2">pwritev2</A></B>(2)</TD><TD>4.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+query_module">query_module</A></B>(2)</TD><TD>2.2</TD><TD>Removed in 2.6<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+quotactl">quotactl</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+read">read</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+readahead">readahead</A></B>(2)</TD><TD>2.4.13</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+readdir">readdir</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+readlink">readlink</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+readlinkat">readlinkat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+readv">readv</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+reboot">reboot</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+recv">recv</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+recvfrom">recvfrom</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+recvmsg">recvmsg</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+recvmmsg">recvmmsg</A></B>(2)</TD><TD>2.6.33</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+remap_file_pages">remap_file_pages</A></B>(2)</TD><TD>2.6</TD><TD>Deprecated since 3.16<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+removexattr">removexattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rename">rename</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+renameat">renameat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+renameat2">renameat2</A></B>(2)</TD><TD>3.15</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+request_key">request_key</A></B>(2)</TD><TD>2.6.10</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+restart_syscall">restart_syscall</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+riscv_flush_icache">riscv_flush_icache</A></B>(2)</TD><TD>4.15</TD><TD>RISC-V only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rmdir">rmdir</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rseq">rseq</A></B>(2)</TD><TD>4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigaction">rt_sigaction</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigpending">rt_sigpending</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigprocmask">rt_sigprocmask</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigqueueinfo">rt_sigqueueinfo</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigreturn">rt_sigreturn</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigsuspend">rt_sigsuspend</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_sigtimedwait">rt_sigtimedwait</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rt_tgsigqueueinfo">rt_tgsigqueueinfo</A></B>(2)</TD><TD>2.6.31</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+rtas">rtas</A></B>(2)</TD><TD>2.6.2</TD><TD>PowerPC/PowerPC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+s390_runtime_instr">s390_runtime_instr</A></B>(2)</TD><TD>3.7</TD><TD>s390 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+s390_pci_mmio_read">s390_pci_mmio_read</A></B>(2)</TD><TD>3.19</TD><TD>s390 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+s390_pci_mmio_write">s390_pci_mmio_write</A></B>(2)</TD><TD>3.19</TD><TD>s390 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+s390_sthyi">s390_sthyi</A></B>(2)</TD><TD>4.15</TD><TD>s390 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+s390_guarded_storage">s390_guarded_storage</A></B>(2)</TD><TD>4.12</TD><TD>s390 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_get_affinity">sched_get_affinity</A></B>(2)</TD><TD>2.6</TD><TD>
Name of <B><A HREF="/cgi-bin/man/man2html?2+sched_getaffinity">sched_getaffinity</A></B>(2)
<BR>
on SPARC and SPARC64
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_get_priority_max">sched_get_priority_max</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_get_priority_min">sched_get_priority_min</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_getaffinity">sched_getaffinity</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_getattr">sched_getattr</A></B>(2)</TD><TD>3.14</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_getparam">sched_getparam</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_getscheduler">sched_getscheduler</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_rr_get_interval">sched_rr_get_interval</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_set_affinity">sched_set_affinity</A></B>(2)</TD><TD>2.6</TD><TD>
Name of <B><A HREF="/cgi-bin/man/man2html?2+sched_setaffinity">sched_setaffinity</A></B>(2)
<BR>
on SPARC and SPARC64
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_setaffinity">sched_setaffinity</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_setattr">sched_setattr</A></B>(2)</TD><TD>3.14</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_setparam">sched_setparam</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_setscheduler">sched_setscheduler</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sched_yield">sched_yield</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+seccomp">seccomp</A></B>(2)</TD><TD>3.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+select">select</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+semctl">semctl</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+semget">semget</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+semop">semop</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+semtimedop">semtimedop</A></B>(2)</TD><TD>2.6; 2.4.22</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+send">send</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sendfile">sendfile</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sendfile64">sendfile64</A></B>(2)</TD><TD>2.6; 2.4.19</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sendmmsg">sendmmsg</A></B>(2)</TD><TD>3.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sendmsg">sendmsg</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sendto">sendto</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+set_mempolicy">set_mempolicy</A></B>(2)</TD><TD>2.6.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+set_robust_list">set_robust_list</A></B>(2)</TD><TD>2.6.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+set_thread_area">set_thread_area</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+set_tid_address">set_tid_address</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+set_tls">set_tls</A></B>(2)</TD><TD>2.6.11</TD><TD>
ARM OABI/EABI only (constant
<BR>
has <B>__ARM_NR</B> prefix)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setdomainname">setdomainname</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setfsgid">setfsgid</A></B>(2)</TD><TD>1.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setfsgid32">setfsgid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setfsuid">setfsuid</A></B>(2)</TD><TD>1.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setfsuid32">setfsuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setgid">setgid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setgid32">setgid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setgroups">setgroups</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setgroups32">setgroups32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sethae">sethae</A></B>(2)</TD><TD>2.0</TD><TD>Alpha only; see NOTES<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sethostname">sethostname</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setitimer">setitimer</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setns">setns</A></B>(2)</TD><TD>3.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setpgid">setpgid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setpgrp">setpgrp</A></B>(2)</TD><TD>2.0</TD><TD>
Alternative name for
<BR>
<B><A HREF="/cgi-bin/man/man2html?2+setpgid">setpgid</A></B>(2) on Alpha
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setpriority">setpriority</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setregid">setregid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setregid32">setregid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setresgid">setresgid</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setresgid32">setresgid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setresuid">setresuid</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setresuid32">setresuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setreuid">setreuid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setreuid32">setreuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setrlimit">setrlimit</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setsid">setsid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setsockopt">setsockopt</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+settimeofday">settimeofday</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setuid">setuid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setuid32">setuid32</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setup">setup</A></B>(2)</TD><TD>1.0</TD><TD>Removed in 2.2<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+setxattr">setxattr</A></B>(2)</TD><TD>2.6; 2.4.18</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sgetmask">sgetmask</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+shmat">shmat</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+shmctl">shmctl</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+shmdt">shmdt</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+shmget">shmget</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+shutdown">shutdown</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sigaction">sigaction</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sigaltstack">sigaltstack</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+signal">signal</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+signalfd">signalfd</A></B>(2)</TD><TD>2.6.22</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+signalfd4">signalfd4</A></B>(2)</TD><TD>2.6.27</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sigpending">sigpending</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sigprocmask">sigprocmask</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sigreturn">sigreturn</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sigsuspend">sigsuspend</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+socket">socket</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+socketpair">socketpair</A></B>(2)</TD><TD>2.0</TD><TD>See notes on <B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+spill">spill</A></B>(2)</TD><TD>2.6.13</TD><TD>Xtensa only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+splice">splice</A></B>(2)</TD><TD>2.6.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+spu_create">spu_create</A></B>(2)</TD><TD>2.6.16</TD><TD>PowerPC/PowerPC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+spu_run">spu_run</A></B>(2)</TD><TD>2.6.16</TD><TD>PowerPC/PowerPC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sram_alloc">sram_alloc</A></B>(2)</TD><TD>2.6.22</TD><TD>
Blackfin (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sram_free">sram_free</A></B>(2)</TD><TD>2.6.22</TD><TD>
Blackfin (port removed
<BR>
in Linux 4.17)
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ssetmask">ssetmask</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+stat">stat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+stat64">stat64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+statfs">statfs</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+statfs64">statfs64</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+statx">statx</A></B>(2)</TD><TD>4.11</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+stime">stime</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+subpage_prot">subpage_prot</A></B>(2)</TD><TD>2.6.25</TD><TD>PowerPC/PowerPC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+swapcontext">swapcontext</A></B>(2)</TD><TD>2.6.3</TD><TD>PowerPC/PowerPC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+switch_endian">switch_endian</A></B>(2)</TD><TD>4.1</TD><TD>PowerPC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+swapcontext">swapcontext</A></B>(2)</TD><TD>2.6.3</TD><TD>PowerPC only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+swapoff">swapoff</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+swapon">swapon</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+symlink">symlink</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+symlinkat">symlinkat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sync">sync</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sync_file_range">sync_file_range</A></B>(2)</TD><TD>2.6.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sync_file_range2">sync_file_range2</A></B>(2)</TD><TD>2.6.22</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+syncfs">syncfs</A></B>(2)</TD><TD>2.6.39</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sys_debug_setcontext">sys_debug_setcontext</A></B>(2)</TD><TD>2.6.11</TD><TD>PowerPC only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+syscall">syscall</A></B>(2)</TD><TD>1.0</TD><TD>
Still available on ARM OABI
<BR>
and MIPS O32 ABI
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sysfs">sysfs</A></B>(2)</TD><TD>1.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sysinfo">sysinfo</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+syslog">syslog</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+sysmips">sysmips</A></B>(2)</TD><TD>2.6.0</TD><TD>MIPS only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+tee">tee</A></B>(2)</TD><TD>2.6.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+tgkill">tgkill</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+time">time</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timer_create">timer_create</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timer_delete">timer_delete</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timer_getoverrun">timer_getoverrun</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timer_gettime">timer_gettime</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timer_settime">timer_settime</A></B>(2)</TD><TD>2.6</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timerfd_create">timerfd_create</A></B>(2)</TD><TD>2.6.25</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timerfd_gettime">timerfd_gettime</A></B>(2)</TD><TD>2.6.25</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+timerfd_settime">timerfd_settime</A></B>(2)</TD><TD>2.6.25</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+times">times</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+tkill">tkill</A></B>(2)</TD><TD>2.6; 2.4.22</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+truncate">truncate</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+truncate64">truncate64</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ugetrlimit">ugetrlimit</A></B>(2)</TD><TD>2.4</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+umask">umask</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+umount">umount</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+umount2">umount2</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+uname">uname</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+unlink">unlink</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+unlinkat">unlinkat</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+unshare">unshare</A></B>(2)</TD><TD>2.6.16</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+uselib">uselib</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+ustat">ustat</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+userfaultfd">userfaultfd</A></B>(2)</TD><TD>4.3</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+usr26">usr26</A></B>(2)</TD><TD>2.4.8.1</TD><TD>ARM OABI only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+usr32">usr32</A></B>(2)</TD><TD>2.4.8.1</TD><TD>ARM OABI only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+utime">utime</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+utimensat">utimensat</A></B>(2)</TD><TD>2.6.22</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+utimes">utimes</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+utrap_install">utrap_install</A></B>(2)</TD><TD>2.2</TD><TD>SPARC64 only<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+vfork">vfork</A></B>(2)</TD><TD>2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+vhangup">vhangup</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+vm86old">vm86old</A></B>(2)</TD><TD>1.0</TD><TD>
Was &quot;vm86&quot;; renamed in
2.0.28/2.2
<BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+vm86">vm86</A></B>(2)</TD><TD>2.0.28; 2.2</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+vmsplice">vmsplice</A></B>(2)</TD><TD>2.6.17</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+wait4">wait4</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+waitid">waitid</A></B>(2)</TD><TD>2.6.10</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+waitpid">waitpid</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+write">write</A></B>(2)</TD><TD>1.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+writev">writev</A></B>(2)</TD><TD>2.0</TD><TD><BR></TD></TR>
<TR VALIGN=top><TD><B><A HREF="/cgi-bin/man/man2html?2+xtensa">xtensa</A></B>(2)</TD><TD>2.6.13</TD><TD>Xtensa only<BR></TD></TR>
</TABLE>
<P>
On many platforms, including x86-32, socket calls are all multiplexed
(via glibc wrapper functions) through
<B><A HREF="/cgi-bin/man/man2html?2+socketcall">socketcall</A></B>(2)
and similarly System&nbsp;V IPC calls are multiplexed through
<B><A HREF="/cgi-bin/man/man2html?2+ipc">ipc</A></B>(2).
<P>
Although slots are reserved for them in the system call table,
the following system calls are not implemented in the standard kernel:
<B><A HREF="/cgi-bin/man/man2html?2+afs_syscall">afs_syscall</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+break">break</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+ftime">ftime</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+getpmsg">getpmsg</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+gtty">gtty</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+idle">idle</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+lock">lock</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+madvise1">madvise1</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+mpx">mpx</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+phys">phys</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+prof">prof</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+profil">profil</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+putpmsg">putpmsg</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+security">security</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+stty">stty</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+tuxcall">tuxcall</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+ulimit">ulimit</A></B>(2),
and
<B><A HREF="/cgi-bin/man/man2html?2+vserver">vserver</A></B>(2)
(see also
<B><A HREF="/cgi-bin/man/man2html?2+unimplemented">unimplemented</A></B>(2)).
However,
<B><A HREF="/cgi-bin/man/man2html?3+ftime">ftime</A></B>(3),
<B><A HREF="/cgi-bin/man/man2html?3+profil">profil</A></B>(3),
and
<B><A HREF="/cgi-bin/man/man2html?3+ulimit">ulimit</A></B>(3)
exist as library routines.
The slot for
<B><A HREF="/cgi-bin/man/man2html?2+phys">phys</A></B>(2)
is in use since kernel 2.1.116 for
<B><A HREF="/cgi-bin/man/man2html?2+umount">umount</A></B>(2);
<B><A HREF="/cgi-bin/man/man2html?2+phys">phys</A></B>(2)
will never be implemented.
The
<B><A HREF="/cgi-bin/man/man2html?2+getpmsg">getpmsg</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+putpmsg">putpmsg</A></B>(2)
calls are for kernels patched to support STREAMS,
and may never be in the standard kernel.
<P>
There was briefly
<B><A HREF="/cgi-bin/man/man2html?2+set_zone_reclaim">set_zone_reclaim</A></B>(2),
added in Linux 2.6.13, and removed in 2.6.16;
this system call was never available to user space.
<A NAME="lbAG">&nbsp;</A>
<H2>NOTES</H2>
<P>
Roughly speaking, the code belonging to the system call
with number __NR_xxx defined in
<I>/usr/include/asm/unistd.h</I>
can be found in the Linux kernel source in the routine
<I>sys_xxx</I>().
There are many exceptions, however, mostly because
older system calls were superseded by newer ones,
and this has been treated somewhat unsystematically.
On platforms with
proprietary operating-system emulation,
such as sparc, sparc64, and alpha,
there are many additional system calls; mips64 also contains a full
set of 32-bit system calls.
<P>
Over time, changes to the interfaces of some system calls have been
necessary.
One reason for such changes was the need to increase the size of
structures or scalar values passed to the system call.
Because of these changes, certain architectures
(notably, longstanding 32-bit architectures such as i386)
now have various groups of related system calls (e.g.,
<B><A HREF="/cgi-bin/man/man2html?2+truncate">truncate</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+truncate64">truncate64</A></B>(2))
which perform similar tasks, but which vary in
details such as the size of their arguments.
(As noted earlier, applications are generally unaware of this:
the glibc wrapper functions do some work to ensure that the right
system call is invoked, and that ABI compatibility is
preserved for old binaries.)
Examples of systems calls that exist in multiple versions are
the following:
<DL COMPACT>
<DT id="9">*<DD>
By now there are three different versions of
<B><A HREF="/cgi-bin/man/man2html?2+stat">stat</A></B>(2):
<I>sys_stat</I>()
(slot
<I>__NR_oldstat</I>),
<I>sys_newstat</I>()
(slot
<I>__NR_stat</I>),
and
<I>sys_stat64</I>()
(slot
<I>__NR_stat64</I>),
with the last being the most current.
A similar story applies for
<B><A HREF="/cgi-bin/man/man2html?2+lstat">lstat</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+fstat">fstat</A></B>(2).
<DT id="10">*<DD>
Similarly, the defines
<I>__NR_oldolduname</I>,
<I>__NR_olduname</I>,
and
<I>__NR_uname</I>
refer to the routines
<I>sys_olduname</I>(),
<I>sys_uname</I>()
and
<I>sys_newuname</I>().
<DT id="11">*<DD>
In Linux 2.0, a new version of
<B><A HREF="/cgi-bin/man/man2html?2+vm86">vm86</A></B>(2)
appeared, with the old and the new kernel routines being named
<I>sys_vm86old</I>()
and
<I>sys_vm86</I>().
<DT id="12">*<DD>
In Linux 2.4, a new version of
<B><A HREF="/cgi-bin/man/man2html?2+getrlimit">getrlimit</A></B>(2)
appeared, with the old and the new kernel routines being named
<I>sys_old_getrlimit</I>()
(slot
<I>__NR_getrlimit</I>)
and
<I>sys_getrlimit</I>()
(slot
<I>__NR_ugetrlimit</I>).
<DT id="13">*<DD>
Linux 2.4 increased the size of user and group IDs from 16 to 32 bits.
To support this change, a range of system calls were added
(e.g.,
<B><A HREF="/cgi-bin/man/man2html?2+chown32">chown32</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+getuid32">getuid32</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+getgroups32">getgroups32</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+setresuid32">setresuid32</A></B>(2)),
superseding earlier calls of the same name without the
&quot;32&quot; suffix.
<DT id="14">*<DD>
Linux 2.4 added support for applications on 32-bit architectures
to access large files (i.e., files for which the sizes and
file offsets can't be represented in 32 bits.)
To support this change, replacements were required for system calls
that deal with file offsets and sizes.
Thus the following system calls were added:
<B><A HREF="/cgi-bin/man/man2html?2+fcntl64">fcntl64</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+getdents64">getdents64</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+stat64">stat64</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+statfs64">statfs64</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+truncate64">truncate64</A></B>(2),
and their analogs that work with file descriptors or
symbolic links.
These system calls supersede the older system calls
which, except in the case of the &quot;stat&quot; calls,
have the same name without the &quot;64&quot; suffix.
<DT id="15"><DD>
On newer platforms that only have 64-bit file access and 32-bit UIDs/GIDs
(e.g., alpha, ia64, s390x, x86-64), there is just a single version of
the UID/GID and file access system calls.
On platforms (typically, 32-bit platforms) where the *64 and *32 calls exist,
the other versions are obsolete.
<DT id="16">*<DD>
The
<I>rt_sig*</I>
calls were added in kernel 2.2 to support the addition
of real-time signals (see
<B><A HREF="/cgi-bin/man/man2html?7+signal">signal</A></B>(7)).
These system calls supersede the older system calls of the same
name without the &quot;rt_&quot; prefix.
<DT id="17">*<DD>
The
<B><A HREF="/cgi-bin/man/man2html?2+select">select</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+mmap">mmap</A></B>(2)
system calls use five or more arguments,
which caused problems in the way
argument passing on the i386 used to be set up.
Thus, while other architectures have
<I>sys_select</I>()
and
<I>sys_mmap</I>()
corresponding to
<I>__NR_select</I>
and
<I>__NR_mmap</I>,
on i386 one finds
<I>old_select</I>()
and
<I>old_mmap</I>()
(routines that use a pointer to an
argument block) instead.
These days passing five arguments
is not a problem any more, and there is a
<I>__NR__newselect</I>
that corresponds directly to
<I>sys_select</I>()
and similarly
<I>__NR_mmap2</I>.
s390x is the only 64-bit architecture that has
<I>old_mmap</I>().
</DL>
<A NAME="lbAH">&nbsp;</A>
<H3>Architecture-specific details: Alpha</H3>
<DL COMPACT>
<DT id="18">*<DD>
<B><A HREF="/cgi-bin/man/man2html?2+getxgid">getxgid</A></B>(2)
returns a pair of GID and effective GID via registers
<B>r0</B> and <B>r20</B>; it is provided
instead of
<B><A HREF="/cgi-bin/man/man2html?2+getgid">getgid</A></B>(2) and <B><A HREF="/cgi-bin/man/man2html?2+getegid">getegid</A></B>(2).
<DT id="19">*<DD>
<B><A HREF="/cgi-bin/man/man2html?2+getxpid">getxpid</A></B>(2)
returns a pair of PID and parent PID via registers
<B>r0</B> and <B>r20</B>; it is provided instead of
<B><A HREF="/cgi-bin/man/man2html?2+getpid">getpid</A></B>(2) and <B><A HREF="/cgi-bin/man/man2html?2+getppid">getppid</A></B>(2).
<DT id="20">*<DD>
<B><A HREF="/cgi-bin/man/man2html?2+old_adjtimex">old_adjtimex</A></B>(2)
is a variant of <B><A HREF="/cgi-bin/man/man2html?2+adjtimex">adjtimex</A></B>(2) that uses <I>struct timeval32</I>,
for compatibility with OSF/1.
<DT id="21">*<DD>
<B><A HREF="/cgi-bin/man/man2html?2+getxuid">getxuid</A></B>(2)
returns a pair of GID and effective GID via registers
<B>r0</B> and <B>r20</B>; it is provided instead of
<B><A HREF="/cgi-bin/man/man2html?2+getuid">getuid</A></B>(2) and <B><A HREF="/cgi-bin/man/man2html?2+geteuid">geteuid</A></B>(2).
<DT id="22">*<DD>
<B><A HREF="/cgi-bin/man/man2html?2+sethae">sethae</A></B>(2)
is used for configuring the Host Address Extension register on
low-cost Alphas in order to access address space beyond first 27 bits.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?2+intro">intro</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+syscall">syscall</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+unimplemented">unimplemented</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?3+errno">errno</A></B>(3),
<B><A HREF="/cgi-bin/man/man2html?7+libc">libc</A></B>(7),
<B><A HREF="/cgi-bin/man/man2html?7+vdso">vdso</A></B>(7)
<A NAME="lbAJ">&nbsp;</A>
<H2>COLOPHON</H2>
This page is part of release 5.05 of the Linux
<I>man-pages</I>
project.
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="23"><A HREF="#lbAB">NAME</A><DD>
<DT id="24"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="25"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DL>
<DT id="26"><A HREF="#lbAE">System calls and library wrapper functions</A><DD>
<DT id="27"><A HREF="#lbAF">System call list</A><DD>
</DL>
<DT id="28"><A HREF="#lbAG">NOTES</A><DD>
<DL>
<DT id="29"><A HREF="#lbAH">Architecture-specific details: Alpha</A><DD>
</DL>
<DT id="30"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="31"><A HREF="#lbAJ">COLOPHON</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:35 GMT, March 31, 2021
</BODY>
</HTML>