Re: Bug in SosMan's getline_test



Friar Tuck <nospam@xxxxxxxxxxx> writes:
On 14 Sep 2007 at 7:41, Chris Dollin wrote:
Friar Tuck wrote:

Isn't the group website cpac.org?

No.

Sorry, .org.uk

You're thinking of cpax.org.uk, but that site has absolutely no
official standing with respect to this newsgroup.


It's in one of the group moderator's

comp.lang.c doesn't have a moderator.

Sorry, senior member.

Richard Heathfield is a regular participant in this newsgroup. So am
I. So are a number of others. Since this is an unmoderated
newsgroup, nobody has any official status, because there is no
official status to be had.

signatures and has lots of C resources. It certainly looks official.

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'm sure that Richard did not intend to give that impression.

The FAQ site, <http://www.c-faq.com/>, is the closest thing we have to
an "offical" site for the newsgroup, but even it has no real official
standing. I could set up my own FAQ site tomorrow. I don't because
(a) it would be a lot of work, and (b) Steve Summit has already done
such a fine job of it.

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?

The question was, I believe, intended to point out that you had
misunderstood something that should have been reasonably clear.
Somebody mentioned the 'getline' function that's part of the GNU
library. You responded by saying that there's no such standard
library function -- but nobody had said that there was. The 'getline'
function in question is specific the GNU library (glibc), and the
person who mentined it said so explicitly.

Making this point by questioning whether English is your native
language was perhaps a bit rude. But I'll mention that there are
plenty of people with other native languages who write excellent
English, better than some native speakers. Such people sometimes make
surprising errors.

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.

No, he's not mistaken. That's why the fread function cannot be
implemented in portable code. Each (hosted) implementation must
provide the function, so code that uses it can be portable, but the
function itself can and must use implementation-specific techniques
(unless it's implemented entirely in terms of other standard
functions).

--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.



Relevant Pages

  • Re: Can u help or can u recommend a book?
    ... John is spot on, of course. ... newsgroup is the second-best thing to do. ... for you to back up your Normal template and all your Word settings files? ... > In a document you get from someone else, the language is often inherited ...
    (microsoft.public.mac.office.word)
  • Re: Programmers unpaid overtime.
    ... > relevant to this newsgroup, by removing all the irrelevant stuff. ... You've discussed the C language in this ng as the C ... But because incompetent programmers delight in pointing out other ... The regular expression is (if blanks only constitute white ...
    (comp.programming)
  • Re: c++ graphics?
    ... Since you are so familiar with the FAQ, ... Which newsgroup should I post my questions? ... Look up any of the standard references on the language. ... How do I create and display graphics? ...
    (alt.comp.lang.learn.c-cpp)
  • Re: How can I change default language to English for NDR
    ... Exchange will be sent in the language specified by PR_LOCALE_ID. ... English language of the mailbox your agent is going to log on to. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • Re: [OT] Mystery: static variables & performance
    ... >> This newsgroup discusses the ISO standard C language. ... This standard *defines* the C language which is the topic of this ... > enlightened suggestions through responses and private emails. ...
    (comp.lang.c)