Re: Running an editor from ANSI C

Liste des GroupesRevenir à l c 
Sujet : Re: Running an editor from ANSI C
De : richard.nospam (at) *nospam* gmail.invalid (Richard Harnden)
Groupes : comp.lang.c
Date : 06. Jun 2024, 15:13:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3sg75$1hmum$1@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Mozilla Thunderbird
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.

Date Sujet#  Auteur
6 Jun 24 * Re: Running an editor from ANSI C3Richard Harnden
6 Jun 24 `* Re: Running an editor from ANSI C2Malcolm McLean
7 Jun 24  `- Re: Running an editor from ANSI C1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal