Subject: | |
From: | |
Reply To: | |
Date: | Thu, 27 Feb 1997 13:30:40 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Mark Klein writes:
> Stan writes:
> >In theory, control-Y should be exactly like control-C.
>
> >At startup of POSIX C programs, the main() does a call to XCONTRAP
> >...and when the child process of a shell terminates, the shell
> >is awakened and does another XCONTRAP.
>
> [snip]
>
> >OTOH, if your program doesn't start with a call to main()
> >*from the POSIX libraries*, then it may not be calling
> >XCONTRAP.
>
> Actually, this is on my to-do list for gcc since gcc's __main() doesn't
> currently use XCONTRAP. So, don't count of the above if you use gcc.
This would explain why my runaway or hung gcc-compiled programs are immune
to CTRL-Y. ;-)
--
Mark Bixby E-mail: [log in to unmask]
Coast Community College Dist. Web: http://www.cccd.edu/~markb/
District Information Services 1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)
|
|
|