MCPcopy Create free account
hub / github.com/catboost/catboost / shmat

Function shmat

util/system/shmat.cpp:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 static void* shmat(int id, const void* addr, int flag) {
54 return (void*)syscall(__NR_shmat, id, addr, flag);
55 }
56
57 static int shmctl(int id, int cmd, void* buf) {
58 return syscall(__NR_shmctl, id, cmd | IPC_64, buf);

Callers 2

OpenMethod · 0.85
CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected