Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getvfsbynumber(3) — Digital UNIX 4.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

statfs(2)

getvfsbyname(3)

getvfsbynumber(3)  —  Subroutines

NAME

getvfsbynumber − Gets the virtual file system type name

LIBRARY

Standard C Library (libc.a)

SYNOPSIS

#include <sys/mount.h>
char ∗getvfsbynumber(
int typeno);

PARAMETERS

typenoSpecifies the number that identifies the type of the file system. 

DESCRIPTION

The getvfsbynumber() function returns the symbolic name for the virtual file system type identified by typeno. The type number of a mounted file system can be determined with the statfs() function. 

NOTES

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

RETURN VALUES

Upon successful completion, getvfsbynumber() returns a symbolic name.  Otherwise, getvfsbynumber() returns a value of -1 and sets errno. 

ERRORS

If any of the following conditions occurs, the getvfsbynumber() function sets errno to the corresponding value:

[EINVAL]typeno is outside the range of known file system types. 

RELATED INFORMATION

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

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