X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Fsignals.h;h=d805d19223e642c9032234c3362de48e27cbd195;hb=0a6e4d979566bc9eae772e37d2577bed1aacef92;hp=4ad2b57d65b44ca52cb990f33b346edc08ab8e37;hpb=5dd6771b28c257af405d7248639ed0e3bcdce38b;p=mmh diff --git a/h/signals.h b/h/signals.h index 4ad2b57..d805d19 100644 --- a/h/signals.h +++ b/h/signals.h @@ -1,21 +1,20 @@ - /* - * signals.h -- header file for nmh signal interface - */ +** signals.h -- header file for nmh signal interface +*/ #include /* - * The type for a signal handler - */ +** The type for a signal handler +*/ typedef RETSIGTYPE (*SIGNAL_HANDLER)(int); /* - * If not a POSIX machine, then we create our - * own POSIX style signal sets functions. This - * currently assumes you have 31 signals, which - * should be true on most pure BSD machines. - */ +** If not a POSIX machine, then we create our +** own POSIX style signal sets functions. This +** currently assumes you have 31 signals, which +** should be true on most pure BSD machines. +*/ #ifndef POSIX_SIGNALS # define sigemptyset(s) (*(s) = 0) # define sigfillset(s) (*(s) = ~((sigset_t) 0), 0) @@ -25,8 +24,8 @@ typedef RETSIGTYPE (*SIGNAL_HANDLER)(int); #endif /* - * prototypes - */ -int SIGPROCMASK (int, const sigset_t *, sigset_t *); -SIGNAL_HANDLER SIGNAL (int, SIGNAL_HANDLER); -SIGNAL_HANDLER SIGNAL2 (int, SIGNAL_HANDLER); +** prototypes +*/ +int SIGPROCMASK(int, const sigset_t *, sigset_t *); +SIGNAL_HANDLER SIGNAL(int, SIGNAL_HANDLER); +SIGNAL_HANDLER SIGNAL2(int, SIGNAL_HANDLER);