aboutsummaryrefslogtreecommitdiffstats
path: root/man2/intro.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/intro.2')
-rw-r--r--man2/intro.28
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/intro.2 b/man2/intro.2
index d0d18dc67a..ea9a84c6ce 100644
--- a/man2/intro.2
+++ b/man2/intro.2
@@ -39,7 +39,7 @@ wrapper functions which perform the steps required
the system call.
Thus, making a system call looks the same as invoking a normal
library function.
-
+.PP
In many cases, the C library wrapper function does nothing more than:
.IP * 3
copying arguments and the unique system call number to the
@@ -62,7 +62,7 @@ try to note the details of both the (usually GNU) C library API
interface and the raw system call.
Most commonly, the main DESCRIPTION will focus on the C library interface,
and differences for the system call are covered in the NOTES section.
-
+.PP
For a list of the Linux system calls, see
.BR syscalls (2).
.SH RETURN VALUE
@@ -74,12 +74,12 @@ system call returns a negative value, the wrapper copies the
absolute value into the
.I errno
variable, and returns \-1 as the return value of the wrapper.
-
+.PP
The value returned by a successful system call depends on the call.
Many system calls return 0 on success, but some can return nonzero
values from a successful call.
The details are described in the individual manual pages.
-
+.PP
In some cases,
the programmer must define a feature test macro in order to obtain
the declaration of a system call from the header file specified