Tail

Kjeld Borch Egevang kbe at dde.uucp
Wed May 17 23:47:35 AEST 1989


rich at eddie.MIT.EDU (Richard Caloggero) writes:



>     How is "tail -1f" implemented?  Is there an IOCTL or FCNTRL
>parameter which allows one to wait for some sort of status event (like
>size change), or does tail just keep checking and sleeping?

I've been told that in our SysV-implementation (3.1) there is a loop
with a read (from the file), a write (to the terminal) and a sleep(1).

| UUCP: kbe at dde.dk      (Kjeld Borch Egevang) | Dansk Data Elektronik
| or  ...mcvax!enea!dkuug!dde!kbe             | Denmark



More information about the Comp.unix.wizards mailing list