Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > by-pkgid > c67614878826b4852b4141337f025dd6 > files > 48

clement-debug-2.1-0.133.4mdv2009.0.i586.rpm

/************************************************/
/*						*/
/*      Copyright:				*/
/*		 Jean-Marc Pigeon <jmp@safe.ca>	*/
/*	Distributed under the Gnu Public	*/
/*	License, see the License file in this	*/
/*	package.				*/
/*						*/
/*	Define low level routine to access	*/
/*	shared Memory				*/
/*						*/
/************************************************/
#ifndef UNIIPC
#define UNIIPC
#include	<stdlib.h>

typedef	struct timespec TIMESPEC;

extern void *ipc_getshrmem(size_t nmemb,size_t size);
extern void *ipc_dropshrmem(void *ptr);
extern int ipc_getshraccess(void *ptr,TIMESPEC *timeout);
extern int ipc_dropshraccess(void *ptr);
#endif