home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / mod.std.unix.v3 / text0011.txt < prev    next >
Encoding:
Internet Message Format  |  1987-06-30  |  692 b 

  1. Date: Sun, 10 Nov 85 16:04:35 PST
  2. From: mordor!lll-crg!sun!guy (Guy Harris)
  3.  
  4. > Was this deliberately omitted - in which case I object, as
  5. > a SIGILL is quite likely the best choice for SIGABRT...
  6.  
  7. Not necessarily; 4.xBSD happened to choose it for the VAX, because there's
  8. no IOT instruction, but VAX S5's "abort" routine is a (portable!) piece of C
  9. code which does
  10.  
  11.     kill(getpid(), SIGIOT);
  12.  
  13. (and also flushes all the Standard I/O buffers beforehand).  SIGIOT is
  14. pretty useless except on PDP-11s; the S5 shell says "abort - core dumped"
  15. rather than "IOT trap - core dumped" when a process gets a SIGIOT.
  16.  
  17. I think 4.xBSD should adopt S5's "abort" routine.
  18.  
  19. Volume-Number: Volume 3, Number 12
  20.  
  21.