#include <revolution/nand.h>
typedef struct NANDStatus
{
u32 ownerId;
u16 groupId;
u8 attribute;
u8 permission;
} NANDStatus;
NANDStatus structure is used to store the owner ID, group ID, attribute information, and permissions for a file or directory.
Refer to the following table for information on file and directory permissions.
NAND_PERM_OWNER_READ |
readable only by the owner |
NAND_PERM_OWNER_WRITE |
writable only by the owner |
NAND_PERM_GROUP_READ |
readable when the application has the same group ID |
NAND_PERM_GROUP_WRITE |
writable when the application has the same group ID |
NAND_PERM_OTHER_READ |
readable by any application |
NAND_PERM_OTHER_WRITE |
writable by any application |
NANDGetStatus, NANDGetStatusAsync, NANDSetStatus, NANDSetStatusAsync
06/16/2006 Initial version.