Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror

Comment Re:What are comments? (Score 2) 593

I would have written it something like as follows (seeming as I hate the goto statement)

/* Intrinsic ctty (2002.0505) */
void int_ctty (char *filename)
{
int file;

file=open(filename,O_RDWR|O_APPEND|O_TEXT);
if (file && isatty(file)) {
redirin(filename);
redirout(filename,1);
} else {
fprintf (stderr,"Invalid device\n");
}
if (file) close(file);
return;
}
but I guess it all comes down to a matter of personal style.

Two Worm "Families" Make Up Most Botnets 176

JMoon writes "HNS has an article about the Sdbot and Gaobot families which are responsible for most botnets worldwide. These two families were responsible for 80 percent of detections related to bots during the first quarter of 2007. Other culprits, although on a much lesser scale, included Oscarbot, IRCbot or RXbot."

Slashdot Top Deals

"Here's something to think about: How come you never see a headline like `Psychic Wins Lottery.'" -- Comedian Jay Leno

Working...