about summary refs log tree commit diff
path: root/converter/other/cameratopam/stdio_nofail.h
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/cameratopam/stdio_nofail.h')
-rw-r--r--converter/other/cameratopam/stdio_nofail.h18
1 files changed, 18 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..9d6fcea5
--- /dev/null
+++ b/converter/other/cameratopam/stdio_nofail.h
@@ -0,0 +1,18 @@
+#include <stdio.h>
+
+size_t
+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);