O2S C Library 1.8.2
Provide high-level data-structures and other fundamental tools for C projects
Loading...
Searching...
No Matches
close.c File Reference

Close a buffered file. More...

#include "o2s/file_input_stream.h"
#include "o2s/log.h"
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

Go to the source code of this file.

Functions

void file_close (ifstream_t *file)
 Release resources to the system.

Detailed Description

Close a buffered file.

Author
Antoine GAGNIERE

Definition in file close.c.

Function Documentation

◆ file_close()

void file_close ( ifstream_t * file)

Release resources to the system.

In case of error when calling close, there is absolutely nothing interesting that can be done beyond reporting it, so it is not propagated.

Definition at line 30 of file close.c.