hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
 
#ifndef __SHARED_MEMORY_H__
#define __SHARED_MEMORY_H__
 
#ifdef __cplusplus
extern "C" {
#endif
 
int DestroyShm(int shmid);
int CreateShm(char *name, int projid, int size);
int GetShm(char *name, int projid, int size);
char *Shmat(int shmid);
void Shmdt(char *addr);
 
#ifdef __cplusplus
}
#endif
 
#endif