MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Device

Method Device

Kernel/include/device.h:19–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17class Device : public FsNode {
18public:
19 Device(DeviceType type){
20 name = "";
21
22 this->type = type;
23 }
24
25 Device(const char* name, DeviceType type){
26 this->name = strdup(name);

Callers

nothing calls this directly

Calls 1

strdupFunction · 0.85

Tested by

no test coverage detected