Content-type: text/html Man page of getvfsbyname

getvfsbyname

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

getvfsbyname - Gets the virtual file system type number  

LIBRARY

Standard C Library (libc.a)  

SYNOPSIS

#include <sys/mount.h> int getvfsbyname(        const char *typename);
 

PARAMETERS

A pointer to a virtual file system type name.  

DESCRIPTION

The getvfsbyname() function returns the type number of the virtual system type identified by typename.  

NOTES

The getvfsbyname() function may not be able to handle file systems that are dynamically loaded.  

RETURN VALUES

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.  

ERRORS

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.  

RELATED INFORMATION

Functions: getvfsbynumber(3), statfs(2). delim off


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
NOTES
RETURN VALUES
ERRORS
RELATED INFORMATION

This document was created by man2html, using the manual pages.
Time: 02:41:32 GMT, October 02, 2010