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

Function login_getcaplist

tools/libutil/login_cap.c:381–391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379 */
380
381const char **
382login_getcaplist(login_cap_t *lc, const char *cap, const char *chars)
383{
384 const char *lstring;
385
386 if (chars == NULL)
387 chars = ", \t";
388 if ((lstring = login_getcapstr(lc, cap, NULL, NULL)) != NULL)
389 return arrayize(lstring, chars, NULL);
390 return NULL;
391}
392
393
394/*

Callers 5

setclassenvironmentFunction · 0.85
login_timelistFunction · 0.85
login_ttyokFunction · 0.85
login_hostokFunction · 0.85
login_getstyleFunction · 0.85

Calls 2

login_getcapstrFunction · 0.85
arrayizeFunction · 0.85

Tested by

no test coverage detected