tech-misc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: __attribute__((warn_unused_result)) for NetBSD?



On Mon, Sep 15, 2008 at 02:58:20PM -0400, der Mouse wrote:
 > > Otherwise isn't this an auto-restarted call?
 > 
 > I thought syscall restart was an attribute of the signal, not the call.
 > (Well, calls do have a "this call is restartable" attribute too.)

Traditionally, it's an attribute of the call. Then POSIX stuck their
oar in and decided it ought to be an attribute of the signal;
unfortunately, that doesn't work, so now it's sort of both and the
real semantics are poorly specified.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index