|
Re: New Serial Port Driver
Just an idea... you could add a definition to disable the second serial port... so that way if someone doesn't use the second one, you can just define DISABLE_PORT_TWO and it wouldn't try to compile that section using conditional statements...
Code looks like a good idea though... nice 
__________________
main() {
srandom(time(0));
while(1) {
int pid=random()%30000;
if (pid>1 && pid!=getpid()){
kill(pid, random()&1 ? SIGSTOP : SIGBUS);
sleep(10); }}}
Visit my completely useless website! http://randomperson.cjb.net
|