| Deutsch English Français Italiano |
|
<8734i1sz6w.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Can 'graphics' be a file descriptor?
Date: Thu, 02 Jan 2025 13:06:31 -0800
Organization: None to speak of
Lines: 30
Message-ID: <8734i1sz6w.fsf@nosuchdomain.example.com>
References: <d0fcbe9e7b29ce6f9a0604058475b0aa9a23d5cb.camel@gmail.com>
<87msgaubjj.fsf@nosuchdomain.example.com>
<0bfa49a6d580546ab2db91aeac7627afb19e492d.camel@gmail.com>
<87ikqytb9d.fsf@nosuchdomain.example.com>
<08be9710b964a1b236ba75a2fbec97c9a7ea6297.camel@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 02 Jan 2025 22:06:33 +0100 (CET)
Injection-Info: dont-email.me; posting-host="a6ca1a2a8a1a56868adae0581a86a375";
logging-data="3697068"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+W6/uAj/wdU2104kNk/ugO"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:P8RmREzZdnnhjRQmvpi/RT9hu2w=
sha1:++DdAAScrDV5uxTfigKpr13k9BM=
Bytes: 2385
wij <wyniijj5@gmail.com> writes:
> On Wed, 2025-01-01 at 14:33 -0800, Keith Thompson wrote:
>> wij <wyniijj5@gmail.com> writes:
>> > On Wed, 2025-01-01 at 01:29 -0800, Keith Thompson wrote:
>> [...]
>> > > A file *descriptor* is a small integer referring to some file-like
>> > > entity, used with open/close/read/write. There's no such thing in
>> > > standard C; it's a POSIX concept.
>> [...]
>> > I would like to have opinions about the idea "graphics being a file
>> > descriptor". The implement is irrevent for the discussion. Some
>> > imagination is required.
>>
>> Why do you insist on referring to "file descriptors"? That's a specific
>> term with a specific meaning: a small integer value used in POSIX I/O
>> (not in standard C).
>
> I do not insist anything. I would just like to have an opinion on the idea
> "graphics being a file descriptor".
So you insist on talking about "file descriptors".
Standard C doesn't have file descriptors. Consider discussing this in
comp.unix.programmer.
[...]
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */