Xref: utzoo comp.bugs.4bsd:1752 comp.std.c:4276 comp.lang.c:35951 Newsgroups: comp.bugs.4bsd,comp.std.c,comp.lang.c Path: utzoo!utgpu!mauxci!problem!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Subject: Re: Safe coding practices (was Re: Bug in users command) Message-ID: <1991Feb8.050449.12884@druid.uucp> Organization: D'Arcy Cain Consulting, West Hill, Ontario References: <1991Feb03.181937.9090@convex.com> <1991Feb6.170055.2081@druid.uucp> <9644@dog.ee.lbl.gov> Date: Fri, 8 Feb 91 05:04:49 GMT In article <9644@dog.ee.lbl.gov> torek@ee.lbl.gov (Chris Torek) writes: >In article <1991Feb6.170055.2081@druid.uucp> darcy@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 > > 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@druid) | D'Arcy Cain Consulting | There's no government West Hill, Ontario, Canada | like no government! +1 416 281 6094 |