Mercurial > hg > toybox
comparison lib/lib.h @ 137:0901b3b2bbe9
More klibc fixes from Maximilian Attems, strlcpy() this time.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 15 Aug 2007 12:50:44 -0500 |
parents | 0a90a5fbc1bf |
children | 9cbb323f297f |
comparison
equal
deleted
inserted
replaced
136:c4a3781ecbab | 137:0901b3b2bbe9 |
---|---|
29 | 29 |
30 // args.c | 30 // args.c |
31 void get_optflags(void); | 31 void get_optflags(void); |
32 | 32 |
33 // functions.c | 33 // functions.c |
34 #ifndef __UCLIBC__ | 34 #if !defined(__UCLIBC__) && !defined(__KLIBC__) |
35 void strlcpy(char *dest, char *src, size_t size); | 35 void strlcpy(char *dest, char *src, size_t size); |
36 #endif | 36 #endif |
37 | 37 |
38 void verror_msg(char *msg, int err, va_list va); | 38 void verror_msg(char *msg, int err, va_list va); |
39 void error_msg(char *msg, ...); | 39 void error_msg(char *msg, ...); |