ino_t _invent_inode(const char *name, unsigned time_stamp, unsigned long fsize)
This invents an inode number for those files which don't have valid DOS cluster number. These could be:
To ensure proper operation of this function, you must call it with a filename
in some canonical form. E.g., with a name returned by truename()
(see section _truename), or that returned by _fixpath()
(see section _fixpath).
The point here is that the entire program must abide by these
conventions through its operation, or else you risk getting different inode
numbers for the same file.
0 on error, otherwise the invented inode number for the file
not ANSI, not POSIX
Go to the first, previous, next, last section, table of contents.