File System Type Identification Library Functions
fstyp_ident(3FSTYP)
NAME
fstyp_ident - identify file system attributes
SYNOPSIS
cc [ flag... ] file... -lfstyp -lnvpair [ library... ]
#include
#include
int fstyp_ident(fstyp_handle_t handle, const char *fstyp,
const char **ident);PARAMETERS
handle Opaque handle returned by fstyp_init(3FSTYP).
fstype Opaque argument that specifies the file system type to be identified. ident File system type returned if identification succeeds.DESCRIPTION
The fstyp_ident() 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 NULL, the fstyp_ident() function tries all
available identification modules. If fstype is other thanNULL, fstyp_ident() tries only the module for the file sys-
tem type which is specified.RETURN VALUES
The fstyp_ident() function returns 0 on success and an error
value on failure. See fstyp_strerror(3FSTYP).
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 20 Jun 2006 1
File System Type Identification Library Functionsfstyp_ident(3FSTYP)
______________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
fstyp_init(3FSTYP), fstyp_mod_init(3FSTYP),
fstyp_strerror(3FSTYP), libfstyp(3LIB), attributes(5)
SunOS 5.11 Last change: 20 Jun 2006 2
File System Type Identification Library Functionsfstyp_ident(3FSTYP)
SunOS 5.11 Last change: 20 Jun 2006 3