Thread View: de.comp.gnu
2 messages
2 total messages
Started by Ruediger Merz
Tue, 25 Aug 1992 06:36
Probleme mit gdb 4.4
Author: Ruediger Merz
Date: Tue, 25 Aug 1992 06:36
Date: Tue, 25 Aug 1992 06:36
32 lines
1605 bytes
1605 bytes
Hi,
wer kann mir bei dem folgenden Problem helfen ?
----------------------------------------------------
sigsetmask.c:31: parse error before `sigsetmask'
sigsetmask.c:32: parse error before `*'
sigsetmask.c: In function `sigsetmask':
sigsetmask.c:34: `sigset_t' undeclared (first use this function)
sigsetmask.c:34: (Each undeclared identifier is reported only once
sigsetmask.c:34: for each function it appears in.)
sigsetmask.c:34: parse error before `old'
sigsetmask.c:36: `SIG_SETMASK' undeclared (first use this function)
sigsetmask.c:36: `set' undeclared (first use this function)
sigsetmask.c:36: `old' undeclared (first use this function)
------------------------------------------------------
Wir haben auf unserem System (ESIX SysV 3.2) alles nach sigset_t
und SIG_SETMASK durchsucht.
Wo und wie sind die normalerweise deklariert ?
Danke fuer Eure Hilfe
cu
styx
--------------------------------------------------------------
Einen Grabstein auf den ganzen Schlamassel, mit der Inschrift
" Menschheit, du hattest von Anfang an nicht das Zeug dazu."
Henry C. jr Bukowski
Ruediger Merz, Ffm, Voice : +49 696312083 / Data : +49 69634588
Re: Probleme mit gdb 4.4
Author: Frank Patz
Date: Wed, 26 Aug 1992 12:41
Date: Wed, 26 Aug 1992 12:41
87 lines
3196 bytes
3196 bytes
styx@eurom.rhein-main.de (Ruediger Merz) writes: : : Hi, : : wer kann mir bei dem folgenden Problem helfen ? : : ---------------------------------------------------- : sigsetmask.c:31: parse error before `sigsetmask' : sigsetmask.c:32: parse error before `*' : sigsetmask.c: In function `sigsetmask': : sigsetmask.c:34: `sigset_t' undeclared (first use this function) : sigsetmask.c:34: (Each undeclared identifier is reported only once : sigsetmask.c:34: for each function it appears in.) : sigsetmask.c:34: parse error before `old' : sigsetmask.c:36: `SIG_SETMASK' undeclared (first use this function) : sigsetmask.c:36: `set' undeclared (first use this function) : sigsetmask.c:36: `old' undeclared (first use this function) : ------------------------------------------------------ : Wir haben auf unserem System (ESIX SysV 3.2) alles nach sigset_t : und SIG_SETMASK durchsucht. : Wo und wie sind die normalerweise deklariert ? Auf unserm System (SunOS 4.1.2) sieht das folgendermassen aus: in signal.h: ... #define SIG_SETMASK 0x0004 ... #include <sys/stdtypes.h> /* for sigset_t */ ... in sys/stdtypes.h: ... typedef int sigset_t; ... Dazu ist in der POSIX Norm folgendes zu lesen: (nach ISO/IEC 9945-1:1990) 3.3.1.1 Signal Names [...] The type sigset_t is used to represent set of signals. It is always an integral or structure type. Several functions used to manipulate objects of type sigset_t are defined in 3.3.3. [...] 3.3.5 Examine and Change Blocked Signals Function: sigprocmask() 3.3.5.1 Synopsis #include <signal.h> int sigprocmask(int how, const sigset_t *set, sigset_t *oset); 3.3.5.2 Description The sigprocmask() function is used to examine or change (or both) the signal mask of the calling process. If the value of the argument set is not NULL, it points to a set of signals to be used to change the currently blocked set. The value of the argument how indicates the manner in which the set is changed and shall consist of one of the following values, as defined in the header <signal.h>: NAME DESCRIPTIOM SIG_BLOCK The resulting set shall be the union of the current set and the signal set pointed to by the argument set. SIG_UNBLOCK The resulting set shall be the intersection of the current set and the complement of the signal set pointed to by the argument set. SIG_SETMASK The resulting set shall be the signal set pointed to by the argument SET [...] In der Beziehung sollte ein SysV POSIX kompatibel sein und ueber ein konformes <signal.h> verfuegen. Ich hoffe das hilft dir weiter.... Frank Patz patz@ipc1.rrzn.uni-hannover.de
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads