🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #324

Re: Safe coding practices (was Re: Bug in users command)

#324
From: D'Arcy J.M. Cain
Date: Fri, 08 Feb 1991 05:04
30 lines
1330 bytes
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 <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@druid)     |
D'Arcy Cain Consulting             |   There's no government
West Hill, Ontario, Canada         |   like no government!
+1 416 281 6094                    |
Technical Details
Message-ID: <1991Feb8.050449.12884@druid.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!mauxci!problem!druid!darcy
References: <1991Feb03.181937.9090@convex.com> <1991Feb6.170055.2081@druid.uucp> <9644@dog.ee.lbl.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.bugs.4bsd,comp.std.c,comp.lang.c
Path: arc1-ca.pugleaf.net!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