Searched refs:ERR_OUT (Results 1 – 1 of 1) sorted by relevance
26 #define ERR_OUT(...) { fprintf(stderr, __VA_ARGS__); exit(1); } macro39 if (!f) ERR_OUT("failed to open file %s \n", path); in read_file()46 if (!ptr) ERR_OUT("failed to allocate memory to hold %s \n", path); in read_file()49 if (read != size) ERR_OUT("error while reading file %s \n", path); in read_file()59 if (!f) ERR_OUT("failed to open file %s \n", path); in write_file()64 if (ferror(f)) ERR_OUT("error while writing file %s\n", path); in write_file()73 ERR_OUT("usage: %s <file.zst> <out_path> [dictionary] \n", argv[0]); in main()92 ERR_OUT("Required output size too large for this implementation \n"); in main()95 if (!output) ERR_OUT("failed to allocate memory \n"); in main()101 ERR_OUT("no dictionary support \n"); in main()