◆ trySetBufferSize()
void nix::SSHMaster::Connection::trySetBufferSize |
( |
size_t | size | ) |
|
Try to set the buffer size in both directions to the designated amount, if possible. If not possible, does nothing.
Current implementation is to use fcntl
with F_SETPIPE_SZ
, which is Linux-only. For this implementation, size
must convertable to an int
. In other words, it must be within [0, INT_MAX]
.
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/ssh.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libstore/ssh.cc