Sha256: 724eeb38b86cd56fa16303774340de75ba08eaa5ccdd91cba6b438bf4eb510eb
Contents?: true
Size: 839 Bytes
Versions: 1
Compression:
Stored size: 839 Bytes
Contents
/* * File: ushm.h * Copyright (C) 2004 The Institute for System Programming of the Russian Academy of Sciences (ISP RAS) */ #ifndef _USHMEM_H #define _USHMEM_H #include "common/u/u.h" #include "common/u/usecurity.h" #ifdef _WIN32 typedef HANDLE UShMem; #else #include <sys/shm.h> typedef int UShMem; #endif #ifdef __cplusplus extern "C" { #endif int uCreateShMem(UShMem *id, global_name name, int size, USECURITY_ATTRIBUTES* sa, sys_call_error_fun fun); int uOpenShMem(UShMem *id, global_name key, int size, sys_call_error_fun fun); int uReleaseShMem(UShMem id, sys_call_error_fun fun); int uCloseShMem(UShMem id, sys_call_error_fun fun); void* uAttachShMem(UShMem id, void *ptr, int size, sys_call_error_fun fun); int uDettachShMem(UShMem id, void * ptr, sys_call_error_fun fun); #ifdef __cplusplus } #endif #endif
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sedna-0.6.0 | vendor/sedna/kernel/common/u/ushm.h |