#include "ns.h"#include "global.h"#include "bsafe2.h"Defines | |
| #define | MEMMOVE_PRESENT 1 |
Functions | |
| void T_CALL | T_memset (POINTER p, int c, unsigned int count) |
| void T_CALL | T_memcpy (POINTER d, POINTER s, unsigned int count) |
| void T_CALL | T_memmove (POINTER d, POINTER s, unsigned int count) |
| int T_CALL | T_memcmp (POINTER s1, POINTER s2, unsigned int count) |
| POINTER T_CALL | T_malloc (unsigned int size) |
| POINTER T_CALL | T_realloc (POINTER p, unsigned int size) |
| void T_CALL | T_free (POINTER p) |
| #define MEMMOVE_PRESENT 1 |
If the standard C library comes with a memmove() that correctly handles overlapping buffers, MEMMOVE_PRESENT should be defined as 1, else 0. The following defines MEMMOVE_PRESENT as 1 if it has not already been defined as 0 with C compiler flags.
| void T_CALL T_free | ( | POINTER | p | ) |
| POINTER T_CALL T_malloc | ( | unsigned int | size | ) |
| int T_CALL T_memcmp | ( | POINTER | s1, | |
| POINTER | s2, | |||
| unsigned int | count | |||
| ) |
| void T_CALL T_memcpy | ( | POINTER | d, | |
| POINTER | s, | |||
| unsigned int | count | |||
| ) |
| void T_CALL T_memmove | ( | POINTER | d, | |
| POINTER | s, | |||
| unsigned int | count | |||
| ) |
| void T_CALL T_memset | ( | POINTER | p, | |
| int | c, | |||
| unsigned int | count | |||
| ) |
BSAFE 3.0
| POINTER T_CALL T_realloc | ( | POINTER | p, | |
| unsigned int | size | |||
| ) |
1.5.1