C or ioctl help needed.

Andreas Fischer Andreas.Fischer1 at Stud.TU-Ilmenau.de
Sun Oct 9 04:27:31 PDT 2005


 > 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 missing

Andreas "Merlin" Fischer,
Germany.



More information about the lfs-chat mailing list