Date: Mon, 24 May 2004 16:10:29 +0200 From: "Arne Dirks" <ad@bnc.net> To: freebsd-questions@FreeBSD.org Subject: sigset_t Message-ID: <web-657870@bnc.net>
next in thread | raw e-mail | index | archive | help
Hi folks, I have just coded something on my Mac with signal funcionalities. On my machine (OS X 10.3) it compiles without problems, but on a FreeBSD 5.2.1 machine I get an error. The compiler says: main.c:10: error: invalid initializer *** Error code 1 My Code was: 10: sigset_t sig = SIGALRM; As I said, on a Mac it compiles well, but the BSD-machine is giving the named error. I think there must be a type mismatch, but I cannot find any declaration for sigset_t in the include dir. A piece of test code gives no problems: #include <signal.h> main () { sigset_t sig; } Does anyone have a solution for this problem? arne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?web-657870>