HP3000-L Archives

February 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Klein <[log in to unmask]>
Reply To:
Mark Klein <[log in to unmask]>
Date:
Thu, 27 Feb 1997 12:47:21 PDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
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.

Regards,


M.

ATOM RSS1 RSS2