Re: Writing own source disk

Liste des GroupesRevenir à l c 
Sujet : Re: Writing own source disk
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.c
Date : 05. Jun 2024, 19:10:58
Autres entêtes
Organisation : None to speak of
Message-ID : <87wmn3z2dp.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Mikko <mikko.levanto@iki.fi> writes:
On 2024-06-04 00:35:25 +0000, Keith Thompson said:
[...]
#embed is of course handled at compile time.  It's very likely, but
still not quite guaranteed, that `#embed __FILE__` will be able to
access the source file.
>
An operating system might refuse to open an already opened file.
There is no good reason to refuse when all accesses are for read-only
but a supid operating system might think otherwise.

That seems unlikely, and would be a concern only if some real-world OS
actually behaved that way.

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

Date Sujet#  Auteur
5 Jun 24 * Re: Writing own source disk5Mikko
5 Jun 24 +- Re: Writing own source disk1Lawrence D'Oliveiro
5 Jun 24 `* Re: Writing own source disk3Keith Thompson
5 Jun 24  `* Re: Writing own source disk2Keith Thompson
5 Jun 24   `- Re: Writing own source disk1David Brown

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal