Patch to getcap facility (one more)

Kevin M. Kilbride kmk at ssl.org
Thu Feb 24 20:50:12 PST 2005


Whoops. Forgot to merge this one with the other patch....

--- include/stdlib.h.orig    2005-02-23 06:21:46.000000000 -0800
+++ include/stdlib.h    2005-02-23 06:15:55.000000000 -0800
@@ -142,16 +142,16 @@
void     arc4random_addrandom(unsigned char *, int);
void     arc4random_stir(void);
char    *getbsize(int *, long *);
-char    *cgetcap(char *, char *, int);
+char    *cgetcap(char *, const char *, const int);
int     cgetclose(void);
-int     cgetent(char **, char **, char *);
-int     cgetfirst(char **, char **);
-int     cgetmatch(char *, char *);
-int     cgetnext(char **, char **);
-int     cgetnum(char *, char *, long *);
-int     cgetset(char *);
-int     cgetstr(char *, char *, char **);
-int     cgetustr(char *, char *, char **);
+int     cgetent(char **, const char *const *, const char *);
+int     cgetfirst(char **, const char *const *);
+int     cgetmatch(const char *, const char *);
+int     cgetnext(char **, const char *const *);
+int     cgetnum(char *, const char *, long *);
+int     cgetset(const char *);
+int     cgetstr(char *, const char *, char **);
+int     cgetustr(char *, const char *, char **);
int     daemon(int, int);
char    *devname(int, int);





More information about the Submit mailing list