/* mem.h - array-of-byte decls * **************************************************************** * Copyright (C) 1998, 2000 Thomas Lord * * See the file "COPYING" for further information about * the copyright and warranty status of this work. */ #ifndef INCLUDE__MEM__MEM_H #define INCLUDE__MEM__MEM_H #include "hackerlab/machine/types.h" /* automatically generated __STDC__ prototypes */ extern void mem_set (void * mem, unsigned int c, size_t size); extern void mem_set0 (void * mem, size_t n); extern void mem_move (void * to, void const * from, size_t amt); extern void mem_cpy (void * to, void const * from, size_t amt); extern int mem_cmp (void const * m1, void const * m2, size_t amt); extern size_t mem_occurrences (const t_uchar * mem, unsigned int c, size_t size); #endif /* INCLUDE__MEM__MEM_H */