fopen

fopen, fopen_s

登录查看完整内容
Defined in header <stdio.h>
(1)
FILE *fopen( const char *filename, const char *mode );
(until C99)
FILE *fopen( const char *restrict filename, const char *restrict mode );
(since C99)
errno_t fopen_s(FILE *restrict *restrict streamptr,
                const char *restrict filename,
                const char *restrict mode);
(2) (since C11)