Skip to content
Snippets Groups Projects
Select Git revision
  • e48924b57cd3dd2afba7122942909b21f332715f
  • master default protected
  • 2018ws
  • 2017ws
  • 2016ws
5 results

input-1.c

Blame
  • Forked from Peter Gerwinski / hp
    Source project has a limited visibility.
    shm-1a.c 175 B
    #include <sys/mman.h>
    #include <fcntl.h>
    #include <unistd.h>
    
    int main (void)
    {
      int shm = shm_open ("test", O_RDWR, 0666);
      write (shm, "Hello, world!", 13);
      return 0;
    }