Safe coding practices (was Re: Bug in users command)
D'Arcy J.M. Cain
darcy at druid.uucp
Fri Feb 8 16:04:49 AEST 1991
In article <9644 at dog.ee.lbl.gov> torek at ee.lbl.gov (Chris Torek) writes:
>In article <1991Feb6.170055.2081 at druid.uucp> darcy at druid.uucp
>(D'Arcy J.M. Cain) writes:
>>NAME
>> fgetline
>>
>>SYNOPSIS
>> char *fgetline(FILE *fp, int exclusive);
>
>Before things get out of hand, here is the fgetline man page from
>4.3-and-two-thirds-or-whatever-you-call-it:
>
> NAME
> fgetline - get a line from a stream
>
> SYNOPSIS
> #include <stdio.h>
>
> int
> fgetline(FILE *stream, int *len);
Oops, don't have such a beast on my SVR3.2. I thought from the discussion
that people were proposing such a function. I still like the exclusive
use flag though.
--
D'Arcy J.M. Cain (darcy at druid) |
D'Arcy Cain Consulting | There's no government
West Hill, Ontario, Canada | like no government!
+1 416 281 6094 |
More information about the Comp.lang.c
mailing list