Searched refs:pt_pair (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/chromeos/process_proxy/
H A Dprocess_proxy.cc192 bool ProcessProxy::CreatePseudoTerminalPair(int *pt_pair) { argument
193 ClearFdPair(pt_pair);
196 pt_pair[PT_MASTER_FD] = HANDLE_EINTR(posix_openpt(O_RDWR | O_NOCTTY));
197 if (pt_pair[PT_MASTER_FD] == -1)
202 CloseFd(&pt_pair[PT_MASTER_FD]);
212 CloseFdPair(pt_pair);
H A Dprocess_proxy.h58 // pt_pair[0] -> master, pt_pair[1] -> slave.
59 // pt_pair must be allocated (to size at least 2).
60 bool CreatePseudoTerminalPair(int *pt_pair);

Completed in 102 milliseconds