Re: Bug in SosMan's getline_test
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Fri, 14 Sep 2007 13:18:02 -0700
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"
.
- Follow-Ups:
- Re: Bug in SosMan's getline_test
- From: pete
- Re: Bug in SosMan's getline_test
- From: Richard Heathfield
- Re: Bug in SosMan's getline_test
- 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: strftime() behaviour
- Next by Date: Re: strftime() behaviour
- Previous by thread: Re: Bug in SosMan's getline_test
- Next by thread: Re: Bug in SosMan's getline_test
- Index(es):
Relevant Pages
|