tech-userlevel archive

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

Re: setjmp(3) clarification



On 10/25/26 1:25 AM, Jan Schaumann wrote:

For many people perusing library function manual
pages, the term "environment" primarily brings to mind
the _process_ environment (as in "environment
variables").

I think it might be useful to nudge people's thinking
a bit more towards the actual meaning.

I think this is misleading just as much. On most architectures, we in fact don't have to save all the registers and we shouldn't promise to do that either. It's a functional call, so anything not caller-preserved can be gone.

Joerg



Home | Main Index | Thread Index | Old Index