getvfsbyname - Get the virtual file system type number
#include <sys/mount.h>
int getvfsbyname(
const char *typename );
Standard C Library (libc)
A pointer to a virtual file system type name.
The getvfsbyname() function returns the type number of the
virtual system type identified by typename.
The getvfsbyname() function may not be able to handle file
systems that are dynamically loaded.
Upon successful completion, getvfsbyname() returns an
integer value between MOUNT_NONE and MOUNT_MAXTYPE that
identifies the file system type. Otherwise, getvfsbyname()
returns a value of -1 and errno is set to indicate the
error.
If any of the following conditions occurs, the getvfsbyname()
function sets errno to the corresponding value: The
typename argument is not a valid pointer. Memory cannot
be allocated.
Functions: getvfsbynumber(3), statfs(2).
getvfsbyname(3)
[ Back ] |