Article View: comp.lang.c
Article #1270Re: C: a question about scope automatics in C
From: Lawrence D’Oliveiro
Date: Mon, 02 Nov 2026 20:18
Date: Mon, 02 Nov 2026 20:18
8 lines
1526 bytes
1526 bytes
On Mon, 2 Nov 2026 10:38:44 -0800, Ross Finlayson wrote: > [mumble] ... or any way to make for when a variable goes out of > scope (block-scope, or, function-scope) to make any account of > cleanup of it. GNU C has the “cleanup” attribute <https://gcc.gnu.org/onlinedocs/gcc-16.2.0/gcc/Common-Attributes.html>.
Technical Details
Message-ID:
<11car7j$36bpo$5@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<oOScndMmgZhYRXX3nZ2dnZfqnPGdnZ2d@giganews.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.c Subject: Re: C: a question about scope automatics in C Date: Mon, 2 Nov 2026 20:18:59 -0000 (UTC) Organization: A noiseless patient Spider Lines: 8 Message-ID: <11car7j$36bpo$5@dont-email.me> References: <oOScndMmgZhYRXX3nZ2dnZfqnPGdnZ2d@giganews.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 02 Nov 2026 20:19:00 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3354424"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/8Cz5BQx+LRIETfgX2/8G4"; posting-host="5a31d8056b64a207d32442e0db60c257" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:hrqzUC+txtzosOK2KlaADusG8pU= sha256:RmJpEr2LcXnXEMHu2m2sN0JBMgJSs90G123041Zq02E= sha1:RGJ66h1d8D+BHgwycdv4jHVJhGM= sha256:8owlNzt6bVbX+W1JOdYQ6i3vVqTS4mzuEoR1tRT0PMk=