hr@uicsl.UUCP (02/24/86)
<> A couple of simple (I hope) questions: Is there an easy way of detecting ^C, ^D, ^E, ^F from C? I've read about Chk_Abort(), but I am trying to not use the Lattice I/O routines. I have tried opening a RAW window but would rather have used the Input() file handle. (I wrote a simple print program using Lattice stream I/O and printf and one using just Amigados I/O. The 'printf' version was about 15KB, the Amigados only version was about 3KB.) Also: The Lattice manual gives LC1 & LC2 switches for generating position independent code. Are these useful? I tried them (just once) and didn't get very far. Is there a way for a program 'Execute'ing or creating a process to find the result code of the executed or created process? Am I wrong or does Lattice C ignore ^C requests when compiling? ---- harold ravlin {ihnp4,pur-ee}!uiucdcs!uicsl!hr