mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-22 01:31:33 +00:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
/******************************************
|
|
* direct - Directory Manipulation Module *
|
|
* for run6502 emulator *
|
|
* Requires fileio.h02 *
|
|
******************************************/
|
|
|
|
const char topdir[]; //Root Directory Relative Path
|
|
const char updir[]; //Parent Directory Relative Path
|
|
|
|
/* Change Directory *
|
|
* Args: drv - Drive/Disk Identifier *
|
|
* &dir - Directory Name *
|
|
* Returns: char e - Error, 0=None */
|
|
char chdir();
|
|
|
|
/* Get Current Working Directory *
|
|
* Args: drv - Drive/Disk Identifier *
|
|
* &dir - Directory String *
|
|
* Returns: char n - Length of Name *
|
|
* 0 = None or Error *
|
|
* char e - Error, 0=None */
|
|
char getcwd();
|
|
|
|
/* Make Directory *
|
|
* Args: drv - Drive/Disk Identifier *
|
|
* &dir - Directory Name *
|
|
* Returns: char e - Error, 0=None */
|
|
char mkdir();
|
|
|
|
/* Remove Directory *
|
|
* Args: drv - Drive/Disk Identifier *
|
|
* &dir - Directory Name *
|
|
* Returns: char r - Result, 0=Success *
|
|
* char e - Error, 0=None */
|
|
char rmdir();
|