◄Description► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: <stdio.h> Syntax: FILE *fopen( char *filename, char *mode ); mode: r, w, a, r+, w+, a+ (t or b appended to <mode> indicates type) Returns: a pointer to the open file if successful, or NULL if not. See also: fclose, fdopen, ferror, fileno, freopen, open, setmode -♦-