On Mon, Sep 29, 2008 at 2:27 PM, Michael Williamson < [EMAIL PROTECTED]> wrote:
> Hi, > > I do not have a bug to report. I have a question. > > Where is the source code for the program "tail". > I cannot find a "tail.c" on Fedora or openSuSE. > > (I want to find out how it knows that a file has been > truncated, for example when using > > # tail -f filename > > Does it use the select() system call?) > > Thanks, > -Mike > > > _______________________________________________ > Bug-coreutils mailing list > Bug-coreutils@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-coreutils > "Does it use the select() system call?" The 'strace' utility is useful for this. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils