X-Git-Url: http://git.scottworley.com/overonion/blobdiff_plain/b398ee5ae7abfa019f84628204f3c1cd146ed39e..3a85da3a94ea2bebd3f9545880b46150c3524f4d:/reverse_lib.h?ds=sidebyside diff --git a/reverse_lib.h b/reverse_lib.h index 58345fa..f4d7dd6 100644 --- a/reverse_lib.h +++ b/reverse_lib.h @@ -1,8 +1,8 @@ #ifndef _OVERONION_REVERSE_LIB_H #define _OVERONION_REVERSE_LIB_H -/* Copy the contents of input_filename to stdout backwards. +/* Copy the contents of input_filename to output_fd backwards. * input_filename must be a real file, not a pipe. */ -void reverse_file(const char* input_filename); +void reverse_file(const char* input_filename, int output_fd); #endif /* _OVERONION_REVERSE_LIB_H */