lib/replace/system/shmem.h

説明を見る。
00001 #ifndef _system_shmem_h
00002 #define _system_shmem_h
00003 /* 
00004    Unix SMB/CIFS implementation.
00005 
00006    shared memory system include wrappers
00007 
00008    Copyright (C) Andrew Tridgell 2004
00009    
00010    This program is free software; you can redistribute it and/or modify
00011    it under the terms of the GNU General Public License as published by
00012    the Free Software Foundation; either version 2 of the License, or
00013    (at your option) any later version.
00014    
00015    This program is distributed in the hope that it will be useful,
00016    but WITHOUT ANY WARRANTY; without even the implied warranty of
00017    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018    GNU General Public License for more details.
00019    
00020    You should have received a copy of the GNU General Public License
00021    along with this program; if not, write to the Free Software
00022    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00023 */
00024 
00025 #if defined(HAVE_SYS_IPC_H)
00026 #include <sys/ipc.h>
00027 #endif /* HAVE_SYS_IPC_H */
00028 
00029 #if defined(HAVE_SYS_SHM_H)
00030 #include <sys/shm.h>
00031 #endif /* HAVE_SYS_SHM_H */
00032 
00033 #ifdef HAVE_SYS_MMAN_H
00034 #include <sys/mman.h>
00035 #endif
00036 
00037 /* NetBSD doesn't have these */
00038 #ifndef SHM_R
00039 #define SHM_R 0400
00040 #endif
00041 
00042 #ifndef SHM_W
00043 #define SHM_W 0200
00044 #endif
00045 
00046 
00047 #ifndef MAP_FILE
00048 #define MAP_FILE 0
00049 #endif
00050 
00051 #ifndef MAP_FAILED
00052 #define MAP_FAILED ((void *)-1)
00053 #endif
00054 
00055 #endif

Sambaに対してSat Aug 29 21:22:59 2009に生成されました。  doxygen 1.4.7