🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.userlevel
Article #36

Re: setjmp(3) clarification

#36
From: Joerg Sonnenberger
Date: Sun, 25 Oct 2026 09:49
21 lines
2757 bytes
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


--
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: <5b34c04e-56f8-46ec-bce1-441b40bfcf80@bec.de>
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
References: <at0-XHG3MtDxIzJW@netmeister.org>

Show 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: Joerg Sonnenberger <joerg@bec.de>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: Re: setjmp(3) clarification
Date: Sun, 25 Oct 2026 10:49:18 +0100
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <5b34c04e-56f8-46ec-bce1-441b40bfcf80@bec.de>
References: <at0-XHG3MtDxIzJW@netmeister.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="28831"; mail-complaints-to="news-admin@muc.de"
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (2048-bit key) header.d=bec.de
X-Greylist: delayed 425 seconds by postgrey-1.37 at homeworld.NetBSD.org; Sun, 25 Oct 2026 09:56:26 UTC
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bec.de; s=mail;
	t=1792921758;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=AchBsIqyG/EoiGmuUSqdJ+2/mAhSUCAlABtj9A8vrOg=;
	b=rOBgO3PLkZksBf5nC+MisB8tzRryEWuHCNKnIkRDCSpwJTtB4+lpLcnrGldcKGxCV3vP4e
	20naXZVXuDStr8cPgm0V0hn0oaP42uRuLTVKUWgZg/5b54oLmnQVuNttqkdFxzAO2/af8j
	aC2b7+1NcSF4VeRIgnxb66dtJYbxAbf9UbdpsW2e17+nsL0c1K2Zq9i0QiwrzV+nuIdnvj
	KKOtOUvr0uggRDaTfT+yxRfvmHH8PRwXboByLqvneD1s2EGgvRBKhCzZVYMNwoaI2FhCH4
	1TDYRQFbvI8Eq+CBJh//M6F8ldUjsG5DxYVuo/PNu0xIkFf1fhE0cvdelligEg==
Content-Language: en-US
In-Reply-To: <at0-XHG3MtDxIzJW@netmeister.org>
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes