tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: setjmp(3) clarification
Martin Husemann <martin%duskware.de@localhost> writes:
> I would leave the text as-is.
https://pubs.opengroup.org/onlinepubs/9799919799/functions/setjmp.html
POSIX says, with a note that really ISO C defines it:
A call to setjmp() shall save the calling environment in its env
argument for later use by longjmp().
I think the man page is fine as is, and that we should not wordsmith
text from ISO C and POSIX. The explanatory text about setjmp/longjmp
seems reasonably clear, given that this is a fairly advanced programming
concept. So I see nothing that needs fixing in NetBSD.
If someone thinks the ISO C text should change, <humor>I'm sure they
have a public bug-tracker someplace</>.
Home |
Main Index |
Thread Index |
Old Index