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

999 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_channel_window_read_ex 3 libssh2
libssh2_channel_receive_window_adjust(3)
libssh2_channel_window_write_ex(3)

NAME

libssh2_channel_window_read_ex - Check the status of the read window

SYNOPSIS

#include <libssh2.h>

unsigned long libssh2_channel_window_read_ex(
    LIBSSH2_CHANNEL *channel,
    unsigned long *read_avail,
    unsigned long *window_size_initial)

DESCRIPTION

Check the status of the read window. Returns the number of bytes which the remote end may send without overflowing the window limit read_avail (if passed) is populated with the number of bytes actually available to be read window_size_initial (if passed) is populated with the window_size_initial as defined by the channel_open request

RETURN VALUE

The number of bytes which the remote end may send without overflowing the window limit

ERRORS