Align rootdir() return value rather with POSIX functions than with DIO functions.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4680 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -149,9 +149,9 @@ unsigned char get_ostype (void);
|
||||
void rebootafterexit (void);
|
||||
/* Reboot machine after program termination has completed. */
|
||||
|
||||
unsigned char __fastcall__ rootdir (unsigned char drive, char* buf);
|
||||
/* Fill buffer with root directory name of ProDOS 8 disk in ProDOS 8 drive.
|
||||
* Returns 0 for success and an OS specific error code in case of failure.
|
||||
int __fastcall__ rootdir (unsigned char drive, char* buf);
|
||||
/* Fill buffer with root directory name of ProDOS 8 disk in
|
||||
* ProDOS 8 drive. Returns 0 on success and -1 on error.
|
||||
*/
|
||||
|
||||
#define ser_apple2_slot(num) ser_ioctl (0, (void*) (num))
|
||||
|
||||
Reference in New Issue
Block a user