On Aug 4, 12:57 pm, "Jochen Daum" <
j...@automatem.co.nz> wrote:
> Hi,
>
>
>
> On Mon, Aug 4, 2008 at 12:39 PM, Boyd <
eldritch.d...@gmail.com> wrote:
>
> > your line breaks take up 1 byte and that's what fget's returns:
>
> >
http://nz.php.net/manual/en/function.fgets.php
>
> > On Aug 4, 12:15 pm, "Jochen Daum" <
j...@automatem.co.nz> wrote:
> > > Hi,
>
> > > I'm writing a small configuration file parser. A small problem is that
> > on
> > > all empty lines fgets returns string "1". My lines end with \n (unix
> > style).
> > > Is this intentional?
>
> It says:
>