Skip to content

tsiginfo

Record describing the signal when a signal occurs.

Declaration

Source position: signal.inc line 232

type
  tsiginfo = record
    si_signo: LongInt;
    si_errno: LongInt;
    si_code: LongInt;
    _sifields: record
      case LongInt of
        0: (
          _pad : Array[0..(SI_PAD_SIZE)-1] of LongInt;
        );
        1: (
          _kill : record
            _pid : pid_t;
            _uid : uid_t;
          end;
        );
        2: (
          _timer : record
          case LongInt of
          0: (
            _timer1 : DWord;
            _timer2 : DWord;
          );
          1: (
            _tid : LongInt;
            _overrun : LongInt;
            _sigval : pointer;
          );
          end;
        );
        3: (
          _rt : record
            _pid : pid_t;
            _uid : uid_t;
            _sigval : pointer;
          end;
        );
        4: (
          _sigchld : record
            _pid : pid_t;
            _uid : uid_t;
            _status : LongInt;
            _utime : clock_t;
            _stime : clock_t;
          end;
        );
        5: (
          _sigfault : record
            _addr : pointer;
          end;
        );
        6: (
          _sigpoll : record
            _band : LongInt;
            _fd : LongInt;
          end;
        );
    end;
  end;

Description

This type describes the signal that occurred.