🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: setjmp(3) clarification

#39
From: Greg Troxel
Date: Sun, 25 Oct 2026 15:54
25 lines
2474 bytes
Martin Husemann <martin@duskware.de> 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</>.




--
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: <rmiqzhd7p47.fsf@s1.lexort.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.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: <at4XIY3yvi8_sZMq@big-apple.aprisoft.de> <>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.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: Greg Troxel <gdt@lexort.com>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: Re: setjmp(3) clarification
Date: Sun, 25 Oct 2026 11:54:00 -0400
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <rmiqzhd7p47.fsf@s1.lexort.com>
References: <at4XIY3yvi8_sZMq@big-apple.aprisoft.de> <>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="81687"; mail-complaints-to="news-admin@muc.de"
User-Agent: Gnus/5.13 (Gnus v5.13)
Authentication-Results: mail.netbsd.org (amavisd-new);
	dkim=pass (1024-bit key) header.d=lexort.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lexort.com; s=mail;
	t=1792943640; bh=jWJh0dzPit848BGX+7PbCQWuygD+VAj04qpGp/2x6Fw=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date;
	b=IMqaSTMOV0TtZSwMm6mOuZcYz0PZ2IUqsmGSizc1sy6wRNdmrBkuY63Sk7tkLZJuG
	 jb0hDQG2ZUcFq+HK5iEFJxBbRWDWvl4NrUmpDJKTh5tpFtnCOEo8yDr8cXGPIFW2cF
	 E7ySu8f/m2mQ96V/JgZb1t2g/Syip9nY02tIyQSI=
In-Reply-To: <at4XIY3yvi8_sZMq@big-apple.aprisoft.de> (Martin Husemann's
	message of "Sun, 25 Oct 2026 15:50:09 +0100")
OpenPGP: id=098ED60E
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes