Initial commit of files

This commit is contained in:
2021-01-22 10:16:20 -05:00
parent 32d165ec8f
commit ed92211680
534 changed files with 68563 additions and 19 deletions

40
include/strlib.h Normal file
View File

@ -0,0 +1,40 @@
#ifndef __STRLIB_INCLUDE__
#define __STRLIB_INCLUDE__
/******************************************************************************
* includes
*****************************************************************************/
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
//#pragma deprecated (strcpy, strcat)
/******************************************************************************
* defines
*****************************************************************************/
/******************************************************************************
* structs & typedefs
*****************************************************************************/
/******************************************************************************
* function prototypes
*****************************************************************************/
/* export C functions to C++ */
#ifdef __cplusplus
extern "C" {
#endif
size_t strlcat(char *dst, const char *src, size_t siz);
size_t strlcpy(char *dst, const char *src, size_t siz);
#ifdef __cplusplus
}
#endif
/******************************************************************************
* Macros
* ***************************************************************************/
#endif