Can anyone post the bitmasks documentation for sceIoChstat?
I haven't found it, sorry
sceIoChstat bitmasks?
For the PS2, it's
FIO_CST_SIZE = 0x0004 is used for truncate() in PSP newlib.
I don't know if the others work.
Code: Select all
// Flags for chstat 'statmask'
#define FIO_CST_MODE 0x0001
#define FIO_CST_ATTR 0x0002
#define FIO_CST_SIZE 0x0004
#define FIO_CST_CT 0x0008
#define FIO_CST_AT 0x0010
#define FIO_CST_MT 0x0020
#define FIO_CST_PRVT 0x0040
I don't know if the others work.
Can anyone add this to the sdk??
I think that can be usefull...
Something like this:
I think that can be usefull...
Something like this:
Code: Select all
/** sceIoChstat bitmasks */
enum IOFileStatBitmask {
FIO_CST_MODE = 0x0001,
FIO_CST_ATTR = 0x0002,
FIO_CST_SIZE = 0x0004,
FIO_CST_CT = 0x0008,
FIO_CST_AT = 0x0010,
FIO_CST_MT = 0x0020,
FIO_CST_PRVT = 0x0040
};
Get Xplora!