about summary refs log tree commit diff
path: root/converter/other/cameratopam/stdio_nofail.h
blob: f220b4ac59c15bc3c01a5194b2b6b5602f2432a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);

char *
fgets_nofail(char * const s,
             int    const size,
             FILE * const streamP);