[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Filename to "inode" pointer in C



Is there any C library or function that can take a file name or path,  and convert it into an "inode" pointer.    I need a pointer to an "inode" structure.   I'm also going to want to get the "inode" number.   But I can get that from the "i_number" field in the "inode" structure.

Any code that comes close to this,  would be most helpful.

Thanx