View Single Post
  #7   Spotlight this post!  
Unread 24-12-2004, 15:33
randomperson's Avatar
randomperson randomperson is offline
Assembler Freak
#0904
Team Role: College Student
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Wyoming,MI
Posts: 100
randomperson is an unknown quantity at this point
Send a message via AIM to randomperson Send a message via MSN to randomperson
Talking Re: New Serial Port Driver

Quote:
Originally Posted by Kevin Watson
Yes, I'd considered that. The way I look at it, I'd rather just publish the least convoluted, easiest to understand raw code that I can and let you guys cut and paste it the way you want.

-Kevin
I suppose. I went ahead and made those modifications myself, if anyone is interested in doing it quickly. It really doesn't make it TOO convoluted... The source is attached.
Attached Files
File Type: zip printfmod.zip (10.2 KB, 78 views)
__________________
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