reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
241 if (fd == -1) { 247 if (::isatty(fd)) { 250 ::tcgetattr(fd, &options); 263 llvm::sys::RetryAfterSignal(-1, ::tcsetattr, fd, TCSANOW, &options); 266 int flags = ::fcntl(fd, F_GETFL, 0); 270 ::fcntl(fd, F_SETFL, flags); 273 m_read_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionRead, true); 274 m_write_sp = std::make_shared<NativeFile>(fd, File::eOpenOptionWrite, false);