G
Gvs
Hi,
I'm trying to compile an example semaphore .c file taken straight from the
internet, but it won't compile with the error;
gcc seminit.c -o seminit
seminit.c: In function `main':
seminit.c:16: error: storage size of 'arg' isn't known
Does anyone know how to correct this error.??
for reference the code is located at
http://www.ecst.csuchico.edu/~beej/guide/ipc/seminit.c
Any help would be much appreciated.
Kind Regards,
Matt
I'm trying to compile an example semaphore .c file taken straight from the
internet, but it won't compile with the error;
gcc seminit.c -o seminit
seminit.c: In function `main':
seminit.c:16: error: storage size of 'arg' isn't known
Does anyone know how to correct this error.??
for reference the code is located at
http://www.ecst.csuchico.edu/~beej/guide/ipc/seminit.c
Any help would be much appreciated.
Kind Regards,
Matt