Re: __attribute__((warn_unused_result)) for NetBSD?

der Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
>> 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		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.