view osdep/mmap_anon.h @ 21234:f61fd8cc3128

Add a sanity check to unsafe-looking code. Does the memcpy to internal buffer here have any purpose besides enabling more potential buffer overflows?
author uau
date Sat, 25 Nov 2006 20:01:24 +0000
parents d9cedf7b8069
children 2de480457872
line wrap: on
line source

#ifndef _OSDEP_MMAP_ANON_H_
#define _OSDEP_MMAP_ANON_H_

#include <sys/types.h>

void *mmap_anon(void *, size_t, int, int, int *, off_t);

#endif /* _OSDEP_MMAP_ANON_H_ */