Home | History | Annotate | Download | only in pty

Lines Matching refs:slavefd

161 	int slavefd;
168 if ((slavefd = open(slavename, O_RDWR)) < 0) {
172 if (write(slavefd, MESSAGE1, strlen(MESSAGE1)) != strlen(MESSAGE1)) {
176 if (close(slavefd) != 0) {
180 if ((slavefd = open(slavename, O_RDWR)) < 0) {
184 if (write(slavefd, MESSAGE2, strlen(MESSAGE2)) != strlen(MESSAGE2)) {
188 if (close(slavefd) != 0) {
192 if ((slavefd = open(slavename, O_RDWR)) < 0) {
196 if (write(slavefd, MESSAGE3, strlen(MESSAGE3)) != strlen(MESSAGE3)) {
200 if (close(slavefd) != 0) {