49 #if !defined(__windows__) 51 #include <sys/types.h> 65 char *
strcpy_s(
char *dest,
size_t n,
const char *src)
67 strncpy(dest, src, (
size_t)n);
83 int sprintf_s(
char *str,
size_t n,
const char *format, ...)
89 nPrinted = vsnprintf(str, (
size_t)n, format, ap);
Memory allocation and deallocation declarations.
int sprintf_s(char *str, size_t n, const char *format,...)
Format print to string up to n-1 characters. String is guaranteed to be null terminated.
RoadNarrows Robotics common configuration file.
char * strcpy_s(char *dest, size_t n, const char *src)
Copy source string to destinations string. At most n bytes will be copied. The destination string is ...