Sujet : Re: Python (was Re: I did not inhale)
De : david.brown (at) *nospam* hesbynett.no (David Brown)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 19. Aug 2024, 08:44:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9ut5o$2pm4m$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
On 18/08/2024 21:24, Keith Thompson wrote:
David Brown <david.brown@hesbynett.no> writes:
[...]
Without looking it up, what does the C standard library "fegetmode"
function do?
Nothing, it's specific to GNU libc.
(This has been discussed in a follow-up in comp.lang.c, but others here might not see that.)
The function is in standard C23, but not earlier C standard versions. C23 has not yet been adopted by ISO (it is due in a couple of months), so "fegetmode" is not part of current standard C. But it will be soon.
Anyway, the point is that most C programmers can write useful C code without knowing about such functions. I didn't intend to pick a new C23 function as an example, just a relatively obscure C standard library function, and the standard version I happened to have open at the time was C23.