Close (system call)
C library POSIX definitionThe close call is standardized by the POSIX specification int close (int filedes);
int fclose (FILE *stream);
The function returns zero to indicate the file was closed successfully. If any error occurs, a value of -1 is returned and errno is appropriately set. The errors that can occur include:
ReferencesExternal links
|