30 Jul
2009
30 Jul
'09
8:02 p.m.
On Thu, 2009-07-30 at 13:44 -0400, Timo Sirainen wrote:
RETURN VALUE posix_fallocate() returns zero on success, or an error number on fail‐ ure. Note that errno is not set.
What the hell were POSIX people thinking?? This is the first syscall I've seen that behaves like this, and apparently without any good reason! Wonder how many other new system calls there are like this, that I haven't noticed yet..
Looks like all posix_*() syscalls do that. Wonder if there are more.