psani na /dev/tty

Jan Kasprzak kas na informatics.muni.cz
Neděle Červen 20 16:46:20 CEST 1999


Milan Pikula - WWW wrote:
: pisem to sem z hlavy, takze to bude asi trosku vadne..
: 
: char ttypty[] = "/dev/ptya0";

	Neni lepsi pouzivat openpty()/forkpty() (tohle jsem vycetl
v /usr/include/pty.h) - nebo nejake jine UNIX98 rozhrani?
Vyse uvedeny kod je neprenositelny - proc by se pty zarizeni mely
jmenovat /dev/ptyXY?

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
///    While Linux is larger than Emacs, at least Linux has the excuse   \\\
//     that it needs to be.                           --Linus Torvalds    \\


Další informace o konferenci Linux