Is it possible to determine the open file path based on the file descriptor?

Yuri yuri at rawbw.com
Wed Jul 8 17:14:36 UTC 2020


On 2020-07-08 09:59, Mateusz Guzik wrote:
> I can't be arsed to find all the proper headers, but you get the idea.
> If this makes the program work well enough I can commit and merge to
> stable/12.


This particular project (watchman) looks for F_GETPATH and fails because 
it isn't defined. If you would add it to 12.1 this would be great.

llvm sources also contain references to F_GETPATH.


Thank you,

Yuri




More information about the freebsd-hackers mailing list