Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
util
memchk.h
Go to the documentation of this file.
1
29
#ifndef RWSTD_MEMCHK_H_INCLUDED
30
#define RWSTD_MEMCHK_H_INCLUDED
31
32
#include <cstddef>
33
34
// checks if the first argument points to a readable region of memory
35
// of the given size; returns the size on success, -1 otherwise
36
std::size_t
memchk
(
const
void
*, std::size_t);
37
38
// checks of the argument points to a valid NUL-terminated character
39
// string; returns the length of the string on success, -1 otherwise
40
std::size_t
strchk
(
const
char
*);
41
42
#endif
// RWSTD_MEMCHK_H_INCLUDED
memchk
std::size_t memchk(const void *, std::size_t)
strchk
std::size_t strchk(const char *)
Definition
memchk.cpp:232
Generated by
1.9.8