Penguin

Differences between current version and predecessor to the previous major change of EINTR.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 3 Last edited on Friday, May 5, 2006 10:07:41 am by IanMcDonald
Older page: version 2 Last edited on Monday, May 17, 2004 9:38:39 pm by HannesWyss Revert
@@ -1,7 +1,9 @@
 !!!Interrupted System Call 
  
-This is returned by the kernel if a system call was interrupted permaturely with a signal before it was able to complete. You should probably retry the syscall again. This behavour can be changed on a signal by signal basis with sigaction(2). 
+This is returned by the LinuxKernel if a system call was interrupted permaturely with a [Signal] before it was able to complete. You should probably retry the syscall again. This behavour can be changed on a signal by signal basis with sigaction(2).  
+  
+The main exception to this is if you are using [pause(2)] in which case [EINTR] means that a signal was caught and handled
  
 <blatant-plagiarism copied-from="http://www.developerweb.net/sock-faq/detail.php?id=1389"> 
  
 The areas you should check for this are any socket io calls (read(s), recv(s), write(s), send(s)) and any of the "status" calls such as select and poll...