Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
memattr.cpp File Reference
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <rw/_defs.h>
Include dependency graph for memattr.cpp:

Go to the source code of this file.

Macros

#define _RWSTD_LIB_SRC
 
#define EFAULT   14
 
#define GETPAGESIZE()   getpagesize ()
 
#define ENOMEM   12 /* HP-UX, Solaris, Tru64, ... */
 
#define _RWSTD_PROT_READ   -1
 
#define _RWSTD_PROT_WRITE   0
 
#define DIST(addr1, addr2)
 

Functions

 _RWSTD_NAMESPACE (__rw)
 

Macro Definition Documentation

◆ _RWSTD_LIB_SRC

#define _RWSTD_LIB_SRC

memattr.cpp - source for C++ Standard Library helper functions to determine the attributes of regions of memory

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2005-2007 Rogue Wave Software, Inc.

Definition at line 30 of file memattr.cpp.

◆ _RWSTD_PROT_READ

#define _RWSTD_PROT_READ   -1

Definition at line 84 of file memattr.cpp.

◆ _RWSTD_PROT_WRITE

#define _RWSTD_PROT_WRITE   0

Definition at line 88 of file memattr.cpp.

◆ DIST

#define DIST (   addr1,
  addr2 
)
Value:
( _RWSTD_REINTERPRET_CAST (const char*, addr1) \
- _RWSTD_REINTERPRET_CAST (const char*, addr2))
#define _RWSTD_REINTERPRET_CAST(T, x)
Definition _defs.h:535

Definition at line 92 of file memattr.cpp.

◆ EFAULT

#define EFAULT   14

Definition at line 36 of file memattr.cpp.

◆ ENOMEM

#define ENOMEM   12 /* HP-UX, Solaris, Tru64, ... */

Definition at line 78 of file memattr.cpp.

◆ GETPAGESIZE

#define GETPAGESIZE ( )    getpagesize ()

Definition at line 63 of file memattr.cpp.

Function Documentation

◆ _RWSTD_NAMESPACE()

_RWSTD_NAMESPACE ( __rw  )

Definition at line 97 of file memattr.cpp.