libssh2\_channel\_window\_write\_ex(3) libssh2 libssh2\_channel\_window\_write\_ex(3)

# [NAME](#NAME)

libssh2\_channel\_window\_write\_ex - Check the status of the write window

# [SYNOPSIS](#SYNOPSIS)

```
#include <libssh2.h>
unsigned long
libssh2_channel_window_write_ex(LIBSSH2_CHANNEL *channel,


                                unsigned long *window_size_initial)
```

# [DESCRIPTION](#DESCRIPTION)

Check the status of the write window Returns the number of bytes which may be safely written on the channel without blocking. 'window\_size\_initial' (if passed) will be populated with the size of the initial window as defined by the channel\_open request

# [RETURN VALUE](#RETURN_VALUE)

Number of bytes which may be safely written on the channel without blocking.

# [ERRORS](#ERRORS)

# [SEE ALSO](#SEE_ALSO)

**[libssh2\_channel\_window\_read\_ex(3)](/man/os/libssh2/libssh2_channel_window_read_ex.3),** [**libssh2\_channel\_receive\_window\_adjust(3)**](/man/os/libssh2/libssh2_channel_receive_window_adjust.3)

1 Jun 2007 libssh2 0.15

---

Document: libssh2_channel_window_write_ex(3) from libssh2 1.11.1-r10 (Chainguard OS)
Source: https://github.com/libssh2/libssh2.git
