Re: Bug in SosMan's getline_test
- From: Chris Dollin <chris.dollin@xxxxxx>
- Date: Fri, 14 Sep 2007 14:05:31 +0100
Friar Tuck wrote:
On 14 Sep 2007 at 7:41, Chris Dollin wrote:
What do you mean, "looks official"?
It has this resources page
http://cpax.org.uk/prg/portable/c/resources.php that gives the
impression it's the official resources page for comp.lang.c though maybe
that's just what comes across from the first paragraph.
I get no such impression.
GNU lib'c getline
I don't believe there's a standard library function called getline.
There isn't.
What is your native language?
C (gcc 4.1.3).
I think they meant your native /spoken/ language.
What in any of my posts suggests that my native spoken language isn't
English?? Why is it relevant?
Don't ask me; ask the person who asked the question. Probably they
thought that what you said suggested you hadn't understood them in
a way that suggests ESL.
Does anyone know what all these fields in the FILE * structure do?
Something implementation-dependant. Portable code can't care about it.
I believe you are mistaken - portable functions like fread etc. take a
FILE * structure for an argument.
`fread` isn't portable; it is specific to each implementation. That's
why it's there in the Standard; you can't portably write one yourself.
(Well, you can -- but it's useless.)
--
Chris "return 0;" Dollin
Hewlett-Packard Limited registered office: Cain Road, Bracknell,
registered no: 690597 England Berks RG12 1HN
.
- References:
- Bug in SosMan's getline_test
- From: Friar Tuck
- Re: Bug in SosMan's getline_test
- From: Ben Pfaff
- Re: Bug in SosMan's getline_test
- From: Friar Tuck
- Re: Bug in SosMan's getline_test
- From: pete
- Re: Bug in SosMan's getline_test
- From: Friar Tuck
- Re: Bug in SosMan's getline_test
- From: Chris Dollin
- Re: Bug in SosMan's getline_test
- From: Friar Tuck
- Bug in SosMan's getline_test
- Prev by Date: Re: implicit declaration of function???
- Next by Date: Re: Bug in SosMan's getline_test
- Previous by thread: Re: Bug in SosMan's getline_test
- Next by thread: Re: Bug in SosMan's getline_test
- Index(es):
Relevant Pages
|