Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx> --- man2/syscalls.2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man2/syscalls.2 b/man2/syscalls.2 index 1a4256c..d1c4eb4 100644 --- a/man2/syscalls.2 +++ b/man2/syscalls.2 @@ -58,7 +58,9 @@ appropriately after the system call has returned. 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; +number to the caller on architectures without a separate error register/flag, +as noted in +.BR syscall (2); when this happens, the wrapper function negates the returned error number (to make it positive), copies it to -- 2.1.4