Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.sprintlink.net!news-stk-200.sprintlink.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!usenet From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: where is fattach ? which archive ? Date: 6 Oct 1996 12:14:38 GMT Organization: Coverform Ltd. Lines: 30 Message-ID: <5387re$8d@anorak.coverform.lan> References: <52a4v3$hh0@elmo.cadvision.com> <52jru1$8s@uriah.heep.sax.de> <52sa5b$av@anorak.coverform.lan> <5355f1$8np@uriah.heep.sax.de> Reply-To: brian@awfulhak.demon.co.uk NNTP-Posting-Host: anorak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 In article <5355f1$8np@uriah.heep.sax.de>, j@uriah.heep.sax.de (J Wunsch) writes: > brian@anorak.coverform.lan (Brian Somers) wrote: > >> > What is fattach? >> >> I suggest that FreeBSD should have a fattach function added. It's a >> pretty neat name ! Why hasn't anyone thought of it before ? > > By all means, yes! > How about the following: #include <tach.h> struct tach *fattach( int f ) { struct tach *Result = firstTach; while( Result && Result->f != f ) Result = Result->next; return Result; } Now all we need to do is define firstTach in a library somewhere and write tach.h. Any takers ? -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....