Searched refs:ttynbuf (Results 1 – 2 of 2) sorted by relevance
1056 if (ttynbuf[0] == 0) { in tostart()1061 ttynbuf[0] = 1; in tostart()1063 strcpy(ttynbuf, tn); in tostart()1065 if (ttynbuf[0] != 1) { in tostart()1067 stat64((char *)ttynbuf, &sbuf); in tostart()1069 chmod((char *)ttynbuf, 0600); in tostart()1122 if (!value(vi_MESG) && ttynbuf[0]>1) in tostop()1123 chmod((char *)ttynbuf, ttymesg); in tostop()
157 var unsigned char ttynbuf[20]; /* result of ttyname() */ variable