MCPcopy Create free account
hub / github.com/Bananymous/banan-os / clone

Method clone

kernel/kernel/Memory/SharedMemoryObject.cpp:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83 return it->value;
84 }
85
86 if (!(shmflg & IPC_CREAT))
87 return BAN::Error::from_errno(ENOENT);
88 }
89
90 if (size == 0)
91 return BAN::Error::from_errno(EINVAL);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected