On 09/19/2018 07:12 PM, Eugene Syromyatnikov wrote: > Signed-off-by: Eugene Syromyatnikov <evgsyr@xxxxxxxxx> Thanks. Patch applied. Cheers, Michael > --- > 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 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/