* cygwin.din (fstatvfs): Export.
(statvfs): Export. * syscalls.cc: Include sys/statvfs.h. (statvfs): New function. Move statfs functionality here. (fstatvfs): New function. (statfs): Just call statvfs and copy structure. Check validity of incoming struct statfs pointer. * include/cygwin/types.h (fsblkcnt_t): Define. (fsfilcnt_t): Define. * include/cygwin/version.h: Bump API minor version. * include/sys/statvfs.h: New file.
This commit is contained in:
@ -564,6 +564,7 @@ _fsetpos64 = fsetpos64 SIGFE
|
||||
_fstat64 = fstat64 SIGFE
|
||||
fstatfs SIGFE
|
||||
_fstatfs = fstatfs SIGFE
|
||||
fstatvfs SIGFE
|
||||
fdatasync SIGFE
|
||||
fsync SIGFE
|
||||
_fsync = fsync SIGFE
|
||||
@ -1307,6 +1308,7 @@ _sscanf = sscanf SIGFE
|
||||
_stat64 = stat64 SIGFE
|
||||
statfs SIGFE
|
||||
_statfs = statfs SIGFE
|
||||
statvfs SIGFE
|
||||
strcasecmp NOSIGFE
|
||||
_strcasecmp = strcasecmp NOSIGFE
|
||||
strcat NOSIGFE
|
||||
|
Reference in New Issue
Block a user