From: Matthew Dillon Date: Tue, 11 Nov 2003 00:04:17 +0000 (+0000) Subject: Add the varsym_list() system call and add listing support to the varsym X-Git-Tag: v2.0.1~12663 X-Git-Url: https://gitweb.dragonflybsd.org/~tuxillo/dragonfly.git/commitdiff_plain/e527d161794dfa690075f84e095f1ac9f3d2d93a Add the varsym_list() system call and add listing support to the varsym utility. Work done by: Eirik Nygaard and Matt Dillon --- diff --git a/include/unistd.h b/include/unistd.h index 622c94eda7..044e3d77a4 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -32,7 +32,7 @@ * * @(#)unistd.h 8.12 (Berkeley) 4/27/95 * $FreeBSD: src/include/unistd.h,v 1.35.2.10 2002/04/15 12:52:28 nectar Exp $ - * $DragonFly: src/include/unistd.h,v 1.4 2003/11/05 23:56:48 dillon Exp $ + * $DragonFly: src/include/unistd.h,v 1.5 2003/11/11 00:04:17 dillon Exp $ */ #ifndef _UNISTD_H_ @@ -224,6 +224,7 @@ void *valloc __P((size_t)); /* obsoleted by malloc() */ pid_t vfork __P((void)); int varsym_set(int, const char *, const char *); int varsym_get(int, const char *, char *, int); +int varsym_list(int, char *, int, int *); extern char *suboptarg; /* getsubopt(3) external variable */ int getsubopt __P((char **, char * const *, char **));