HOG2
utils
MMapUtil.h
Go to the documentation of this file.
1
//
2
// MMapUtil.h
3
// hog2 glut
4
//
5
// Created by Nathan Sturtevant on 10/14/13.
6
// Copyright (c) 2013 University of Denver. All rights reserved.
7
//
8
9
#ifndef hog2_glut_MMapUtil_h
10
#define hog2_glut_MMapUtil_h
11
12
uint8_t *
GetMMAP
(
const
char
*filename, uint64_t mapSizeBytes,
int
&fd,
bool
zero =
false
);
13
void
CloseMMap
(uint8_t *mem, uint64_t mapSizeBytes,
int
fd);
14
15
#endif
CloseMMap
void CloseMMap(uint8_t *mem, uint64_t mapSizeBytes, int fd)
Definition:
MMapUtil.cpp:85
GetMMAP
uint8_t * GetMMAP(const char *filename, uint64_t mapSizeBytes, int &fd, bool zero=false)
Definition:
MMapUtil.cpp:28
Generated by
1.8.17