]> git.scottworley.com Git - overonion/blame_incremental - reverse.c
Switch to stdio for output. It's simpler
[overonion] / reverse.c
... / ...
CommitLineData
1#include "reverse_lib.h"
2
3#include <err.h>
4#include <stdio.h>
5#include <sysexits.h>
6
7int 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}