m_getdir
This call builds in bp the current directory for the specified drive. The returned path includes the drive designator (e.g., "c:").
- Syntax: int far m_get_dir(char drive, char far *bp, int far *lenp)
- Parameters: char drive - Drive specification
char far *bp - Pointer to the buffer to store returned path information
int *lenp - Length of the string returned in bp
- Returns: 0 - if successful
Any other value indicates an error condition.