Some checks failed
Linux / Build Linux (push) Has been cancelled
Linux / Build Linux-1 (push) Has been cancelled
macOS / Build macOS (push) Has been cancelled
macOS / Build macOS-1 (push) Has been cancelled
Windows (MinGW) / Build MinGW (push) Has been cancelled
Windows (MinGW) / Build MinGW-1 (push) Has been cancelled
Windows (MSVC) / Build Windows (push) Has been cancelled
Windows (MSVC) / Build Windows-1 (push) Has been cancelled
16 lines
401 B
C
16 lines
401 B
C
/* strl_fn.h - header file for BSD strlcat and strlcpy */
|
|
|
|
#ifndef __STRLFUNCS_H
|
|
#define __STRLFUNCS_H
|
|
|
|
/* use our own copies of strlcpy and strlcat taken from OpenBSD */
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
extern size_t q_strlcpy (char *dst, const char *src, size_t size);
|
|
extern size_t q_strlcat (char *dst, const char *src, size_t size);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __STRLFUNCS_H */
|