Reading in real time from a file without pipes

Dan Nelson dnelson at allantgroup.com
Mon Dec 11 10:25:20 PST 2006


In the last episode (Dec 11), c0re dumped said:
> Thanks Dan,
> 
> But using tail I will have to use a pipe. That's just what I don't want.
> 
> That other process what I'm referring to is a C program which I'm
> working on.
> 
> I want to use some C function that allow me to do it (if such a
> function exists, of course).

That's why I said "Take a look at how the tail command does it", not
"Use the tail command" :)

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-hackers mailing list