[Dovecot] POSIX stupidity
Timo Sirainen
tss at iki.fi
Thu Jul 30 21:02:32 EEST 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090730/bbc5a80d/attachment.bin
More information about the dovecot
mailing list