Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libnsl/dial/
H A Dsysfiles.c78 static int npops; /* index into list of STREAMS modules */ variable
235 npops = npushes = 0; in scancfg()
619 if (Pops[0] == NULL || Pops[npops] == NULL) in getpop()
624 slen = strlen(Pops[npops]) - 1; in getpop()
625 if (Pops[npops][0] == '(' && Pops[npops][slen] == ')') { in getpop()
628 (void) strncpy(buf, &(Pops[npops++][1]), len); in getpop()
631 (void) strncpy(buf, Pops[npops++], len); in getpop()
/illumos-gate/usr/src/cmd/bnu/
H A Dsysfiles.c66 static int npops; /* index into list of STREAMS modules */ variable
207 npops = npushes = 0;
625 if ( Pops[0] == NULL || Pops[npops] == NULL )
630 slen = strlen(Pops[npops]) - 1;
631 if ( Pops[npops][0] == '(' && Pops[npops][slen] == ')' ) {
634 strncpy(buf, &(Pops[npops++][1]), len);
637 strncpy(buf, Pops[npops++], len);