tor  0.4.1.0-alpha-dev
Data Structures | Typedefs | Functions
mmap.h File Reference
#include "lib/cc/compat_compiler.h"
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  tor_mmap_t
 

Typedefs

typedef struct tor_mmap_t tor_mmap_t
 

Functions

tor_mmap_ttor_mmap_file (const char *filename)
 
int tor_munmap_file (tor_mmap_t *handle)
 

Detailed Description

Header for mmap.c.

Definition in file mmap.h.

Typedef Documentation

◆ tor_mmap_t

typedef struct tor_mmap_t tor_mmap_t

Represents an mmaped file. Allocated via tor_mmap_file; freed with tor_munmap_file.