Re: Simple question
Steve G <[email protected]> Tue, 8 Jul 2003 05:51:37 -0700 (PDT)
| Newsgroups | gmane.network.xinetd |
|---|---|
| Message-ID | <[email protected]> |
Hello,
int new_fd = open("/dev/null", 0);
dup2(stdout, new_fd);
dup2(stderr, new_fd);
close(new_fd);
-Steve Grubb
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com