summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Noack <gnoack3000@gmail.com>2023-04-20 22:08:41 +0200
committerAlejandro Colomar <alx@kernel.org>2023-04-21 02:09:43 +0200
commit0100a2b36e5f901f8befa792619285ddbf98ef51 (patch)
tree8fd2644c4e77f83383d6f56cc268ea716284c968
parent04e686326f03a28c187e00821e234b2ecd0fab5b (diff)
syscall.2: Document ENOSYS error
Link: <https://lore.kernel.org/linux-man/31ecebc5-1b97-b610-a097-f260ec4d4c8d@gmail.com/> Suggested-by: Alejandro Colomar <alx@kernel.org> Signed-off-by: Günther Noack <gnoack3000@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man2/syscall.26
1 files changed, 6 insertions, 0 deletions
diff --git a/man2/syscall.2 b/man2/syscall.2
index 55233ac51..0ba537f4f 100644
--- a/man2/syscall.2
+++ b/man2/syscall.2
@@ -64,6 +64,12 @@ In general, a 0 return value indicates success.
A \-1 return value indicates an error,
and an error number is stored in
.IR errno .
+.SH ERRORS
+.TP
+.B ENOSYS
+The requested system call number is not implemented.
+.PP
+Other errors are specific to the invoked system call.
.SH NOTES
.BR syscall ()
first appeared in