Lines Matching full:cap

87 ROKEN_LIB_FUNCTION char * ROKEN_LIB_CALL cgetcap(char *buf, const char *cap, int type);
95 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetstr(char *buf, const char *cap, char **str);
96 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetustr(char *buf, const char *cap, char **str);
97 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetnum(char *buf, const char *cap, long *num);
145 * Cgetcap searches the capability record buf for the capability cap with
146 * type `type'. A pointer to the value of cap is returned on success, NULL
149 * Specifying a type of ':' means that nothing should follow cap (:cap:).
151 * cap is found.
153 * If (cap, '@') or (cap, terminator, '@') is found before (cap, terminator)
157 cgetcap(char *buf, const char *cap, int type) in cgetcap() argument
167 * the remainder of a field whose name failed to match cap. in cgetcap()
177 * Try to match (cap, type) in buf. in cgetcap()
179 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++) in cgetcap()
224 * *cap and *len.
234 getent(char **cap, size_t *len, char **db_array, int fd, in getent() argument
315 *cap = cbuf; in getent()
610 *cap = record; in getent()
842 * Cgetstr retrieves the value of the string capability cap from the
851 cgetstr(char *buf, const char *cap, char **str) in cgetstr() argument
862 * Find string capability cap in cgetstr()
864 bp = cgetcap(buf, cap, '='); in cgetstr()
974 * Cgetustr retrieves the value of the string capability cap from the
984 cgetustr(char *buf, const char *cap, char **str) in cgetustr() argument
993 * Find string capability cap in cgetustr()
995 if ((bp = cgetcap(buf, cap, '=')) == NULL) in cgetustr()
1047 * Cgetnum retrieves the value of the numeric capability cap from the
1053 cgetnum(char *buf, const char *cap, long *num) in cgetnum() argument
1060 * Find numeric capability cap in cgetnum()
1062 bp = cgetcap(buf, cap, '#'); in cgetnum()