6 int main(int argc, char **argv)
11 fprintf(stderr, "Usage: seek <offset>\n");
14 off = strtoul(argv[1], &ep, 0);
15 if (!argv[1][0] || *ep || off == ULONG_MAX) {
16 fprintf(stderr, "seek: Invalid offset\n");
19 if (lseek(0, off, SEEK_SET) == (off_t)-1) {
20 fprintf(stderr, "seek: %m\n");