[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 177

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;

  

Unused

        );

      1: (

          _kill: record

  

Kill signal info

            _pid: pid_t;

  

Process ID of sending process

            _uid: uid_t;

  

User ID of sending process

          end;

        );

      2: (

          _timer: record

  

Timer info

            _timer1: dword;

  

Timer info part 1

            _timer2: dword;

  

Timer info part 2

          end;

        );

      3: (

          _rt: record

  

Realtime signal

            _pid: pid_t;

  

Process ID

            _uid: uid_t;

  

User ID

            _sigval: pointer;

  

Signal value

          end;

        );

      4: (

          _sigchld: record

  

SIGCHILD info

            _pid: pid_t;

  

Process ID

            _uid: uid_t;

  

User ID

            _status: LongInt;

  

Exit status

            _utime: clock_t;

  

User time used by process

            _stime: clock_t;

  

System time used by process

          end;

        );

      5: (

          _sigfault: record

  

SIGSEGV info

            _addr: pointer;

  

Address at which SEGV occurred

          end;

        );

      6: (

          _sigpoll: record

  

SIGPOLL info

            _band: LongInt;

  

Band (?)

            _fd: LongInt;

  

File descriptor

          end;

        );

  end;

end;

Description

This type describes the signal that occurred.


Documentation generated on: Jun 23 2021