Searched refs:cgetent (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/crypto/heimdal/appl/login/
H A Dconf.c43 return cgetent(&confbuf, files, "default");
/freebsd-11-stable/contrib/telnet/libtelnet/
H A Dgetent.c56 retval = cgetent(&area, dba, tempnam) == 0 ? 1 : 0;
/freebsd-11-stable/lib/libc/gen/
H A Ddisklabel.c74 if (cgetent(&buf, db_array, (char *) name) < 0)
H A DMakefile.inc365 getcap.3 cgetent.3 \
H A Dgetcap.c161 cgetent(char **buf, char **db_array, const char *name) function
169 * Getent implements the functions of cgetent. If fd is non-negative,
174 * Getent returns the same success/failure codes as cgetent. On success, a
/freebsd-11-stable/usr.bin/tip/tip/
H A Dremote.c93 if ((stat = cgetent(&bp, db_array, host)) < 0) {
/freebsd-11-stable/lib/ncurses/ncurses/
H A Dtermcap.c173 i = cgetent(&dummy, pathvec, (char *)name);
/freebsd-11-stable/lib/libutil/
H A Dlogin_cap.c236 switch (cgetent(&lc->lc_cap, login_dbarray, name)) {
254 if (cgetent(&lc->lc_cap, login_dbarray, name) != 0 && r >= 0)
278 msg = "%s: unexpected cgetent() error '%s': %m";
/freebsd-11-stable/include/
H A Dstdlib.h280 int cgetent(char **, char **, const char *);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgetcap.c88 ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL cgetent(char **buf, char **db_array, const char *name);
208 cgetent(char **buf, char **db_array, const char *name) function
216 * Getent implements the functions of cgetent. If fd is non-negative,
221 * Getent returns the same success/failure codes as cgetent. On success, a
/freebsd-11-stable/usr.sbin/lpr/common_source/
H A Dprintcap.c88 * cgetent(3): -1 means we could not find what we wanted, -2
102 if ((status = cgetent(&bp, printcapdb, printer)) < 0)
111 * used by cgetent, returning truth if there are more records to
292 * Decode the error codes returned by cgetent() using the names we
/freebsd-11-stable/usr.bin/vgrind/
H A Dvfontedpr.c225 i = cgetent(&defs, defsfile, language);
/freebsd-11-stable/libexec/getty/
H A Dsubr.c102 switch (cgetent(&buf, (char **)dba, (char *)name)) {
117 msg = "%s: unexpected cgetent() error for entry '%s'";
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dread_termcap.c67 #define TC_UNRESOLVED -4 /* this is not returned by BSD cgetent */
82 * getcap(), cgetent(), etc., are BSD functions. A copy of those was added to
93 #define _nc_cgetent(buf, oline, db_array, name) cgetent(buf, db_array, name)
245 * Getent implements the functions of cgetent. If fd is non-negative,
250 * Getent returns the same success/failure codes as cgetent. On success, a
666 * So we reproduce the logic to get down to cgetent() -- or our cut-down
905 /* This is not related to the BSD cgetent(), but to fake up a suitable
907 * cgetent, then it is the actual filename).
/freebsd-11-stable/crypto/heimdal/
H A Dconfigure17950 cgetent \

Completed in 263 milliseconds