Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/ctags/ctags.c
Show First 20 Lines • Show All 212 Lines • ▼ Show 20 Lines | nextline: | ||||
err(1, "exec of sort failed"); | err(1, "exec of sort failed"); | ||||
} | } | ||||
/* Just assume the sort went OK. The old code | /* Just assume the sort went OK. The old code | ||||
did not do any checks either. */ | did not do any checks either. */ | ||||
(void)wait(NULL); | (void)wait(NULL); | ||||
} | } | ||||
} | } | ||||
} | } | ||||
if (ferror(stdout) != 0 || fflush(stdout) != 0) | |||||
err(1, "stdout"); | |||||
exit(exit_val); | exit(exit_val); | ||||
} | } | ||||
static void | static void | ||||
usage(void) | usage(void) | ||||
{ | { | ||||
(void)fprintf(stderr, "usage: ctags [-BFTaduwvx] [-f tagsfile] file ...\n"); | (void)fprintf(stderr, "usage: ctags [-BFTaduwvx] [-f tagsfile] file ...\n"); | ||||
exit(1); | exit(1); | ||||
▲ Show 20 Lines • Show All 96 Lines • Show Last 20 Lines |