Files
Files
SYNOPSIS
#include <stdio.h>
1) r 2) r+ 3) w 4) w+ 5) a 6) a+
RETURN VALUE
fputc() return the character written as an unsigned char cast to an
int or EOF on error.
fclose - close a stream
●
SYNOPSIS
#include <stdio.h>
int fclose(FILE *fp);
DESCRIPTION
●
RETURN VALUE
Upon successful completion 0 is returned. Otherwise, EOF is returned