I got NSFileHandle
from a function call and would like to access the file it refers to. How to get it?
I know that the resource might have multiple file paths or no file path at all (file in memory). However, it would be nice to get anything :)
I got NSFileHandle
from a function call and would like to access the file it refers to. How to get it?
I know that the resource might have multiple file paths or no file path at all (file in memory). However, it would be nice to get anything :)
You can use
F_GETPATH
: