gcc sigthing.c
sigthing.c: In function `main':
sigthing.c:23: error: storage size of 'waitset' isn't known
#include <signal.h>
int main( int argc, char *argv[] ) {
struct sigset_t waitset;
sigemptyset( &waitset );
}
I have tried this on a number of different systems and I always get the same
result. It seems like some other header file might be required. I'm not
very good at interpreting what they put in those things. There are also an
average of four different files called "signal.h" on any given system.
What is the path that <..> looks in?
One of the signal.h files (usr/include/sys/) has the line:
typedef unsigned long sigset_t;
but I can't tell if that gets considered or not. Or if it even is an answer
in the first place.
Barry
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg