tech-misc archive

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

Re: __attribute__((warn_unused_result)) for NetBSD?



>> 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,

Doesn't work?  In what sense?  (It looks reasonable to me; I'm
wondering what I'm missing.)

> so now it's sort of both and the real semantics are poorly specified.

Well, yeah, if POSIX didn't bother specifying exactly what they meant,
I can see that would be a problem.

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index