Searched refs:ptm (Results 1 – 2 of 2) sorted by relevance
162 Base::CloseFd(ptm); in ShellFork()177 ptm = open(devPTMX.c_str(), O_RDWR | O_CLOEXEC); in CreateSubProcessPTY()178 if (ptm < 0) { in CreateSubProcessPTY()185 if (grantpt(ptm) || unlockpt(ptm)) { in CreateSubProcessPTY()190 Base::CloseFd(ptm); in CreateSubProcessPTY()193 if (ptsname_r(ptm, devname, sizeof(devname)) != 0) { in CreateSubProcessPTY()198 Base::CloseFd(ptm); in CreateSubProcessPTY()202 return ptm; in CreateSubProcessPTY()
40 int ptm = 0; variable