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

Method ReadLink

Kernel/src/fs/fsnodestubs.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50ssize_t FsNode::ReadLink(char* pathBuffer, size_t bufSize){
51 if((flags & S_IFMT) != S_IFLNK){
52 return -EINVAL; // Not a symlink
53 }
54
55 return -ENOSYS;
56}
57
58int FsNode::Link(FsNode*, DirectoryEntry*){
59 return -ENOSYS;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected