#include <revolution/nand.h>
typedef struct NANDStatus
{
u32 ownerId;
u16 groupId;
u8 attribute;
u8 permission;
} NANDStatus;
The 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 (belongs to the same company). |
| NAND_PERM_GROUP_WRITE | Writable when the application has the same group ID (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/xx Clarified that the concept of a group corresponds to a company.
2006/06/16 Initial version.
CONFIDENTIAL