File System Type Identification Library Functions
fstypident(3FSTYP)
NAME
fstypident - identify file system attributes
SYNOPSIS
cc [ flag... ] file... -lfstyp -lnvpair [ library... ]
#include
#include
int fstypident(fstyphandlet handle, const char *fstyp,
const char **ident);
PARAMETERS
handle Opaque handle returned by fstypinit(3FSTYP).
fstype Opaque argument that specifies the file system
type to be identified.
ident File system type returned if identification
succeeds.
DESCRIPTION
The fstypident() function attempts to identify a file sys-
tem associated with the handle. If the function succeeds,
the file system name is returned in the ident pointer.
If fstype is NUL, the fstypident() function tries all
available identification modules. If fstype is other than
NUL, fstypident() tries only the module for the file sys-
tem type which is specified.
RETURN VALUES
The fstypident() function returns 0 on success and an error
value on failure. See fstypstrerror(3FSTYP).
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 20 Jun 2006 1
File System Type Identification Library Functions
fstypident(3FSTYP)
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe
SEE ALSO
fstypinit(3FSTYP), fstypmodinit(3FSTYP),
fstypstrerror(3FSTYP), libfstyp(3LIB), attributes(5)
SunOS 5.11 Last change: 20 Jun 2006 2
File System Type Identification Library Functions
fstypident(3FSTYP)
SunOS 5.11 Last change: 20 Jun 2006 3
|