Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getvfsbyname(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getvfsbynumber(3)

statfs(2)

getvfsbyname(3)  —  Subroutines

NAME

getvfsbyname − Get the virtual file system type number

SYNOPSIS

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

LIBRARY

Standard C Library (libc)

PARAMETERS

typename
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:

[EFAULT]
The typename argument is not a valid pointer. 

[ENOMEM]
Memory cannot be allocated.

SEE ALSO

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026