comparison gcc/ada/libgnarl/s-linux.ads @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
4 -- -- 4 -- --
5 -- S Y S T E M . L I N U X -- 5 -- S Y S T E M . L I N U X --
6 -- -- 6 -- --
7 -- S p e c -- 7 -- S p e c --
8 -- -- 8 -- --
9 -- Copyright (C) 2008-2018, Free Software Foundation, Inc. -- 9 -- Copyright (C) 2008-2019, Free Software Foundation, Inc. --
10 -- -- 10 -- --
11 -- GNARL is free software; you can redistribute it and/or modify it under -- 11 -- GNARL is free software; you can redistribute it and/or modify it under --
12 -- terms of the GNU General Public License as published by the Free Soft- -- 12 -- terms of the GNU General Public License as published by the Free Soft- --
13 -- ware Foundation; either version 3, or (at your option) any later ver- -- 13 -- ware Foundation; either version 3, or (at your option) any later ver- --
14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- 14 -- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
80 SIGINT : constant := 2; -- interrupt (rubout) 80 SIGINT : constant := 2; -- interrupt (rubout)
81 SIGQUIT : constant := 3; -- quit (ASCD FS) 81 SIGQUIT : constant := 3; -- quit (ASCD FS)
82 SIGILL : constant := 4; -- illegal instruction (not reset) 82 SIGILL : constant := 4; -- illegal instruction (not reset)
83 SIGTRAP : constant := 5; -- trace trap (not reset) 83 SIGTRAP : constant := 5; -- trace trap (not reset)
84 SIGIOT : constant := 6; -- IOT instruction 84 SIGIOT : constant := 6; -- IOT instruction
85 SIGABRT : constant := 6; -- used by abort, replace SIGIOT in the future 85 SIGABRT : constant := 6; -- used by abort, replace SIGIOT in the future
86 SIGFPE : constant := 8; -- floating point exception 86 SIGFPE : constant := 8; -- floating point exception
87 SIGKILL : constant := 9; -- kill (cannot be caught or ignored) 87 SIGKILL : constant := 9; -- kill (cannot be caught or ignored)
88 SIGBUS : constant := 7; -- bus error 88 SIGBUS : constant := 7; -- bus error
89 SIGUSR1 : constant := 10; -- user defined signal 1
89 SIGSEGV : constant := 11; -- segmentation violation 90 SIGSEGV : constant := 11; -- segmentation violation
91 SIGUSR2 : constant := 12; -- user defined signal 2
90 SIGPIPE : constant := 13; -- write on a pipe with no one to read it 92 SIGPIPE : constant := 13; -- write on a pipe with no one to read it
91 SIGALRM : constant := 14; -- alarm clock 93 SIGALRM : constant := 14; -- alarm clock
92 SIGTERM : constant := 15; -- software termination signal from kill 94 SIGTERM : constant := 15; -- software termination signal from kill
93 SIGUSR1 : constant := 10; -- user defined signal 1 95 SIGSTKFLT : constant := 16; -- coprocessor stack fault (Linux)
94 SIGUSR2 : constant := 12; -- user defined signal 2
95 SIGCLD : constant := 17; -- alias for SIGCHLD 96 SIGCLD : constant := 17; -- alias for SIGCHLD
96 SIGCHLD : constant := 17; -- child status change 97 SIGCHLD : constant := 17; -- child status change
97 SIGPWR : constant := 30; -- power-fail restart
98 SIGWINCH : constant := 28; -- window size change
99 SIGURG : constant := 23; -- urgent condition on IO channel
100 SIGPOLL : constant := 29; -- pollable event occurred
101 SIGIO : constant := 29; -- I/O now possible (4.2 BSD)
102 SIGLOST : constant := 29; -- File lock lost
103 SIGSTOP : constant := 19; -- stop (cannot be caught or ignored) 98 SIGSTOP : constant := 19; -- stop (cannot be caught or ignored)
104 SIGTSTP : constant := 20; -- user stop requested from tty 99 SIGTSTP : constant := 20; -- user stop requested from tty
105 SIGCONT : constant := 18; -- stopped process has been continued 100 SIGCONT : constant := 18; -- stopped process has been continued
106 SIGTTIN : constant := 21; -- background tty read attempted 101 SIGTTIN : constant := 21; -- background tty read attempted
107 SIGTTOU : constant := 22; -- background tty write attempted 102 SIGTTOU : constant := 22; -- background tty write attempted
103 SIGURG : constant := 23; -- urgent condition on IO channel
104 SIGXCPU : constant := 24; -- CPU time limit exceeded
105 SIGXFSZ : constant := 25; -- filesize limit exceeded
108 SIGVTALRM : constant := 26; -- virtual timer expired 106 SIGVTALRM : constant := 26; -- virtual timer expired
109 SIGPROF : constant := 27; -- profiling timer expired 107 SIGPROF : constant := 27; -- profiling timer expired
110 SIGXCPU : constant := 24; -- CPU time limit exceeded 108 SIGWINCH : constant := 28; -- window size change
111 SIGXFSZ : constant := 25; -- filesize limit exceeded 109 SIGPOLL : constant := 29; -- pollable event occurred
112 SIGUNUSED : constant := 31; -- unused signal (GNU/Linux) 110 SIGIO : constant := 29; -- I/O now possible (4.2 BSD)
113 SIGSTKFLT : constant := 16; -- coprocessor stack fault (Linux) 111 SIGLOST : constant := 29; -- File lock lost
114 SIGLTHRRES : constant := 32; -- GNU/LinuxThreads restart signal 112 SIGPWR : constant := 30; -- power-fail restart
115 SIGLTHRCAN : constant := 33; -- GNU/LinuxThreads cancel signal 113 SIGSYS : constant := 31; -- bad system call
116 SIGLTHRDBG : constant := 34; -- GNU/LinuxThreads debugger signal 114 SIGUNUSED : constant := 31; -- unused signal (mapped to SIGSYS)
115 SIG32 : constant := 32; -- glibc internal signal
116 SIG33 : constant := 33; -- glibc internal signal
117 SIG34 : constant := 34; -- glibc internal signal
117 118
118 -- struct_sigaction offsets 119 -- struct_sigaction offsets
119 120
120 sa_handler_pos : constant := 0; 121 sa_handler_pos : constant := 0;
121 sa_mask_pos : constant := Standard'Address_Size / 8; 122 sa_mask_pos : constant := Standard'Address_Size / 8;