Article View: comp.lang.c
Article #1274Re: C: a question about scope automatics in C
From: Ross Finlayson
Date: Mon, 02 Nov 2026 21:24
Date: Mon, 02 Nov 2026 21:24
14 lines
2026 bytes
2026 bytes
On 11/02/2026 12:18 PM, Lawrence D’Oliveiro wrote: > 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>. > Thanks for reading and writing.
Technical Details
Message-ID:
<FxudnfdFcNMEYnX3nZ2dnZfqn_cAAAAA@giganews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.17.MISMATCH!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<oOScndMmgZhYRXX3nZ2dnZfqnPGdnZ2d@giganews.com> <11car7j$36bpo$5@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.17.MISMATCH!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 02 Nov 2026 21:24:40 +0000 Subject: Re: C: a question about scope automatics in C Newsgroups: comp.lang.c References: <oOScndMmgZhYRXX3nZ2dnZfqnPGdnZ2d@giganews.com> <11car7j$36bpo$5@dont-email.me> From: Ross Finlayson <ross.a.finlayson@gmail.com> Date: Mon, 2 Nov 2026 13:24:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <11car7j$36bpo$5@dont-email.me> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <FxudnfdFcNMEYnX3nZ2dnZfqn_cAAAAA@giganews.com> Lines: 14 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-k97eV6QUsWKf083xNh1+CWsHTV3QTv3skt7lnXXtyaZNNtSjz7ZePg5yAdHKvJXNCYMuLn0gH9xXV9A!C0ZrFn3Yr5JP1Gp5rwuqnU/HtxjRfKXkeOLmPS/qE4TNk+dz0f1VJzuGAuBLck6eNtZOQ4siVVo= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Received-Bytes: 1792