m_ident
This call sets *typep to indicate the filetype of bp.
- Syntax: int far m_ident(char far *bp, int len, int sys, int far *typep)
- Parameters: char far *bp - Pointer to the file to obtain filetype from
int len - Length of the filename stored in bp
int sys - If sys is set, the System Manager will build a path for
the file using the system directory
int far *typep - Pointer to the location to post obtained filetype
- Returns: 0 - if successful
Any other value indicates an error condition
- Comments: Type of files are:
Code Numeric Value
ident_none 0
ident_file 1
ident_directory 2
ident_device 3