Deutsch   English   Français   Italiano  
<v3sg75$1hmum$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Richard Harnden <richard.nospam@gmail.invalid>
Newsgroups: comp.lang.c
Subject: Re: Running an editor from ANSI C
Date: Thu, 6 Jun 2024 15:13:55 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <v3sg75$1hmum$1@dont-email.me>
References: <v3pge7$uf2i$1@dont-email.me> <v3r2pl$16mtl$1@dont-email.me>
 <v3r7v8$1b57j$1@dont-email.me> <v3rek5$1c4i5$1@dont-email.me>
 <v3rrtm$1e6g8$1@dont-email.me> <v3ru84$1eafb$1@dont-email.me>
 <Pcj8O.2409$R506.1932@fx36.iad>
Reply-To: richard.harnden@invalid.com
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 06 Jun 2024 16:13:57 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="22accba3d974c695475b46a2100770d0";
	logging-data="1629142"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18AyQ2vfxctWQHB5dJE7ZTxDFRZEmLxgtQ="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:9jMeRFwjjB9X94rS3HXEnOXR4qw=
In-Reply-To: <Pcj8O.2409$R506.1932@fx36.iad>
Content-Language: en-GB
Bytes: 1813

On 06/06/2024 14:54, Scott Lurndal wrote:
> David Brown <david.brown@hesbynett.no> writes:
>> On 06/06/2024 10:27, Malcolm McLean wrote:
>>
>>> It does work. But my compiler warns about rmpnam() being deprecated.
>>>
>>
>> I presume you mean "tmpnam()" here.  No, it has not been deprecated -
> 
> True, but at least one form of it is not thread-safe.
> 

My man page (Linux man-pages 6.04, 2023-03-30) says that both tmpnam and 
tmpnam_r are deprecated, and you should use mkstemp(3) or tmpfile(3) 
instead.