Re: Where is error checking on fgets() addressed in FAQ?

From: Malcolm (malcolm_at_55bank.freeserve.co.uk)
Date: 05/02/04


Date: Sun, 2 May 2004 15:02:23 +0100


"William L. Bahn" <william@toomuchspam.net> wrote in message
> I recently challenged one of my students to figure out a way to
> determine if fgets() actually received the entire contents of the input
> string.
> Could someone provide the topic number that deals with trapping
> this occurance (if one exists)?
>
We had a huge row about this a few years ago and the FAQ maintainer still
hasn't come round to admitting that I was right.



Relevant Pages

  • Re: [OT?] -- inspired by [Re: Gumstix]
    ... the forum for Gumstix - just seem to go round and round in a circle?! ... Is there a modern low cost dedicated word processor with keyboard, ... USB printer and USB download to Word automatically if required for files ... The school in question has students from 11 to 18 years old and these ...
    (comp.arch.embedded)
  • Tournament tie breaker
    ... more) - each section would have up to 8 students. ... scored in each round with a rank and points so Student1 may have a 1 ... are added up for each student there may be a multiple-way tie. ...
    (microsoft.public.excel.programming)
  • Re: Where is error checking on fgets() addressed in FAQ?
    ... Peter Nilsson wrote: ... >> I recently challenged one of my students to figure out a way to ... > specs for fgets(). ... The FAQ isn't a tutorial. ...
    (comp.lang.c)
  • Re: Very very very basic question
    ... you are replying to. ... Not round here it isn't. ... string from stdin without limiting the length. ... Look up fgets in your C reference, and if you don't have one buy a copy ...
    (comp.lang.c)
  • Re: Tournament tie breaker
    ... more) - each section would have up to 8 students. ... scored in each round with a rank and points so Student1 may have a 1 ... are added up for each student there may be a multiple-way tie. ...
    (microsoft.public.excel.programming)