Disabling ctrl-C and variables
Darren Hosking
dmh at goanna.oz
Thu Jan 19 11:56:19 AEST 1989
I have two questions about cross development from Xenix to DOS :-
1) How can you disable ctrl-C from C? I have tried calling DOS routine
0x33 to turn off ctrl-C (using the Xenix bdos function) but ctrl-C
still stops the program (the return value says everything is ok).
2) How do you access DOS variables (like PATH etc) from a C program
cross compiled from Xenix to DOS? I think you have to look up the
Program Segment Prefix but how?
Thanks in advance, dmh
Darren Hosking ACSnet: dmh at goanna.oz
Department Of Computer Science ARPA: dmh%goanna.oz.au at uunet.uu.net
RMIT CSNET: dmh%goanna.oz.au at australia
GPO Box 2476V UUCP: ...!uunet!goanna.oz.au!dmh
Melbourne Vic., Australia 3001
More information about the Comp.unix.xenix
mailing list