]> andersk Git - splint.git/blame - lib/file.xh
Update configure and makefile to aclocal/automake 1.10.1 and autoconf 2.61.
[splint.git] / lib / file.xh
CommitLineData
990ec868 1extern int fclose (/*@open@*/ FILE *stream)
2 /*:checkerror EOF@*/ /* The fclose function returns zero if the
3 stream was successfully closed or EOF if any errors were detected. */
4 /*@ensures closed stream@*/ ;
5
15b3d2b2 6/*@open@*/ FILE *fopen (const char *filename, const char *mode);
7/*@open@*/ FILE *fdopen (int fildes, const char *mode);
8
990ec868 9 /*
10 ** File modes:
11 ** "rb" read
12 ** "wb" create, truncate, write
13 ** "ab" create, write, append
14 ** "rb+" read, write
15 ** "wb+" create, truncate, read, write
16 ** "ab+" create, read, write, append
17 */
990ec868 18
15b3d2b2 19extern /*@open@*/ FILE *freopen (char *filename, char *mode, /*@anyopen@*/ FILE *stream) /*@ensures open stream@*/ ;
990ec868 20
21extern /*@null@*/ char *
22 fgets (/*@returned@*/ /*@out@*/ char *s, int n, /*@open@*/ FILE *stream)
23 /*@modifies fileSystem, *s, *stream, errno@*/ ;
24
25/*
26fgetc
27fputc
28
29fseek
30ftell
31*/
32
33int ferror (FILE *stream) ;
34int feof (FILE *stream) ;
35void clearerr (FILE *stream) ;
This page took 0.558233 seconds and 5 git commands to generate.