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

35 lines
657 B
Markdown

---
c: Copyright (C) The libssh2 project and its contributors.
SPDX-License-Identifier: BSD-3-Clause
Title: libssh2_channel_open_session
Section: 3
Source: libssh2
See-also:
- libssh2_channel_open_ex(3)
---
# NAME
libssh2_channel_open_session - convenience macro for *libssh2_channel_open_ex(3)* calls
# SYNOPSIS
~~~c
#include <libssh2.h>
LIBSSH2_CHANNEL *libssh2_channel_open_session(LIBSSH2_SESSION *session);
~~~
# DESCRIPTION
This is a macro defined in a public libssh2 header file that is using the
underlying function *libssh2_channel_open_ex(3)*.
# RETURN VALUE
See *libssh2_channel_open_ex(3)*
# ERRORS
See *libssh2_channel_open_ex(3)*