Begin converting QS engine to CPP

This commit is contained in:
iikorni
2026-08-22 10:00:49 -05:00
commit 0404d430dc
196 changed files with 103237 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/* 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 */