libk  Diff

Differences From Artifact [1bb8ef8aa2]:

To Artifact [a61775181a]:


    55     55   	posix_signal_float = 8,
    56     56   	posix_signal_kill = 9,
    57     57   	posix_signal_segfault = 11,
    58     58   	posix_signal_pipe = 13,
    59     59   	posix_signal_alarm = 14,
    60     60   	posix_signal_terminate = 15,
    61     61   
    62         -#if KVarch == KA_arch_mips && KVos == KA_os_lin
           62  +#	if KVarch == KA_arch_mips && KVos == KA_os_lin
    63     63   	/* for some ungodly reason, some signal
    64     64   	 * numbers on MIPS differ from most other
    65     65   	 * architectures still in contemporary use */
    66         -	posix_signal_bus = 10,
    67         -	posix_signal_user_a = 16,
    68         -	posix_signal_user_b = 17,
    69         -	posix_signal_child = 18,
    70         -	posix_signal_continue = 25,
    71         -	posix_signal_stop = 23,
    72         -	posix_signal_terminal_stop = 24,
    73         -	posix_signal_tty_input = 26,
    74         -	posix_signal_tty_output = 27,
    75         -	posix_signal_io_urgent = 21,
    76         -	posix_signal_limit_cpu = 30,
    77         -	posix_signal_limit_space = 31,
    78         -	posix_signal_vt_alarm = 28,
    79         -	posix_signal_profile = 29,
    80         -	posix_signal_winch = 20,
    81         -	posix_signal_poll = 22,
    82         -	posix_signal_power = 19,
    83         -#elif KVos == KA_os_lin
           66  +		posix_signal_bus = 10,
           67  +		posix_signal_user_a = 16,
           68  +		posix_signal_user_b = 17,
           69  +		posix_signal_child = 18,
           70  +		posix_signal_continue = 25,
           71  +		posix_signal_stop = 23,
           72  +		posix_signal_terminal_stop = 24,
           73  +		posix_signal_tty_input = 26,
           74  +		posix_signal_tty_output = 27,
           75  +		posix_signal_io_urgent = 21,
           76  +		posix_signal_limit_cpu = 30,
           77  +		posix_signal_limit_space = 31,
           78  +		posix_signal_vt_alarm = 28,
           79  +		posix_signal_profile = 29,
           80  +		posix_signal_winch = 20,
           81  +		posix_signal_poll = 22,
           82  +		posix_signal_power = 19,
           83  +#	elif KVos == KA_os_lin
    84     84   	/* x86, ARM, and most others use these
    85     85   	 * signal numbers */
    86         -	posix_signal_bus = 7,
    87         -	posix_signal_user_a = 10,
    88         -	posix_signal_user_b = 12,
    89         -	posix_signal_child = 17,
    90         -	posix_signal_continue = 18,
    91         -	posix_signal_stack_fault = 16,
    92         -	posix_signal_stop = 19,
    93         -	posix_signal_terminal_stop = 20,
    94         -	posix_signal_tty_input = 21,
    95         -	posix_signal_tty_output = 22,
    96         -	posix_signal_io_urgent = 23,
    97         -	posix_signal_limit_cpu = 24,
    98         -	posix_signal_limit_space = 25,
    99         -	posix_signal_vt_alarm = 26,
   100         -	posix_signal_profile = 27,
   101         -	posix_signal_winch = 28,
   102         -	posix_signal_poll = 29,
   103         -	posix_signal_power = 30,
   104         -#elif KVos == KA_os_fbsd
   105         -	posix_signal_bus = 10,
   106         -	posix_signal_user_a = 30,
   107         -	posix_signal_user_b = 31,
   108         -	posix_signal_child = 17,
   109         -	posix_signal_continue = 19,
   110         -	posix_signal_stack_fault = 16,
   111         -	posix_signal_stop = 17,
   112         -	posix_signal_terminal_stop = 18,
   113         -	posix_signal_tty_input = 21,
   114         -	posix_signal_tty_output = 22,
   115         -	posix_signal_io_urgent = 16,
   116         -	posix_signal_limit_cpu = 24,
   117         -	posix_signal_limit_space = 25,
   118         -	posix_signal_vt_alarm = 26,
   119         -	posix_signal_profile = 27,
   120         -	posix_signal_winch = 28,
   121         -	posix_signal_info = 29,
   122         -	posix_signal_poll = 23,
   123         -	posix_signal_power = 30,
   124         -#endif
           86  +		posix_signal_bus = 7,
           87  +		posix_signal_user_a = 10,
           88  +		posix_signal_user_b = 12,
           89  +		posix_signal_child = 17,
           90  +		posix_signal_continue = 18,
           91  +		posix_signal_stack_fault = 16,
           92  +		posix_signal_stop = 19,
           93  +		posix_signal_terminal_stop = 20,
           94  +		posix_signal_tty_input = 21,
           95  +		posix_signal_tty_output = 22,
           96  +		posix_signal_io_urgent = 23,
           97  +		posix_signal_limit_cpu = 24,
           98  +		posix_signal_limit_space = 25,
           99  +		posix_signal_vt_alarm = 26,
          100  +		posix_signal_profile = 27,
          101  +		posix_signal_winch = 28,
          102  +		posix_signal_poll = 29,
          103  +		posix_signal_power = 30,
          104  +#	elif KVos == KA_os_fbsd
          105  +		posix_signal_bus = 10,
          106  +		posix_signal_user_a = 30,
          107  +		posix_signal_user_b = 31,
          108  +		posix_signal_child = 17,
          109  +		posix_signal_continue = 19,
          110  +		posix_signal_stack_fault = 16,
          111  +		posix_signal_stop = 17,
          112  +		posix_signal_terminal_stop = 18,
          113  +		posix_signal_tty_input = 21,
          114  +		posix_signal_tty_output = 22,
          115  +		posix_signal_io_urgent = 16,
          116  +		posix_signal_limit_cpu = 24,
          117  +		posix_signal_limit_space = 25,
          118  +		posix_signal_vt_alarm = 26,
          119  +		posix_signal_profile = 27,
          120  +		posix_signal_winch = 28,
          121  +		posix_signal_info = 29,
          122  +		posix_signal_poll = 23,
          123  +		posix_signal_power = 30,
          124  +#	endif
   125    125   };
   126    126   
   127    127   #endif
   128    128   #ifdef KFplatform_define_types
   129    129   
   130    130   /* platform types */
   131    131