class OpenClient

Defined at line 176 of file fidling/gen/sdk/fidl/fuchsia.hardware.pty/fuchsia.hardware.pty/cpp/fidl/fuchsia.hardware.pty/cpp/markers.h

Open a client PTY device with a unique `id`. `client` should be a handle

to one endpoint of a channel that (on success) will become an open

connection to the newly created device. On failure, the channel will be

closed. Closing the channel will close the connection and release the

device. If the provided `id` is 0, then the new client is a controlling

client and has the capability to open additional clients. If the

current device is not a controlling client, `ZX_ERR_ACCESS_DENIED` will be

returned. If `id` is not unique, `ZX_ERR_INVALID_ARGS` will be returned.

Otherwise the status code from `device_add` is passed on.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal