From 0100a2b36e5f901f8befa792619285ddbf98ef51 Mon Sep 17 00:00:00 2001 From: Günther Noack Date: Thu, 20 Apr 2023 22:08:41 +0200 Subject: syscall.2: Document ENOSYS error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link: Suggested-by: Alejandro Colomar Signed-off-by: Günther Noack Signed-off-by: Alejandro Colomar --- man2/syscall.2 | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3