Lines Matching defs:slcptr
51 static unsigned char *slcptr; /* pointer into slc buffer */
134 if ((*slcptr++ = (unsigned char)func) == 0xff)
135 *slcptr++ = 0xff;
137 if ((*slcptr++ = (unsigned char)flag) == 0xff)
138 *slcptr++ = 0xff;
140 if ((*slcptr++ = (unsigned char)val) == 0xff)
141 *slcptr++ = 0xff;
162 slcptr = slcbuf + 4;
194 if (slcptr > (slcbuf + 4)) {
197 return(slcptr - slcbuf - 4);
199 (void) sprintf((char *)slcptr, "%c%c", IAC, SE);
200 slcptr += 2;
201 len = slcptr - slcbuf;