You mean something like this?
#include <stdio.h>
#include <signal.h>
void main(void)
{
while(1) {
fprintf(stderr, "hello\n");
sleep(1);
if (fork() == 0) {
raise(11);
}
}
}
-Erik
--
Erik B. Andersen Web: http://www.xmission.com/~andersen/
email: andersee@debian.org
--This message was written using 73% post-consumer electrons--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/