ref: 51bcc63cc6bce3f9dab27cf6bd7155512b82c8fa
dir: /os/boot/libflate/flateerr.c/
#include "lib9.h" #include <flate.h> char * flateerr(int err) { switch(err){ case FlateOk: return "no error"; case FlateNoMem: return "out of memory"; case FlateInputFail: return "input error"; case FlateOutputFail: return "output error"; case FlateCorrupted: return "corrupted data"; case FlateInternal: return "internal error"; } return "unknown error"; }