libssh2_agent_disconnect man page

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(3) libssh2_agent_free(3)

Referenced By

libssh2_agent_connect(3), libssh2_agent_free(3).

23 Dec 2009 libssh2 1.2 libssh2 manual