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

Re: Filename to "inode" pointer in C



On Sunday, November 3, 2002, at 10:32 AM, John D. wrote:

> 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.

man stat