mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
Add the build framework and skeleton files for the shared memory feature (no logic yet provided)
This commit is contained in:
+7
-6
@@ -56,7 +56,7 @@
|
||||
|
||||
/* Keys: */
|
||||
|
||||
#define IPC_PRIVATE 0 /* Private key */
|
||||
#define IPC_PRIVATE 0 /* Private key */
|
||||
|
||||
/* Control commands: */
|
||||
|
||||
@@ -89,11 +89,12 @@ extern "C"
|
||||
|
||||
struct ipc_perm
|
||||
{
|
||||
uid_t uid /* Owner's user ID */
|
||||
gid_t gid /* Owner's group ID */
|
||||
uid_t cuid /* Creator's user ID */
|
||||
gid_t cgid /* Creator's group ID */
|
||||
mode_t mode /* Read/write permission */
|
||||
uid_t uid; /* Owner's user ID */
|
||||
gid_t gid; /* Owner's group ID */
|
||||
uid_t cuid; /* Creator's user ID */
|
||||
gid_t cgid; /* Creator's group ID */
|
||||
mode_t mode; /* Read/write permission */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#define SHM_RDONLY 0x01 /* Attach read-only (else read-write) */
|
||||
#defube SHM_RND 0x02 /* Round attach address to SHMLBA */
|
||||
#define SHM_RND 0x02 /* Round attach address to SHMLBA */
|
||||
|
||||
/* Segment low boundary address multiple */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user