statvfs man page on MirBSD

Man page or keyword search:  
man Server   6113 pages
apropos Keyword Search (all sections)
Output format
MirBSD logo
[printable version]

STATVFS(2)		   BSD Programmer's Manual		    STATVFS(2)

NAME
     statvfs, fstatvfs, - get file system statistics

LIBRARY
     libc

SYNOPSIS
     #include <sys/statvfs.h>

     int
     statvfs(const char *path, struct statvfs *buf);

     int
     fstatvfs(int fd, struct statvfs *buf);

DESCRIPTION
     statvfs() return information about a mounted file system. path is the
     path name of any file within the mounted file system. buf is a pointer to
     a statvfs structure.

     fstatvfs() return the same information about an open file referenced by
     descriptor fd.

RETURN VALUES
     Upon successful completion, a value of 0 is returned. Otherwise, -1 is
     returned and the global variable errno is set to indicate the error.

ERRORS
     statvfs() and fstatvfs() fail for the same reasons statfs() and statvfs()
     can fail.

SEE ALSO
     fstatfs(3), statfs(3)

HISTORY
     The statvfs(), and fstatvfs() functions first appeared in MirOS #10 as a
     pure user-space implementation.

AUTHORS
     The actual implementation of the user-space functions was taken from
     NetBSD libnbcompat.

MirOS BSD #10-current		 May 19, 2007				     1
[top]

List of man pages available for MirBSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net