ttail.c
author viric@mandarina
Sun, 15 Feb 2009 19:12:08 +0100
changeset 261 dc8f1609bad8
parent 173 b572fdd206f4
child 339 350600fb772f
permissions -rw-r--r--
Added tag v0.6.2 for changeset 18d5bf8fa969
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
173
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     1
#include <sys/time.h> /* Dep de main.h */
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     2
#include <stdio.h> /* Dep de main.h */
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     3
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     4
#include "main.h"
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     5
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     6
int main(int argc, char **argv)
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     7
{
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     8
    tail_file(argv[1]);
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
     9
    return 0;
b572fdd206f4 Adding some code base for our implementation of 'tail'.
viric@llimona
parents:
diff changeset
    10
}