*
***************************************************************/
#include <sys/shm.h> /* SysV IPC shared memory declarations */
*
***************************************************************/
#include <sys/shm.h> /* SysV IPC shared memory declarations */
-void * ShmCreate(key_t ipc_key, int shm_size, int perm, char fill)
+void * ShmCreate(key_t ipc_key, int shm_size, int perm, int fill)
* Input: an IPC key value
* the shared memory segment size
* Return: 0 on success, -1 on error
* Input: an IPC key value
* the shared memory segment size
* Return: 0 on success, -1 on error
-void * CreateShm(char * shm_name, off_t shm_size, mode_t perm, char fill)
+void * CreateShm(char * shm_name, off_t shm_size, mode_t perm, int fill)