MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ttydisc_findchar

Function ttydisc_findchar

freebsd/kern/tty_ttydisc.c:354–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354static __inline unsigned int
355ttydisc_findchar(const char *obstart, unsigned int oblen)
356{
357 const char *c = obstart;
358
359 while (oblen--) {
360 if (CTL_VALID(*c))
361 break;
362 c++;
363 }
364
365 return (c - obstart);
366}
367
368static int
369ttydisc_write_oproc(struct tty *tp, char c)

Callers 1

ttydisc_writeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected