mman.h
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* mman.h - memory management library header file */
- /* Copyright 1984-1993 Wind River Systems, Inc. */
- /*
- modification history
- --------------------
- 01a,05nov93,dvs written
- */
- #ifndef __INCmmanh
- #define __INCmmanh
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* includes */
- #include "vxWorks.h"
- /* memory locking flags */
- #define MCL_CURRENT 0x1 /* currently not used */
- #define MCL_FUTURE 0x2 /* currently not used */
- /* Function declarations */
- #if defined(__STDC__) || defined(__cplusplus)
- extern int mlockall (int flags);
- extern int munlockall (void);
- extern int mlock (const void * addr, size_t len);
- extern int munlock (const void * addr, size_t len);
- #else /* __STDC__ */
- extern int mlockall ();
- extern int munlockall ();
- extern int mlock ();
- extern int munlock ();
- #endif /* __STDC__ */
- #ifdef __cplusplus
- }
- #endif
- #endif /* __INCmmanh */