mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 05:55:46 +08:00
Eliminating SDCC compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@17 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -4019,10 +4019,12 @@ between Nuttx and a MoBY application:
|
|||||||
<P>
|
<P>
|
||||||
The following structure defines the action to take for given signal:
|
The following structure defines the action to take for given signal:
|
||||||
<PRE>
|
<PRE>
|
||||||
struct sigaction {
|
struct sigaction
|
||||||
union {
|
{
|
||||||
saHandType *_sa_handler;
|
union
|
||||||
saVxHandType *_sa_sigaction;
|
{
|
||||||
|
void (*_sa_handler)(int);
|
||||||
|
void (*_sa_sigaction)(int, siginfo_t *, void *);
|
||||||
} sa_u;
|
} sa_u;
|
||||||
sigset_t sa_mask;
|
sigset_t sa_mask;
|
||||||
int sa_flags;
|
int sa_flags;
|
||||||
@@ -4031,13 +4033,6 @@ The following structure defines the action to take for given signal:
|
|||||||
#define sa_sigaction sa_u._sa_sigaction
|
#define sa_sigaction sa_u._sa_sigaction
|
||||||
</PRE>
|
</PRE>
|
||||||
|
|
||||||
<P>
|
|
||||||
where:
|
|
||||||
<PRE>
|
|
||||||
typedef void saHandType( int signo );
|
|
||||||
typedef void saVxHandType( int signo, siginfo_t *info, void *context );
|
|
||||||
</PRE>
|
|
||||||
|
|
||||||
<H3>3.4.6 struct siginfo/siginfo_t</H3>
|
<H3>3.4.6 struct siginfo/siginfo_t</H3>
|
||||||
|
|
||||||
<P>
|
<P>
|
||||||
|
|||||||
Reference in New Issue
Block a user