/usr/share/splint/lib/file.xh is in splint-data 1:3.1.2+dfsg-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | extern int fclose (/*@open@*/ FILE *stream)
/*:checkerror EOF@*/ /* The fclose function returns zero if the
stream was successfully closed or EOF if any errors were detected. */
/*@ensures closed stream@*/ ;
/*@open@*/ FILE *fopen (const char *filename, const char *mode);
/*@open@*/ FILE *fdopen (int fildes, const char *mode);
/*
** File modes:
** "rb" read
** "wb" create, truncate, write
** "ab" create, write, append
** "rb+" read, write
** "wb+" create, truncate, read, write
** "ab+" create, read, write, append
*/
extern /*@open@*/ FILE *freopen (char *filename, char *mode, /*@anyopen@*/ FILE *stream) /*@ensures open stream@*/ ;
extern /*@null@*/ char *
fgets (/*@returned@*/ /*@out@*/ char *s, int n, /*@open@*/ FILE *stream)
/*@modifies fileSystem, *s, *stream, errno@*/ ;
/*
fgetc
fputc
fseek
ftell
*/
int ferror (FILE *stream) ;
int feof (FILE *stream) ;
void clearerr (FILE *stream) ;
|