diff options
Diffstat (limited to 'converter/other/cameratopam/stdio_nofail.h')
-rw-r--r-- | converter/other/cameratopam/stdio_nofail.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/converter/other/cameratopam/stdio_nofail.h b/converter/other/cameratopam/stdio_nofail.h new file mode 100644 index 00000000..8f45b537 --- /dev/null +++ b/converter/other/cameratopam/stdio_nofail.h @@ -0,0 +1,29 @@ +#include <stdio.h> + +size_t +fread_or_eof_nofail(void * const ptr, + size_t const size, + size_t const nmemb, + FILE * const streamP); + +void +fread_nofail(void * const ptr, + size_t const size, + size_t const nmemb, + FILE * const streamP); + +int +fgetc_nofail(FILE * const streamP); + +int +fseek_nofail(FILE * const streamP, + long const offset, + int const whence); + +long +ftell_nofail(FILE * const streamP); + +char * +fgets_nofail(char * const s, + int const size, + FILE * const streamP); |