src/lib/include/strcopy.h
raw| 1 | /* 'checkit_tiff' is a conformance checker for baseline TIFFs |
| 2 | * |
| 3 | * author: Andreas Romeyke, 2015-2025 |
| 4 | * licensed under conditions of libtiff |
| 5 | * (see http://libtiff.maptools.org/misc.html) |
| 6 | * |
| 7 | * specific string implementation |
| 8 | */ |
| 9 | |
| 10 | #ifndef CHECKIT_TIFF_STRCOPY |
| 11 | #define CHECKIT_TIFF_STRCOPY |
| 12 | #include <stdlib.h> |
| 13 | |
| 14 | void cit_strcopy( |
| 15 | char *dest, |
| 16 | size_t dsize, /* size of target buffer */ |
| 17 | const char *src, |
| 18 | size_t slen /* length of string to copy */ |
| 19 | ); |
| 20 | #endif |
| 21 |