blob: 80c188f816a63d5e3f87be84ce2b08310f8cea0b (
plain) (
tree)
|
|
#ifndef _DEF_STDLIB_H
#define _DEF_STDLIB_H
#include <types.h>
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) > (b) ? (a) : (b))
void *memcpy(void *dest, const void *src, int count);
void *memset(void *dest, int val, int count);
uint16_t *memsetw(uint16_t *dest, uint16_t val, int count);
#endif
|