diff options
Diffstat (limited to 'btime/btimec.c')
-rw-r--r-- | btime/btimec.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/btime/btimec.c b/btime/btimec.c deleted file mode 100644 index 02c29bc..0000000 --- a/btime/btimec.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * btimec.c -- - * - * Example program for libbtime - */ - -#include <stdio.h> -#include <stdlib.h> - -#include "btime.h" - -int -main(int argc, char **argv) -{ - unsigned int bt; - char *btimedhost; - - if (argc != 2) { - fprintf(stderr, "USAGE: %s <host>\n", argv[0]); - exit(2); - } - - btimedhost = argv[1]; - bt = btime(btimedhost); - printf("%s: %u\n", btimedhost, bt); - - exit(0); -} |