Changeset 1579 for trunk/src


Ignore:
Timestamp:
Oct 10, 2004, 1:27:47 PM (21 years ago)
Author:
bird
Message:

better to mess up old code.

Location:
trunk/src/emx/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/sharedpm.h

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r1578 r1579  
    3131#include <sys/signal.h>
    3232
    33 #ifndef SI_MESGQ                        /* temporary hack */
    34 typedef union sigval
    35 {
    36     int     sigval_int;
    37     void   *sigval_ptr;
    38 } sigval_t;
    39 
    40 typedef struct __siginfo
    41 {
    42     /** Signal number. */
    43     int             si_signo;
    44     /** Associated errno. */
    45     int             si_errno;
    46     /** Signal code. (See SI_* and FPE_* macros.) */
    47     int             si_code;
    48     /** Timestamp when the signal was generated - LIBC extension. */
    49     unsigned        si_timestamp;
    50     /** Process sending the signal. */
    51     __pid_t         si_pid;
    52     /** Thread sending the signal - LIBC extension. */
    53     unsigned        si_tid;
    54     /** User sending the signal (ruid). (Usually 0 for OS/2) */
    55     __uid_t         si_uid;
    56     /** Exit value. (SIGCHLD) */
    57     int             si_status;
    58     /** Pointer to the faulting instruction or memory reference. (SIGSEGV, SIGILL, SIGFPE, SIGBUS) */
    59     void           *si_addr;
    60     /** Signal value. */
    61     union sigval    si_value;
    62     /** Band event for SIGPOLL. */
    63     long            si_band;
    64     /** Filehandle for SIGPOLL. */
    65     int             si_fd;
    66     /** Reserve a little bit for future usage. */
    67     unsigned        auReserved[4];
    68 } siginfo_t;
    69 #endif
    7033
    7134__BEGIN_DECLS
  • trunk/src/emx/include/sys/signal.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r1578 r1579  
    651651
    652652
     653typedef union sigval
     654{
     655    int     sigval_int;
     656    void   *sigval_ptr;
     657} sigval_t;
     658
     659typedef struct __siginfo
     660{
     661    /** Signal number. */
     662    int             si_signo;
     663    /** Associated errno. */
     664    int             si_errno;
     665    /** Signal code. (See SI_* and FPE_* macros.) */
     666    int             si_code;
     667    /** Timestamp when the signal was generated - LIBC extension. */
     668    unsigned        si_timestamp;
     669    /** Process sending the signal. */
     670    __pid_t         si_pid;
     671    /** Thread sending the signal - LIBC extension. */
     672    unsigned        si_tid;
     673    /** User sending the signal (ruid). (Usually 0 for OS/2) */
     674    __uid_t         si_uid;
     675    /** Exit value. (SIGCHLD) */
     676    int             si_status;
     677    /** Pointer to the faulting instruction or memory reference. (SIGSEGV, SIGILL, SIGFPE, SIGBUS) */
     678    void           *si_addr;
     679    /** Signal value. */
     680    union sigval    si_value;
     681    /** Band event for SIGPOLL. */
     682    long            si_band;
     683    /** Filehandle for SIGPOLL. */
     684    int             si_fd;
     685    /** Reserve a little bit for future usage. */
     686    unsigned        auReserved[4];
     687} siginfo_t;
     688
    653689#if defined (__cplusplus)
    654690}
Note: See TracChangeset for help on using the changeset viewer.