MCPcopy Create free account
hub / github.com/SmingHub/Sming / fgetxattr

Method fgetxattr

Sming/Libraries/Spiffs/src/FileSystem.cpp:599–608  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599int FileSystem::fgetxattr(FileHandle file, AttributeTag tag, void* buffer, size_t size)
600{
601 CHECK_MOUNTED()
602
603 auto smb = getMetaBuffer(file);
604 if(smb == nullptr) {
605 return Error::InvalidHandle;
606 }
607 return smb->getxattr(tag, buffer, size);
608}
609
610int FileSystem::fenumxattr(FileHandle file, AttributeEnumCallback callback, void* buffer, size_t bufsize)
611{

Callers

nothing calls this directly

Calls 1

getxattrMethod · 0.45

Tested by

no test coverage detected