Home
last modified time | relevance | path

Searched refs:TTYLEN (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/infocmp/
H A Dinfocmp.c117 #define TTYLEN 255 macro
120 static char _savettytype[TTYLEN+1]; /* the place to save those names */
535 if ((length = strlen(ttytype)) >= TTYLEN) { in initfirstterm()
541 TTYLEN-1); in initfirstterm()
542 _savettytype[TTYLEN] = '\0'; in initfirstterm()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c794 #define TTYLEN (sizeof ("/dev/") - 1) in findidle() macro
795 static char buffer[TTYLEN + LMAX + 1] = "/dev/"; in findidle()
799 (void) strcpy(buffer + TTYLEN, pers->tty); in findidle()
800 buffer[TTYLEN+LMAX] = 0; in findidle()