| OLD | NEW |
| 1 /* | 1 /* |
| 2 * xz_pipe_comp.c | 2 * xz_pipe_comp.c |
| 3 * A simple example of pipe-only xz compressor implementation. | 3 * A simple example of pipe-only xz compressor implementation. |
| 4 * version: 2010-07-12 - by Daniel Mealha Cabrita | 4 * version: 2010-07-12 - by Daniel Mealha Cabrita |
| 5 * Not copyrighted -- provided to the public domain. | 5 * Not copyrighted -- provided to the public domain. |
| 6 * | 6 * |
| 7 * Compiling: | 7 * Compiling: |
| 8 * Link with liblzma. GCC example: | 8 * Link with liblzma. GCC example: |
| 9 * $ gcc -llzma xz_pipe_comp.c -o xz_pipe_comp | 9 * $ gcc -llzma xz_pipe_comp.c -o xz_pipe_comp |
| 10 * | 10 * |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 } | 118 } |
| 119 | 119 |
| 120 int main () | 120 int main () |
| 121 { | 121 { |
| 122 int ret; | 122 int ret; |
| 123 | 123 |
| 124 ret = xz_compress (stdin, stdout); | 124 ret = xz_compress (stdin, stdout); |
| 125 return ret; | 125 return ret; |
| 126 } | 126 } |
| 127 | 127 |
| OLD | NEW |