Skip to content

Instantly share code, notes, and snippets.

@akaszynski
akaszynski / rdmem.c
Last active October 24, 2019 13:03
Simple demo to read and modify a remote array
/**
Copied most of the read from:
https://gist.github.com/FergusInLondon/fec6aebabc3c9e61e284983618f40730
Added write portion at the end
*/
#define _GNU_SOURCE
#include <sys/uio.h>
#include <stdio.h>