?S:.
?S:sig_name_init:
?S: This variable holds the signal names, enclosed in double quotes and
-?S: separated by commas, suitable for use in the SIG_NAME definition
-?S: below. A "ZERO" is prepended to the list, and the list is
+?S: separated by commas, suitable for use in the SIG_NAME definition
+?S: below. A "ZERO" is prepended to the list, and the list is
?S: terminated with a plain 0. The leading SIG in signal names
?S: is removed. See sig_num.
?S:.
?S:.
?S:sig_num_init:
?S: This variable holds the signal numbers, enclosed in double quotes and
-?S: separated by commas, suitable for use in the SIG_NUM definition
-?S: below. A "ZERO" is prepended to the list, and the list is
+?S: separated by commas, suitable for use in the SIG_NUM definition
+?S: below. A "ZERO" is prepended to the list, and the list is
?S: terminated with a plain 0.
?S:.
?S:sig_count (sig_name.U):
?C: The signals in the list are separated with commas, and the indices
?C: within that list and the SIG_NAME list match, so it's easy to compute
?C: the signal name from a number or vice versa at the price of a small
-?C: dynamic linear lookup.
+?C: dynamic linear lookup.
?C: Duplicates are allowed, but are moved to the end of the list.
?C: The signal number corresponding to sig_name[i] is sig_number[i].
-?C: if (i < NSIG) then sig_number[i] == i.
+?C: if (i < NSIG) then sig_number[i] == i.
?C: The last element is 0, corresponding to the 0 at the end of
?C: the sig_name_init list.
?C: Note that this variable is initialized from the sig_num_init,
printf "\n"
}'
sig_size=`echo $sig_name | awk '{print NF}'`
-$rm -f signal signal.c signal.awk signal.lst signal_cmd
+$rm -f signal signal.c signal.awk signal.lst signal_cmd
?S:selecttype:
?S: This variable holds the type used for the 2nd, 3rd, and 4th
?S: arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
-?S: is defined, and 'int *' otherwise. This is only useful if you
+?S: is defined, and 'int *' otherwise. This is only useful if you
?S: have select(), naturally.
?S:.
?C:Select_fd_set_t:
?C: This symbol holds the type used for the 2nd, 3rd, and 4th
?C: arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET
-?C: is defined, and 'int *' otherwise. This is only useful if you
+?C: is defined, and 'int *' otherwise. This is only useful if you
?C: have select(), of course.
?C:.
?H:#define Select_fd_set_t $selecttype /**/
?H:.
?T:xxx nfd tmo try hdrs val
-: check for type of arguments to select.
+: check for type of arguments to select.
case "$selecttype" in
'') case "$d_select" in
$define)
Checking to see what type of arguments are accepted by select().
EOM
hdrs="$define sys/types.h
- $i_systime sys/time.h
+ $i_systime sys/time.h
$i_sysselct sys/select.h
$d_socket sys/socket.h"
: The first arg can be int, unsigned, or size_t