Joined: Jul. 9, '02,
From: /Tools lab
Announcing libport version 1.1.10 for Interix.
This version corrects a couple of include files and
adds several new API's:
statfs(const char *, struct statfs *)
fstatfs(int, struct statfs *)
getfsstat(struct statfs *buf, size_t bufsize, int flags)
getvfsstat(struct statvfs *buf, size_t bufsize, int flags)
getmntinfo(struct statfs **, int)
getvmntinfo(struct statvfs **, int)
For all of these you should include the <sys/mount.h> file from
the /usr/include/port location (as for other libport API's).
The API's statfs(), fstatfs(), getfsstat() and getmntinfo() all take the
older "struct statfs" structure. Underlying calls use the "struct statvfs"
structure and then map to the older one. I've added getvfsstat() and
getvmntinfo() as "modern" versions that just use "struct statvfs".
To install or update do:
pkg_update -L libport
As always libport expands based on user requests.