cgetcap
return (cgetcap(tbuf, id, ':') != NULL);
char *cgetcap(char *, const char *, int);
bp = cgetcap(buf, cap, '#');
DEF_WEAK(cgetcap);
if ((tc = cgetcap(scan, "tc", '=')) == NULL)
bp = cgetcap(buf, cap, '=');
if ((bp = cgetcap(buf, cap, '=')) == NULL)
return (cgetcap(lc->lc_cap, cap, ':') != NULL);
if ((v = cgetcap(lc->lc_cap, name, '=')) != NULL) {
if (v < cgetcap(lc->lc_cap, name_cur, '='))
if (v < cgetcap(lc->lc_cap, name_max, '='))
PROTO_NORMAL(cgetcap);
#define _nc_cgetcap cgetcap
if (cgetcap(buf, fp->field, ':') == NULL)
if (cgetcap(buf, "black", ':') != NULL) {
} else if (cgetcap(buf, "white", ':') != NULL) {
if (is_direct == -1 && cgetcap(cp, "dc", ':') != NULL)
if (cgetcap(buf, cap, ':') == NULL)
cp = cgetcap(buf, cap, ch);
#define CGETBOOL(x) lp->lp_ ## x = cgetcap(buf, #x, ':') ? 1 : 0
RS = (cgetcap(bp, "rs", ':') != NULL);
SF = (cgetcap(bp, "sf", ':') != NULL);
SH = (cgetcap(bp, "sh", ':') != NULL);
SB = (cgetcap(bp, "sb", ':') != NULL);
HL = (cgetcap(bp, "hl", ':') != NULL);
RW = (cgetcap(bp, "rw", ':') != NULL);
tof = (cgetcap(bp, "fo", ':') == NULL);
SC = (cgetcap(bp, "sc", ':') != NULL);
SH = (cgetcap(bp, "sh", ':') != NULL);
if (cgetcap(buf, "istatus", ':'))