Mercurial > hg > toybox
comparison lib/lib.h @ 870:aa5bd0a358dd
More ifconfig cleanup.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 20 Apr 2013 23:33:48 -0500 |
parents | 34ac05521d94 |
children | aca8323e2690 |
comparison
equal
deleted
inserted
replaced
869:571e95bdf6af | 870:aa5bd0a358dd |
---|---|
84 // help.c | 84 // help.c |
85 | 85 |
86 void show_help(void); | 86 void show_help(void); |
87 | 87 |
88 // lib.c | 88 // lib.c |
89 void xstrcpy(char *dest, char *src, size_t size); | 89 void xstrncpy(char *dest, char *src, size_t size); |
90 void verror_msg(char *msg, int err, va_list va); | 90 void verror_msg(char *msg, int err, va_list va); |
91 void error_msg(char *msg, ...); | 91 void error_msg(char *msg, ...); |
92 void perror_msg(char *msg, ...); | 92 void perror_msg(char *msg, ...); |
93 void error_exit(char *msg, ...) noreturn; | 93 void error_exit(char *msg, ...) noreturn; |
94 void perror_exit(char *msg, ...) noreturn; | 94 void perror_exit(char *msg, ...) noreturn; |