#include <revolution/nand.h>
typedef struct NANDStatus
{
u32 ownerId;
u16 groupId;
u8 attribute;
u8 permission;
} NANDStatus;
NANDStatus structure is used to store the ownerID, groupID, 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 if the application has the same group ID (the application belongs to the same company). |
NAND_PERM_GROUP_WRITE |
Writable if the application has the same group ID (the application belongs to the same company). |
NAND_PERM_OTHER_READ |
Readable by any application. |
NAND_PERM_OTHER_WRITE |
Writable by any application. |
NANDGetStatus, NANDGetStatusAsync, NANDSetStatus, NANDSetStatusAsync
2007/05/M Clarified that the concept of a "group" corresponds to a "company."
2006/06/16 Initial version.