MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
shared_memory.cpp File Reference
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/sem.h>
#include <cerrno>
#include <cstring>
#include <cstdlib>
#include <cstdio>
#include <unistd.h>
#include <iostream>
#include "defines.h"
#include "shared_memory.h"
#include "stream.h"
#include "procs.h"
#include "bitfields.h"
#include "timing.h"

Namespaces

 IPC
 

Functions

static void IPC::btohl (char *p, long &val)
 Reads a long value of p in host order to val. More...
 
static void IPC::btohl (char *p, unsigned int &val)
 Reads a long value of p in host order to val. More...
 
static void IPC::btohll (char *p, long long &val)
 Reads a long long value of p in host order to val. More...
 
static void IPC::btohs (char *p, unsigned short &val)
 Reads a short value of p in host order to val. More...
 
static void IPC::htobl (char *p, long val)
 Stores a long value of val in network order to the pointer p. More...
 
static void IPC::htobll (char *p, long long val)
 Stores a long long value of val in network order to the pointer p. More...
 
static void IPC::htobs (char *p, short val)
 Stores a short value of val in network order to the pointer p. More...