Files
Upsilon/liba/include/bridge/string.h
Romain Goyet d9b0132f16 [liba] Add a bridge for incomplete libc
For example, GLIBC doesn't provide strlcpy which we want to use

Change-Id: Iebbadfd42ca8e5dc089a8fe0b670fef843a10027
2016-10-04 14:22:19 +02:00

17 lines
238 B
C

#ifndef LIBA_BRIDGE_STRING_H
#define LIBA_BRIDGE_STRING_H
#include_next <string.h>
#include "../private/macros.h"
LIBA_BEGIN_DECLS
#if __GLIBC__
size_t strlcpy(char * dst, const char * src, size_t len);
#endif
LIBA_END_DECLS
#endif