tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

proposed SA_RESTART comment change



Hello,

is setting SA_RESTART in sigaction(2)'s act.sa_flags really supposed
to restart the system? ;-) What about the attached spelling fix?


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
Index: sys/sys/signal.h
===================================================================
RCS file: /cvsroot/src/sys/sys/signal.h,v
retrieving revision 1.63
diff -u -p -r1.63 signal.h
--- sys/sys/signal.h    3 Jun 2006 18:18:26 -0000       1.63
+++ sys/sys/signal.h    27 Feb 2008 18:52:53 -0000
@@ -145,7 +145,7 @@ struct      sigaction {
 #if (defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE_EXTENDED)) || \
     (_XOPEN_SOURCE - 0) >= 500 || defined(_NETBSD_SOURCE)
 #define SA_ONSTACK     0x0001  /* take signal on signal stack */
-#define SA_RESTART     0x0002  /* restart system on signal return */
+#define SA_RESTART     0x0002  /* restart interrupted system call on signal 
return */
 #define SA_RESETHAND   0x0004  /* reset to SIG_DFL when taking signal */
 #define SA_NODEFER     0x0010  /* don't mask the signal we're delivering */
 #endif /* _XOPEN_SOURCE_EXTENDED || XOPEN_SOURCE >= 500 || _NETBSD_SOURCE */


Home | Main Index | Thread Index | Old Index