1
1
libssh/examples
Anderson Toshiyuki Sasaki b0518552f1 examples: Tolerate incomplete writes in exec example
Previously, the exec example would fail if it could not write the whole
read buffer to stdout.  With this changes, the exec example will be able
to write parts of the buffer until the whole buffer is written.

This makes the exec example to run when the stdout buffer is small.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2020-06-22 13:58:52 +02:00
..
authentication.c examples: Use SSH_STRING_FREE_CHAR() 2019-12-09 16:08:03 +01:00
CMakeLists.txt cmake: Add autogenerated libssh_version.h 2020-05-06 13:02:32 +02:00
connect_ssh.c examples: Call correct functions on exit. 2011-04-14 14:16:58 +02:00
examples_common.h examples: Zero fds in sshnetcat 2018-10-24 09:48:35 +02:00
exec.c examples: Tolerate incomplete writes in exec example 2020-06-22 13:58:52 +02:00
keygen2.c examples: Enable strict build 2019-12-23 14:31:32 +01:00
keygen.c examples: Add simple way to generate key files from libssh 2019-02-07 10:30:05 +01:00
knownhosts.c examples: Use ssh_session_update_known_hosts() for updating known_hosts 2018-10-16 08:58:31 +02:00
libssh_scp.c examples: Use SSH_STRING_FREE_CHAR() 2019-12-09 16:08:03 +01:00
libsshpp_noexcept.cpp auth: Make ssh_userauth_autopubkey legacy. 2011-08-25 10:19:09 +02:00
libsshpp.cpp auth: Make ssh_userauth_autopubkey legacy. 2011-08-25 10:19:09 +02:00
proxy.c examples: fix warning 2013-07-14 11:18:13 +02:00
samplesftp.c examples: Fix code style in samplesftp.c 2018-09-18 10:19:59 +02:00
samplesshd-cb.c Allow example client and server to process different configuration files 2020-05-05 14:23:06 +02:00
samplesshd-kbdint.c examples: Explicitly track auth state in samplesshd-kbdint 2018-10-19 12:31:04 +02:00
scp_download.c examples: Make gobal variables static in scp_download 2018-06-30 14:37:04 +02:00
senddata.c examples: Define LIMIT as unsinged long 2018-06-30 14:37:04 +02:00
ssh_client.c Allow example client and server to process different configuration files 2020-05-05 14:23:06 +02:00
ssh_server_fork.c examples: Load ED25519 key when loading all keys 2019-07-30 16:19:27 +02:00
sshd_direct-tcpip.c examples: Avoid unused parameter warnings and reformat 2020-04-20 14:14:33 +02:00
sshnetcat.c examples: Zero fds in sshnetcat 2018-10-24 09:48:35 +02:00