I wrote to simple program to set up a shared memory in Mandrake Linux 10.0. Below is my simple program:
#define SHM_AREA_NAME "/shmarea"
#define MYSHMSIZE 1048576
#define SHM_NAME "/dblinks.shm"
/* Create a shared memory area */
shm_descr = shm_open( SHM_AREA_NAME, O_CREAT|O_RDWR, S_IRWXU);
perror( NULL );
I was able to compile and link the program without any problem. However, I got the following message at run-time as a return value from shm_open.
"Function not implemented"
Any help is appreciated