[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
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 created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson