[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'BaseUnix' (#rtl)

tsiginfo

Record describing the signal when a signal occurs.

Declaration

Source position: signal.inc line 145

type tsiginfo = record

  si_signo: LongInt;

  

Signal number

  si_errno: LongInt;

  

Error code

  si_code: LongInt;

  

Extra code (?)

  _sifields: record

  

Extra signal information fields

    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

            _timer1: DWord;

            _timer2: DWord;

          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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.