Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: "Paul Edwards" Newsgroups: comp.lang.c Subject: Re: encapsulating directory operations Date: Fri, 23 May 2025 07:52:27 +1000 Organization: A noiseless patient Spider Lines: 23 Message-ID: <100o6b0$3m4fq$1@dont-email.me> References: <100h650$23r5l$1@dont-email.me> <20250520065158.709@kylheku.com> <100i2la$292le$1@dont-email.me> <87a5770xjw.fsf@nosuchdomain.example.com> <100j09o$2f04b$1@dont-email.me> <87tt5ezx9y.fsf@nosuchdomain.example.com> <100j4t3$2foah$1@dont-email.me> <87ldqqzfj0.fsf@nosuchdomain.example.com> Injection-Date: Thu, 22 May 2025 23:52:33 +0200 (CEST) Injection-Info: dont-email.me; posting-host="d42a95729d765c47ca6635f8bd4bdfdb"; logging-data="3871226"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YiUPAljj9hKFnk/KL1fC9QO3q7turNZ8=" Cancel-Lock: sha1:5xvhbuth6WqJ/NRVdCGQ2mIMv24= X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 Bytes: 1916 "Scott Lurndal" wrote in message news:k%kXP.478614$lK62.236751@fx13.iad... > Keith Thompson writes: > >"Paul Edwards" writes: > > > > >> > >> See if a stream is known to have characters in it. > > > >I'd need a more precise explanation. Does it just return a > >true/false value? If so, how does it differ from feof() and/or > >ferror()? What would it do on an interactive stream? What is the > >use case? > > Moreover, what is the definition of 'character' in this context? Something that fgetc() would be able to consume without blocking. BFN. Paul.