1
0
Fork 0
mirror of https://gitlab.com/niansa/libhss.git synced 2025-03-06 20:49:21 +01:00
libhss/example/child.cpp
2021-07-19 10:54:59 +02:00

14 lines
267 B
C++

#include <string>
#include <sys/mman.h>
#include <QIPC/ipc.hpp>
extern "C"
void entry(QIPC& ipc) {
open("lol", 0);
ipc.send("Lol");
std::string test = "Dynamic ";
test += "memory";
ipc.send(test.c_str());
ipc.send_raw(size_t(1234567890));
}