TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Andrew Clarke
from: Frank Adam
date: 1996-10-07 09:35:08
subject: using ctrlbrk() [or not]

G'Day Andrew,
 
-=> Quoting Andrew Clarke to Paul Wankadia <=-

 AC> signal(SIGINT, SIG_IGN);  /* initialise the SIGINT signal handler
 AC> to * ignore the interrupt signal */

 AC> while (1)                 /* infinite loop */
 AC> {
 AC> printf("The universe is neverending.\n");
 AC> }
And by now i'm sure he knows how to get out of that loop..;-)

  L8r Frank (fadam{at}ozemail.com.au).
  
___ Blue Wave/DOS v2.21

--- Gash
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 711/409 410 413 430
SEEN-BY: 711/808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 635/544 50/99 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.