Sujet : Re: Running an editor from ANSI C
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.lang.cDate : 07. Jun 2024, 10:31:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v3uk0l$20s0s$2@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
On 07/06/2024 02:36, Lawrence D'Oliveiro wrote:
On Thu, 06 Jun 2024 12:54:57 -0700, Keith Thompson wrote:
(mkstemp() is more flexible, but is not defined by ISO C.)
I’ve said this before: C is essentially crippled without a POSIX layer
underneath.
And you were also wrong the last time you said that.
Pure standard C89/C90 and its standard library is not sufficient for a good implementation of the kind of thing Malcolm is trying to make here. But that's not surprising - it was never designed or intended to be sufficient for such projects.
But many people have lots of use of programming in C without any kind of POSIX functionality - your claim is clearly wild and unhelpful exaggeration at best.