opensc-sys 0.1.1

FFI bindings to OpenSC
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 * @file
 * @brief prototype of strnlen() from OpenBSD
 */

#ifndef __COMPAT_STRNLEN_H
#define __COMPAT_STRNLEN_H

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#ifndef HAVE_STRNLEN
#include <stddef.h>
size_t strnlen(const char *str, size_t maxlen);
#endif

#endif