18 lines
335 B
C
18 lines
335 B
C
#include <sys/types.h>
|
|
#include <sys/ipc.h>
|
|
#include <sys/shm.h>
|
|
|
|
#include <server.h>
|
|
#include <structures.h>
|
|
|
|
|
|
int main(int argc, char *argv[]){
|
|
input_server_t input = check_input(argc, argv);
|
|
|
|
int shmBoardid = getShmid(sizeof(int) * input.collums * input.rows);
|
|
shm_t *shm = shmat(shmBoardid, NULL, 0);
|
|
|
|
|
|
|
|
return 0;
|
|
} |