Lines Matching refs:master
82 static int master;
97 if(openpty(&master, &slave, line, 0, 0) == 0)
112 master = open(*q, O_RDWR);
113 if(master >= 0){
115 grantpt(master);
118 unlockpt(master);
120 strlcpy(line, ptsname(master), sizeof(line));
213 while((sret = read(master, &in, sizeof(in))) > 0) {
257 if (net_write(master, &ctrl, 1) != 1)
260 if (net_write(master, &c->str[i], 1) != 1)
271 while(read(master, &in, sizeof(in)) > 0)