From 0db324e2e5d9d3347ea0e93138372fb65aac09e6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:09 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/_syscall.2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'man2/_syscall.2') diff --git a/man2/_syscall.2 b/man2/_syscall.2 index ef6542f..84612a1 100644 --- a/man2/_syscall.2 +++ b/man2/_syscall.2 @@ -16,15 +16,15 @@ .\" 2007-10-23 mtk: created as a new page, by taking the content .\" specific to the _syscall() macros from intro(2). .\" -.TH _syscall 2 2023-05-03 "Linux man-pages 6.05.01" +.TH _syscall 2 2024-02-26 "Linux man-pages 6.7" .SH NAME _syscall \- invoking a system call without library support (OBSOLETE) .SH SYNOPSIS .nf .B #include -.PP +.P A _syscall macro -.PP +.P desired system call .fi .SH DESCRIPTION @@ -33,13 +33,13 @@ You need to know how many arguments, their types, and the function return type. There are seven macros that make the actual call into the system easier. They have the form: -.PP +.P .in +4n .EX .RI _syscall X ( type , name , type1 , arg1 , type2 , arg2 ,...) .EE .in -.PP +.P where .IP .I X @@ -57,7 +57,7 @@ is the Nth argument's type .IP .I argN is the name of the Nth argument -.PP +.P These macros create a function called .I name with the arguments you @@ -85,7 +85,7 @@ The _syscall() macros produce a prototype. You may have to create one, especially for C++ users. -.PP +.P System calls are not required to return only positive or negative error codes. You need to read the source to be sure how it will return errors. @@ -106,7 +106,7 @@ when is negative. For the error codes, see .BR errno (3). -.PP +.P When defining a system call, the argument types .I must be @@ -123,7 +123,7 @@ passed by-value or by-pointer (for aggregates like structs). .\" Otherwise, the use of a _syscall macro is required. .\" .SH EXAMPLES -.\" [[deprecated]] SRC BEGIN (_syscall.c) +.\" SRC BEGIN (_syscall.c) .EX #include #include -- cgit v1.2.3