Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: doc/examples_old/xz_pipe_comp.c

Issue 12568011: Update XZ Utils to 5.0.4 (third_party) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/xz/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698