Misc. Reference Manual Pages fstyp_ident(3FSTYP) NAME fstyp_ident - identify filesystem type SYNOPSIS cc [ flag... ] file... -lfstyp -lnvpair [ library... ] #include #include int fstyp_ident(fstyp_handle_t handle, const char *fstyp, const char **ident); handle Opaque handle returned by fstyp_init(3FSTYP) fstyp Optional argument, specifies filesystem type to identify. ident If identification succeeds, filesystem type string is returned in this argument. fstyp_ident() attempts to identify a filesystem associated with the handle. It If fucntion succeeds, filesystem name is returned in ident pointer. If fstype is NULL, fstyp_ident() will try all available identification modules. If fstype is not NULL, it will try only the module for the specified filesystem type. ERRORS fstyp_ident() 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: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |____________________________|______________________________| | Interface Stability | Evolving | |____________________________|______________________________| | MT-Level | MT-Safe | |____________________________|______________________________| SEE ALSO libfstyp(3LIB), fstyp_init(3FSTYP), fstyp_strerror(3FSTYP), fstyp_mod_init(3FSTYP), attributes(5)