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