* 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:
Corinna Vinschen
2005-02-23 13:12:43 +00:00
parent e5ef74dfb2
commit a652e6d52a
6 changed files with 113 additions and 7 deletions

View File

@ -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