#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>

int main(int argc, char **argv) {
    int shmid = shmget(0xA,0,0);
    shmctl(shmid, IPC_RMID, NULL);
    printf("Mem compartida shmid = %d, borrada\n",shmid);
    return 0;
}

