Re: Bug in SosMan's getline_test



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

.



Relevant Pages

  • Re: Interesting bug
    ... > supposed to be programmed in BASIC (or any other language), ... > resources into a sophisticated BASIC implementation where a simple minded ... that the commodore resources were relatively sufficient to handle them. ... just as personal computers were being invented. ...
    (comp.lang.c)
  • Re: Substituting the main menu bar(s)
    ... was from Quebec and therefore was able to give me a translated DLL to work with. ... resources in favor of MESSAGETABLE resources. ... from one language to another; we didn't have to do that. ... Translation products that work on the exe (by stripping out the resources, ...
    (microsoft.public.vc.mfc)
  • Re: Internationalizing an app
    ... MFC does have some rather naive views of resources; it took until VS.NET to be able to ... you have to be running the native Windows OS for the language for it to find ... we haven't have any complaints about the way we're translating. ... They are happy enough with the translations so as not to complain ...
    (microsoft.public.vc.mfc)
  • Re: A modern view of the halting problem
    ... resources so that it can handle *any* algorithm out there. ... Randy know this and he also know that HLA isn't an assembler (or ... an assembler and the HLA language isn't an assembly language). ...
    (alt.lang.asm)
  • Re: Digital volume control question....
    ... under the impression there is a difference - effectively the same ... tweaks/substitutions I do think the context in which the phrases are ... though that my wish for more 'precise' language can, itself, get in the way ...
    (uk.rec.audio)