| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
#ifndef SUPLIB_C_COPY_STRING |
| 9 |
#define SUPLIB_C_COPY_STRING |
| 10 |
#include <stddef.h> |
| 11 |
#ifdef __cplusplus |
| 12 |
extern "C" { |
| 13 |
#endif |
| 14 |
char *copy_string(char *dest, char const *source, size_t elements); |
| 15 |
#ifdef __cplusplus |
| 16 |
} /* close brackets on extern "C" declaration */ |
| 17 |
#endif |
| 18 |
#endif |