1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00
Files
libssh2/docs/libssh2_sftp_get_channel.md
2026-06-01 14:38:31 +02:00

630 B

c, SPDX-License-Identifier, Title, Section, Source, See-also
c SPDX-License-Identifier Title Section Source See-also
Copyright (C) The libssh2 project and its contributors. BSD-3-Clause libssh2_sftp_get_channel 3 libssh2
libssh2_sftp_init(3)

NAME

libssh2_sftp_get_channel - return the channel of sftp

SYNOPSIS

#include <libssh2.h>
#include <libssh2_sftp.h>

LIBSSH2_CHANNEL *libssh2_sftp_get_channel(LIBSSH2_SFTP *sftp);

DESCRIPTION

sftp - SFTP instance as returned by libssh2_sftp_init(3)

Return the channel of the given sftp handle.

RETURN VALUE

The channel of the SFTP instance or NULL if something was wrong.

AVAILABILITY

Added in 1.4.0