title: Creating Shared-Memory for two different processes
body: <p>So, I'm trying to create a shared-memory segment in a C program, so I can for example write a simple character in it, and read that character from another C program. </p>
  
  <p>I've been trying to use <code>calloc()</code> and <code>malloc()</code> but I do believe this only works for this program's own <code>heap</code>. </p>
  
  <p>Is there another function to do this same thing, but in the <code>RAM</code> memory? Maybe through an hexadecimal value? Or am I wrong and these functions actually reserve memory visible to all processes? </p>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT: 
  -I'm using windows 8.
  -Language is not restricted to C, can be any other language.</p>