0

I'm modifying a linux filesystem and I would like to know if there a way to get a struct file * from an absolute pathname? Specifically the struct defined in linux/fs.h.

4

1 回答 1

0

I know this is a little late, but for anyone looking for an answer to this I used the open function on the pathname.

于 2014-06-18T04:25:39.177 回答