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

/haiku-buildtools/gcc/gcc/ada/
H A Dterminals.c1137 int master_fd; /* fd of the master side if the terminal */ member in struct:pty_desc_struct
1168 int master_fd = -1; local
1172 master_fd = getpt ();
1174 status = openpty (&master_fd, &slave_fd, NULL, NULL, NULL);
1176 master_fd = open (USE_CLONE_DEVICE, O_RDWR | O_NONBLOCK, 0);
1183 if (status != 0 || master_fd < 0)
1187 if (master_fd >= 0) close (master_fd);
1194 if (slave_name == NULL) slave_name = (char *) ptsname (master_fd);
1201 if (master_fd >
[all...]

Completed in 39 milliseconds