DragonFly submit List (threaded) for 2005-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Patch to getcap facility (one more)
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);
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]