/ | Mailing list | Docs | Examples | GitHub
libssh2_agent_disconnect

Name

libssh2_agent_disconnect - close a connection to an ssh-agent

Synopsis

#include <libssh2.h>
 
int
libssh2_agent_disconnect(LIBSSH2_AGENT *agent);

Description

Close a connection to an ssh-agent.

Return value

Returns 0 if succeeded, or a negative value for error.

Availability

Added in libssh2 1.2

See also

libssh2_agent_connect libssh2_agent_free

This HTML page was made with roffit.