|
PatchworkOS
|
#include <stdio.h>#include <stdlib.h>#include "user/common/file.h"#include "user/common/syscalls.h"Go to the source code of this file.
Functions | |
| int | fclose (struct FILE *stream) |
| int fclose | ( | struct FILE * | stream | ) |
Definition at line 7 of file fclose.c.
References _file_deinit(), _file_flush_buffer(), _file_free(), _FILE_WRITE, _files_remove(), EOF, ERR, FILE::flags, FILE::mtx, mtx_lock(), and mtx_unlock().
Referenced by _files_close(), config_open(), cpu_stat_count_cpus(), cpu_stat_read(), and mem_stat_read().