[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    [OT] Semaphores.
From:       Mofeed Shahin <shahin () labf ! org>
Date:       1999-11-10 7:24:41
[Download RAW message or body]


Running kernel 2.3.26, I get this error message when I try to compile the
program bellow.

Have I done something wrong ?????
--------------------
#> gcc foo.c -o foo
foo.c: In function `main':
foo.c:7: storage size of `semopts' isn't known
--------------------

#include <sys/types.h>
#include <sys/sem.h>
#include <sys/ipc.h>
 
void main(){
 
union semun semopts;
 
} 
--------------------
Cheers Mof.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic