Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::SSHMaster::Connection Struct Reference

Public Member Functions

void trySetBufferSize (size_t size)
 

Public Attributes

Pid sshPid
 
AutoCloseFD out
 
AutoCloseFD in
 

Member Function Documentation

◆ 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: