aboutsummaryrefslogtreecommitdiff
path: root/win32/mntent.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* win32: changes to mntent implementationRon Yorston2021-06-271-0/+12
| | | | | | | | | | | | | | | | Make the structure returned by getmntent(3) static so it persists after endmntent(3) closes the stream. No current caller in the WIN32 port needs this functionality but it's good to match the documented behaviour. Populate more fields of the mntent structure in find_mount_point(). This is required to support the df -t and -T flags recently added upstream. The static structures used here are allocated on demand. Separate static structures are used in each case because df iterates through mounts calling statfs(2) on each and the WIN32 implementation of statfs(2) calls find_mount_point().
* win32: update implementation of setmntent(3)Ron Yorston2019-03-301-1/+3
| | | | | | | - The arguments to setmntent(3) are unused: add a macro to drop them at call sites. - Allow remote drives.
* df: limited implementation for WIN32Ron Yorston2013-04-031-0/+19