From 3711d3d2cc95ef0da51075557389881ab9cc8c1b Mon Sep 17 00:00:00 2001 From: millert <> Date: Mon, 18 Jun 2001 18:11:12 +0000 Subject: [PATCH] Add new cgetusedb() function to toggle reading of .db files in getcap(3). Needed for cap_mkdb to really DRT when given several input files or an output file with a different name from the input file. cvs: ---------------------------------------------------------------------- --- src/include/stdlib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 51f8a267..63f491e3 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.12 2000/04/03 23:23:48 millert Exp $ */ +/* $OpenBSD: stdlib.h,v 1.13 2001/06/18 18:11:12 millert Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -144,6 +144,7 @@ int cgetmatch __P((char *, const char *)); int cgetnext __P((char **, char **)); int cgetnum __P((char *, const char *, long *)); int cgetset __P((const char *)); +int cgetusedb __P((int)); int cgetstr __P((char *, const char *, char **)); int cgetustr __P((char *, const char *, char **));