std1.0.0-beta-7 SafeC docs

std :: kernel::ipc

Struct std::Message

#include <std/kernel/ipc.h> source

struct Message {
    int sender_pid;
    int type;
    unsigned long size;
    unsigned char payload[MSG_MAX_SIZE];
}

Fields

§int sender_pidsource

sender process ID

§int typesource

user-defined message type

§unsigned long sizesource

payload size in bytes

§unsigned char payload[MSG_MAX_SIZE]source

message payload