-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
Description
Something fairly similar can be done using fstat, though.
Questions remain:
- is it only OpenBSD ? I kind-of-think it might apply to NetBSD/FreeBSD/Dragonfly as well.
Depending on that, there might be some extra IS_ constants
Or just maybe, try to run either of lsof or fstat you can ? and parse the results differently.
Will probably be more sturdy on any Unix...
Anyway, here's the fstat code.
Looking forward, making it work better. Sorry to not have a full patch yet.
I can look into it further if you don't have time.