Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v3shg9$1htuf$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v3shg9$1htuf$1@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Malcolm McLean <malcolm.arthur.mclean@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Running an editor from ANSI C
Date: Thu, 6 Jun 2024 15:35:53 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <v3shg9$1htuf$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> <v3sg75$1hmum$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 06 Jun 2024 16:35:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fd1a4517109bed24a981b559f1527ee3";
	logging-data="1636303"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+RWOGn3msiuhm8IwIee5nQ7AujksFFNWs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:ivJRAYPmPHbW5P/edV8OY+jwAFw=
In-Reply-To: <v3sg75$1hmum$1@dont-email.me>
Content-Language: en-GB
Bytes: 2194

On 06/06/2024 15:13, Richard Harnden wrote:
> 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.
> 
It doesn't work.

The only way I can get the Baby X shell to run nano is to use tmpnam().
I've tried mkstemp insteaad, and I just can't find a way.

tmpfile() is a different kind of a function. Only on very constrained
systems will it actually write anything to the backing store.

-- 
Check out Basic Algorithms and my other books:
https://www.lulu.com/spotlight/bgy1mm