Initialise the file name in a File Control Block. High bit of any input characters is cleared, and lower case are converted to upper case. No other checks on valid characters is made. Individual character wildcard (?) are allowed, as is a global wildcard (*) at the end of the base name or the extention.
This routine is called automatically by routines taking a file name as a parameter.
fcb = | Pointer to file control block. |
fname = | Pointer to file name. |
Return: | 0 - OK. 1 - Invalid drive letter. 2 - Base name too long. 3 - Extension too long. |
Include file: diskio.h