struct client_queue *shm_client_init(){ unsigned char *p; struct client_queue *cq; p=(unsigned char *)HOST_SHM_ADDR; cq = client_create_shmqueue((unsigned long)p,SHM_SIZE); return cq; }
struct client_queue *shm_client_init(){ int fd; unsigned char *p; struct client_queue *cq; p=HOST_SHM_ADDR; cq = client_create_shmqueue(p,SHM_SIZE); return cq; }