Signup
Search Linux manpages For:  

statfs64(2) -- Linux man page

 

NAME

statfs64,fstatfs64 - Get file system statistics  

SYNOPSIS

long statfs64 (const char *path, size_t sz, struct statfs64 *buf);
long fstatfs64 (unsigned int fd, size_t sz, struct statfs64 *buf);
 

DESCRIPTION

statfs64 and fstatfs64 get file system statistics. For statfs, path is the path name of a file in the mounted file system in question. Alternatively, fstatfs can pass a file descriptor in an open file in the fd parameter and get similar information. buf is a statfs pointer structure that contains information about the file system, such as type and free blocks.  

RETURN VALUE

statfs64 and fstatfs64 return 0 on success. Otherwise, they return one of the errors listed in the "Errors" section.  

ERRORS

EINVAL, EFAULT
An invalid address for buf was specified.
EBADF
An invalid file descriptor, fd, was specified. fd is applicable to fstatfs only.
 

SEE ALSO

stat(2), statvfs(2)  

AUTHOR

Niki Rahimi


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.