2019-01-01 13:09:57 +01:00
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
// GNU GPL OS/K //
|
|
|
|
// //
|
|
|
|
// Authors: spectral` //
|
|
|
|
// NeoX //
|
|
|
|
// //
|
|
|
|
// Desc: Masks for the functions in the KCRL //
|
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
|
|
|
|
#ifndef _KALMASK_H
|
|
|
|
#define _KALMASK_H
|
|
|
|
|
|
|
|
//------------------------------------------//
|
2019-01-01 17:11:30 +01:00
|
|
|
|
|
|
|
#define memset _osk_memsetb
|
|
|
|
#define memchr _osk_memchrb
|
|
|
|
|
|
|
|
#define memsetb _osk_memsetb
|
|
|
|
#define memsetw _osk_memsetw
|
|
|
|
#define memsetd _osk_memsetd
|
|
|
|
#define memsetq _osk_memsetq
|
|
|
|
|
2019-01-02 17:19:13 +01:00
|
|
|
#define memchr _osk_memchrb
|
2019-01-01 17:11:30 +01:00
|
|
|
#define memchrw _osk_memchrw
|
|
|
|
#define memchrd _osk_memchrd
|
|
|
|
#define memchrq _osk_memchrq
|
|
|
|
|
|
|
|
#define memcpy _osk_memcpy
|
|
|
|
#define memmove _osk_memmove
|
|
|
|
|
|
|
|
#define memcmp _osk_memcmp
|
|
|
|
#define memzero _osk_memzero
|
|
|
|
|
2019-01-01 13:09:57 +01:00
|
|
|
//------------------------------------------//
|
2019-01-01 17:11:30 +01:00
|
|
|
|
|
|
|
#define strlen _osk_strlen
|
2019-01-14 14:31:49 +01:00
|
|
|
#define strspn _osk_strspn
|
|
|
|
#define strcspn _osk_strcspn
|
|
|
|
|
|
|
|
#define strcmp _osk_strcmp
|
|
|
|
#define strncmp _osk_strncmp
|
|
|
|
|
|
|
|
#define strchr _osk_strchr
|
|
|
|
#define strrchr _osk_strrchr
|
|
|
|
|
|
|
|
#define strstr _osk_strstr
|
|
|
|
#define strpbrk _osk_strpbrk
|
|
|
|
|
|
|
|
#define strtok _osk_strtok
|
|
|
|
#define strtok_r _osk_strtok_r
|
|
|
|
|
2019-01-01 17:11:30 +01:00
|
|
|
#define strcpy _osk_strcpy
|
|
|
|
#define strncpy _osk_strncpy
|
2019-01-19 22:36:38 +01:00
|
|
|
#define strnzcpy _osk_strnzcpy
|
2019-01-14 14:31:49 +01:00
|
|
|
|
|
|
|
#define strcat _osk_strcat
|
|
|
|
#define strncat _osk_strncat
|
2019-01-19 22:36:38 +01:00
|
|
|
#define strnzcat _osk_strnzcat
|
2019-01-14 14:31:49 +01:00
|
|
|
|
2019-01-01 17:11:30 +01:00
|
|
|
#define strrev _osk_strrev
|
2019-01-14 14:31:49 +01:00
|
|
|
#define strrev2 _osk_strrev2
|
2019-01-01 17:11:30 +01:00
|
|
|
|
|
|
|
#define sprintf _osk_sprintf
|
|
|
|
#define snprintf _osk_snprintf
|
|
|
|
#define vsprintf _osk_vsprintf
|
|
|
|
#define vsnprintf _osk_vsnprintf
|
2019-01-01 13:09:57 +01:00
|
|
|
|
|
|
|
//------------------------------------------//
|
|
|
|
|
2019-01-01 17:11:30 +01:00
|
|
|
|
|
|
|
#define itoa _osk_itoa
|
|
|
|
#define ltoa _osk_ltoa
|
|
|
|
#define utoa _osk_utoa
|
|
|
|
#define ultoa _osk_ultoa
|
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
#define atoi _osk_atoi
|
|
|
|
#define atol _osk_atol
|
|
|
|
#define atou _osk_atou
|
|
|
|
#define atoul _osk_atoul
|
|
|
|
|
2019-01-01 17:11:30 +01:00
|
|
|
#define strtol _osk_strtol
|
|
|
|
#define strtoul _osk_strtoul
|
2019-01-01 13:09:57 +01:00
|
|
|
|
|
|
|
//------------------------------------------//
|
|
|
|
|
2019-01-01 17:11:30 +01:00
|
|
|
#define rand _osk_rand
|
|
|
|
#define srand _osk_srand
|
2019-01-01 13:09:57 +01:00
|
|
|
|
|
|
|
//------------------------------------------//
|
|
|
|
|
2019-01-01 17:11:30 +01:00
|
|
|
#define abs _osk_abs
|
|
|
|
#define labs _osk_labs
|
|
|
|
|
|
|
|
#define min _osk_min
|
|
|
|
#define lmin _osk_lmin
|
|
|
|
|
|
|
|
#define max _osk_max
|
|
|
|
#define lmax _osk_lmax
|
|
|
|
|
|
|
|
#define __div
|
|
|
|
#define __ldiv
|
|
|
|
|
|
|
|
#define div _osk_div
|
|
|
|
#define ldiv _osk_ldiv
|
2019-01-01 13:09:57 +01:00
|
|
|
|
|
|
|
//------------------------------------------//
|
2019-01-14 14:31:49 +01:00
|
|
|
|
2019-01-19 22:36:38 +01:00
|
|
|
#define strerror _osk_strerror
|
2019-01-14 14:31:49 +01:00
|
|
|
|
|
|
|
//------------------------------------------//
|
|
|
|
// End of header //
|
2019-01-01 13:09:57 +01:00
|
|
|
//------------------------------------------//
|
|
|
|
|
|
|
|
#endif
|