Constructors

Synopses

Declared in <util/tokenpipe.h>

Deleted copy constructor; the endpoint is move‐only.

TokenPipeEnd(TokenPipeEnd const& other) = delete;

Move‐constructs an endpoint, taking ownership of the other's descriptor.

Wraps a file descriptor as one end of a token pipe.

TokenPipeEnd(int fd = ‐1);

Parameters

Name

Description

other

the endpoint that would be copied

fd

the file descriptor to adopt, or ‐1 for a closed end

Created with MrDocs