parsfnm() Parse File Name
#include <dos.h>
char *parsfnm(cmdline,fcbptr,option);
char *cmdline; String to be parsed
struct fcb *fcbptr; Pointer to FCB
int option; AL value
parsfnm() parses a string, usually a command line, pointed to by
'*cmdline' for a file name. The file name is placed in an FCB as a
drive, file name, and extension. The FCB is pointed to by 'fcbptr'.
'option' is the value documented for AL in the DOS parse system call.
Returns: On success, a pointer to the next byte after the end of
the file name. If there is any error in parsing the file
name, 0 is returned.
This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster