mirror of
https://github.com/aaru-dps/fstester.git
synced 2025-12-16 19:24:39 +00:00
Implement call for FAT32 GetDiskFreeEx() for DJGPP.
This commit is contained in:
@@ -42,7 +42,7 @@ Copyright (C) 2011-2021 Natalia Portillo
|
||||
|
||||
#pragma pack(__push, 1)
|
||||
|
||||
typedef struct _Fat32FreeSpace
|
||||
typedef struct diskfree_ex_t
|
||||
{
|
||||
unsigned short size;
|
||||
unsigned short version;
|
||||
@@ -55,7 +55,9 @@ typedef struct _Fat32FreeSpace
|
||||
unsigned long freeUnits;
|
||||
unsigned long totalUnits;
|
||||
unsigned char reserved[8];
|
||||
} Fat32FreeSpace;
|
||||
};
|
||||
|
||||
unsigned int _dos_getdiskfree_ex(unsigned int drive, struct diskfree_ex_t *diskspace);
|
||||
|
||||
#pragma pack(__pop)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user