Re: Need to block on file eof read

From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 12/30/04


Date: Wed, 29 Dec 2004 20:32:13 -0500

In article <rmacrx6x74.fsf@mlinux.pd.infn.it>,
 Maurizio Loreti <mlo@foobar.it> wrote:

> Heiko <heiko.noordhof_A_xs4all.nl> writes:
>
> > I think the point here is that 'tail' is written in C...
>
> Are you asserting that this is required by POSIX? Are you asserting
> that a 'tail' implementation *must* be written in C --- and not C++,
> FORTRAN or awk or any other language?

I think he's asserting that most tail implementations *are* written in
C. So if you want to know how experienced Unix programmers would do
this, take a look at the source code of tail.

-- 
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Relevant Pages