]> git.scottworley.com Git - overonion/blame - reverse.c
Switch to stdio for output. It's simpler
[overonion] / reverse.c
CommitLineData
b398ee5a 1#include "reverse_lib.h"
9571ed09 2
9571ed09 3#include <err.h>
a99e77b4 4#include <stdio.h>
9571ed09
SW
5#include <sysexits.h>
6
9571ed09
SW
7int main(int argc, char** argv) {
8 if (argc != 2) {
9 errx(EX_USAGE, "Usage: reverse filename");
10 }
11
a99e77b4 12 reverse_file(argv[1], stdout);
9571ed09
SW
13
14 return 0;
15}