m_getattr
For the file specified by bp, returns in the *attr the file attributes as returned by DOS.
- Syntax: int far m_getattr(char far *bp, int len, int sys, unsigned far *attr)
- Parameters: char far *bp - Pointer to the file to obtain attributes from
int len - Length of the file specification
int sys - If non-zero, indicates that the System Manager should build a
path using the System Directory
unsigned far *attr - Pointer to the location to post the attributes from
the file
- Returns: 0 - if successful
Any other value indicates an error condition.