Maxim Sobolev <> writes:
> Hi, while working on some unrelated feature I've noticed that at least
> those two system calls are not returning proper value (-1) on error.
> Instead actual errno value is returned from the syscall verbatim,
> i.e. posix_fadvise() returns 22 on EINVAL.

That's how syscalls work.

Dag-Erling Smørgrav -
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to