1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

[examples] Clean up and comment the examples

This commit is contained in:
Nick Terrell
2019-04-05 18:11:17 -07:00
parent 1dfe37fea9
commit 1d0c1707d1
11 changed files with 143 additions and 141 deletions

View File

@ -9,12 +9,10 @@
*/
#include <stdlib.h> // malloc, exit
#include <stdio.h> // fprintf, perror, feof
#include <string.h> // strerror
#include <errno.h> // errno
#include <stdio.h> // fprintf
#include <stdlib.h> // free
#include <zstd.h> // presumes zstd library is installed
#include "utils.h"
#include "common.h" // Helper functions, CHECK(), and CHECK_ZSTD()
static void decompressFile_orDie(const char* fname)
{