1234567891011121314151617181920 |
- #ifndef SP_SHM_H
- #define SP_SHM_H
- #pragma once
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* help two process to find a same virtual memory address range */
- SPBASE_API int sp_shm_get_range(int mask);
- SPBASE_API void *sp_shm_init(int range, int newcreator);
- SPBASE_API void sp_shm_term();
- SPBASE_API int sp_shm_is_newalloc();
- #ifdef __cplusplus
- } // extern "C" {
- #endif
- #endif // SP_SHM_H
|