]>
Commit | Line | Data |
---|---|---|
b398ee5a | 1 | #include "reverse_lib.h" |
9571ed09 | 2 | |
9571ed09 SW |
3 | #include <err.h> |
4 | #include <sysexits.h> | |
5 | ||
9571ed09 SW |
6 | int main(int argc, char** argv) { |
7 | if (argc != 2) { | |
8 | errx(EX_USAGE, "Usage: reverse filename"); | |
9 | } | |
10 | ||
20615086 | 11 | reverse_file(argv[1], 1); |
9571ed09 SW |
12 | |
13 | return 0; | |
14 | } |