X-Git-Url: http://git.scottworley.com/overonion/blobdiff_plain/3adfbe9d667f73d8049153e924fb65886ebb67b6..a99e77b43df141c988b52e663d64d40e79f11895:/reverse_lib.h diff --git a/reverse_lib.h b/reverse_lib.h index f4d7dd6..9c0f05a 100644 --- a/reverse_lib.h +++ b/reverse_lib.h @@ -1,8 +1,10 @@ #ifndef _OVERONION_REVERSE_LIB_H #define _OVERONION_REVERSE_LIB_H -/* Copy the contents of input_filename to output_fd backwards. +#include + +/* Copy the contents of input_filename to output_stream backwards. * input_filename must be a real file, not a pipe. */ -void reverse_file(const char* input_filename, int output_fd); +void reverse_file(const char* input_filename, FILE* output_stream); #endif /* _OVERONION_REVERSE_LIB_H */