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

Function Ioctl

Kernel/src/fs/filesystem.cpp:470–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468 }
469
470 int Ioctl(fs_fd_t* handle, uint64_t cmd, uint64_t arg){
471 if(handle->node) return handle->node->Ioctl(cmd, arg);
472 else return -1;
473 }
474
475 int Rename(FsNode* olddir, char* oldpath, FsNode* newdir, char* newpath){
476 assert(olddir && newdir);

Callers 1

SysIoctlFunction · 0.85

Calls 1

IoctlMethod · 0.45

Tested by

no test coverage detected