]> git.scottworley.com Git - overonion/blob - reverse.c
9bbf7b93076e4a61870f3f01c2e2010ed8ada58e
[overonion] / reverse.c
1 #include "reverse_lib.h"
2
3 #include <err.h>
4 #include <stdio.h>
5 #include <sysexits.h>
6
7 int main(int argc, char** argv) {
8 if (argc != 2) {
9 errx(EX_USAGE, "Usage: reverse filename");
10 }
11
12 reverse_file(argv[1], stdout);
13
14 return 0;
15 }