Article View: muc.lists.netbsd.tech.userlevel
Article #32setjmp(3) clarification
From: Jan Schaumann
Date: Sat, 24 Oct 2026 23:25
Date: Sat, 24 Oct 2026 23:25
59 lines
3241 bytes
3241 bytes
--73St8WFddzvjtAO4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, setjmp(3) notes that the functions "save their calling environment". 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. Does that seem reasonable? -Jan --73St8WFddzvjtAO4 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=diff Index: setjmp.3 =================================================================== RCS file: /cvsroot/src/lib/libc/gen/setjmp.3,v retrieving revision 1.18 diff -u -p -r1.18 setjmp.3 --- setjmp.3 24 May 2021 23:59:59 -0000 1.18 +++ setjmp.3 24 Oct 2026 21:55:00 -0000 @@ -33,7 +33,7 @@ .\" .\" @(#)setjmp.3 8.1 (Berkeley) 6/4/93 .\" -.Dd June 1, 2008 +.Dd October 24, 2026 .Dt SETJMP 3 .Os .Sh NAME @@ -69,7 +69,9 @@ The .Fn setjmp , and .Fn _setjmp -functions save their calling environment in +functions save their calling stack environment (a register +set including the stack pointer, instruction pointer, +and possibly signal mask) in .Fa env . Each of these functions returns 0. .Pp --73St8WFddzvjtAO4-- -- Posted automagically by a mail2news gateway at muc.de e.V. Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<at0-XHG3MtDxIzJW@netmeister.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Jan Schaumann <jschauma@netmeister.org> Newsgroups: muc.lists.netbsd.tech.userlevel Subject: setjmp(3) clarification Date: Sat, 24 Oct 2026 19:25:16 -0400 Organization: Newsgate at muc.de e.V. Sender: tech-userlevel-owner@NetBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <at0-XHG3MtDxIzJW@netmeister.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="73St8WFddzvjtAO4" Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="74139"; mail-complaints-to="news-admin@muc.de" Authentication-Results: mail.netbsd.org (amavisd-new); dkim=pass (2048-bit key) header.d=netmeister.org X-Greylist: delayed 405 seconds by postgrey-1.37 at homeworld.NetBSD.org; Sat, 24 Oct 2026 23:32:05 UTC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netmeister.org; s=2026; t=1792884316; bh=2AbrwydxEQLzVrlM98f6MMv3B+q7HK/T1u8AI5TXTFk=; h=From:To:Subject:Content-Type:From:To:Subject; b=YyUQsvfn/XwcIjFedb+gnz2NZMOviAtgqXBzo0EuolgnYIX/QHbpMmoktd2uMwiyR yv+IrW7TL0bRj2T22EzhFVfuVR0BYGQCV25PThaHGyA0aFnyFxhem0Uy8E7FfRpPBN q+8SxkijSRD1Cn2qTXkdc9mrzFt6AFXgaV1l3AAKeCwdGvxGph2yu+T9yviiBN9BsM 4+vDUatY3FDEQu2jrWhv7pvJZ3Qh8b5+Lk4p/hzfVm8WqIBSYnG3SWPt5NCAG7deIJ Q2spx2rh5reT12cTGfy61/5ePEs00fyoKJg63hiEIWjp0BiwFYjmUk0BgpbVRUofns 0RUZHxT0+jCkQ== Content-Disposition: inline Precedence: bulk X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes