5#ifndef NDS2_CLIENT_DAQ_BSD_STRING_H
6#define NDS2_CLIENT_DAQ_BSD_STRING_H
39size_t _daq_strlcpy(
char* dst,
const char* src,
size_t size );
60size_t _daq_strlcat(
char* dst,
const char* src,
size_t size );
82size_t _daq_slprintf(
char* dst,
size_t size,
const char* fmt, ... );
size_t _daq_strlcpy(char *dst, const char *src, size_t size)
Copy from src to dest. This copies from src to dest. It will always null terminate dest.
Definition daq_bsd_string.c:9
size_t _daq_strlremainder(const char *src, size_t size)
Return the number of usable bytes left at the end of the given string.
Definition daq_bsd_string.c:48
size_t _daq_slprintf(char *dst, size_t size, const char *fmt,...)
a length aware printf that appends to dst.
Definition daq_bsd_string.c:65
size_t _daq_strlcat(char *dst, const char *src, size_t size)
Append src to dest. This copies from src to the end of dest. It will always null terminate dest.
Definition daq_bsd_string.c:29