| manpages.info - online man pages | ![]() |
|||
|
getvfsbyname (3) Table of Contents
Namegetvfsbyname - get information about a filesystem
LibraryStandard C Library (libc, -lc)
Synopsis
#include <sys/param.h>
int
DescriptionThe getvfsbyname() function provides access to information about a filesystem module that is configured in the kernel. If successful, the requested filesystem vfsconf is returned in the location pointed to by vfc. The fields in a ``struct vfsconf'' are defined as follows:
Return ValuesThe getvfsbyname() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
ErrorsThe following errors may be reported:
See Alsomount(2) , getvfsent(3) , sysctl(3) , mount(8) , sysctl(8)
HistoryA variant of the getvfsbyname() function first appeared in FreeBSD 2.0.
|