ivutils
|
Files manager. More...
#include <component.h>
Protected Attributes | |
map_t | fmap |
file map | |
int | no |
number of already opened files | |
int | nlim |
maximal number of opened files | |
Files manager.
Opens file with given name, collects its descriptor in some storage, if file with this name is required, retrieve its descriptor from the storage and doesn't open file second time. If number of opened files exceeds some limit (nlim), mark all files which need to be opened as suspended and don't open them. Suspended files can be opened only after some of already opened files will be closed, and number of opened files will be less than nlim.