opensc/src/common/compat_strnlen.h

9 lines
140 B
C

/**
* @file
* @brief prototype of strnlen() from OpenBSD
*/
#ifndef HAVE_STRNLEN
size_t strnlen(const char *str, size_t maxlen);
#endif