I am working with some Unix system calls, and I want to be able to open a directory, and perform read/write operations on the files in that directory.
I already know that I can open a directory, then call readdir() to put the i-number and name in a struct.
So....the question is, can I perform read/write on files with just the i-number?
Not looking for exact code, just pointers (hah) in the rightr direction.
EDIT: so really what I need to do is get a file descriptor from a i-number.