/*
 * Copyright (c) 2019 IOTA Stiftung
 * https://github.com/iotaledger/iota_common
 *
 * Refer to the LICENSE file for licensing information
 */

#ifndef __UTILS_MEMSET_SAFE_H__
#define __UTILS_MEMSET_SAFE_H__

#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif

int memset_safe(void *dest, size_t destsz, int ch, size_t count);

#ifdef __cplusplus
}
#endif

#endif  // __UTILS_MEMSET_SAFE_H__
