wiki:CodingConventions

Version 2 (modified by anonymous, 15 years ago) (diff)

--

Function that only return a success/failure, return 0 on success and -1 on failure and update the trace error (using trace_set_err).

libtraceio

This compatibility layer is used to wrap decompression functions and various I/O strategies depending on what is available for your host. see libtraceio.h for more information. Also see format_helper's trace_file_open(). Generally the state of the file after an error has occured is undefined.