> if ((fd=open(tty, O_RDWR, 0))<0 || ioctl (fd, TIOCSCTTY, (void *1)==-1)
> error("could not open tty device\n",3);
by the way: closing bracket of the ioctl function is missingAndreas "Merlin" Fischer, Germany. -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
