) {
perror(open);
} else {
printf(descripto # %d\n, d);
if ((ioctl(d, TIOCSETD, ldisc)) == -1) {
perror(ioctl);
}
}
printf(Netgraph TTY node initialized successfully\nPress any key
to destroy it);
getc(stdin
Jerry Toung wrote:
Hey Max,
all I can say is thank you. That's a very nice tutorial. I am sure other
people will benefit.
so, did i get job at nasa? :)
btw, i did miss one command (naming one2many node) while
cut-and-paste'ing this from my screen, i.e.
+ mkpeer tee: one2many left2right many0
+
only if you can answer this:
Is there another Luke Skywalker? :-)
On Wednesday 30 March 2005 07:21 pm, Maksim Yevmenkin wrote:
Jerry Toung wrote:
Hey Max,
all I can say is thank you. That's a very nice tutorial. I am sure other
people will benefit.
so, did i get job at nasa? :)
) {
perror(ioctl);
}
}
printf(Netgraph TTY node initialized successfully\nPress any key to
destroy it);
getc(stdin);
close(d);
exit;
mrcrab# gcc -g netgraph.c -o test
mrcrab# ./test
descripto # 3
Netgraph TTY node initialized successfully
(open);
} else {
printf(descripto # %d\n, d);
if ((ioctl(d, TIOCSETD, ldisc)) == -1) {
perror(ioctl);
}
}
printf(Netgraph TTY node initialized successfully\nPress any key to
destroy it);
getc(stdin);
close(d
5 matches
Mail list logo