libport 1.1.10 (Full Version)

All Forums >> [Announcements] >> Tool Warehouse Updates



Message


Rodney -> libport 1.1.10 (Sep. 27, '06, 11:01:28 PM)

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.




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.063