[libcli] [Libcli-discussion] stdin, stdout instead of socket
Brought to you by:
fred_nerk
From: Andreas B. <ba...@an...> - 2008-06-13 14:14:15
|
Hello, how can I use the libcli interface with the stdin and stdout instead of the socket? I have some problems with the code of mine because the "?" is the only command that worked. terminal = open("/dev/pts/4", O_RDWR); while(1) { cli_loop(cli, terminal); } cli_done(cli); Best Regards |