os_ipc.h
来自「最新的版本ACE-5.6.8,刚从外文网上搬下,与大家分享.」· C头文件 代码 · 共 75 行
H
75 行
// -*- C++ -*-
//=============================================================================
/**
* @file os_ipc.h
*
* XSI interprocess communication access structure
*
* $Id: os_ipc.h 80826 2008-03-04 14:51:23Z wotte $
*
* @author Don Hinton <dhinton@dresystems.com>
* @author This code was originally in various places including ace/OS.h.
*/
//=============================================================================
#ifndef ACE_OS_INCLUDE_SYS_OS_IPC_H
#define ACE_OS_INCLUDE_SYS_OS_IPC_H
#include /**/ "ace/pre.h"
#include "ace/config-lite.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/os_include/sys/os_types.h"
#if !defined (ACE_LACKS_SYS_IPC_H)
# include /**/ <sys/ipc.h>
#endif /* !ACE_LACKS_SYS_IPC_H */
// Place all additions (especially function declarations) within extern "C" {}
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
#if defined (ACE_WIN32)
# define ACE_INVALID_SEM_KEY 0
#else /* !ACE_WIN32 */
# define ACE_INVALID_SEM_KEY -1
#endif /* ACE_WIN32 */
#if !defined (IPC_PRIVATE)
# define IPC_PRIVATE ACE_INVALID_SEM_KEY
#endif /* IPC_PRIVATE */
#if !defined (IPC_STAT)
# define IPC_STAT 0
#endif /* IPC_STAT */
#if !defined (IPC_CREAT)
# define IPC_CREAT 0
#endif /* IPC_CREAT */
#if !defined (IPC_NOWAIT)
# define IPC_NOWAIT 0
#endif /* IPC_NOWAIT */
#if !defined (IPC_RMID)
# define IPC_RMID 0
#endif /* IPC_RMID */
#if !defined (IPC_EXCL)
# define IPC_EXCL 0
#endif /* IPC_EXCL */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#include /**/ "ace/post.h"
#endif /* ACE_OS_INCLUDE_SYS_OS_IPC_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?