/* * btimec.c -- * * Example program for libbtime */ #include #include #include "btime.h" int main(int argc, char **argv) { unsigned int bt; char *btimedhost; if (argc != 2) { fprintf(stderr, "USAGE: %s \n", argv[0]); exit(2); } btimedhost = argv[1]; bt = btime(btimedhost); printf("%s: %u\n", btimedhost, bt); exit(0); }