SharedMemory

struct SharedMemory : public roq::io::FileDescriptor

Public Functions

SharedMemory(std::string const &name, Mask<Flags>, Mask<Mode> = {})
inline SharedMemory(std::string_view const &name, Mask<Flags> flags, Mask<Mode> mode = {})
size_t size() const
void ensure_size(size_t length)
inline explicit FileDescriptor(value_type fd)
inline FileDescriptor(FileDescriptor &&rhs)
FileDescriptor(FileDescriptor const&) = delete

Public Static Functions

static void unlink(std::string const &path)
static inline void unlink(std::string_view const &path)