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

Method fsetxattr

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

Source from the content-addressed store, hash-verified

586}
587
588int FileSystem::fsetxattr(FileHandle file, AttributeTag tag, const void* data, size_t size)
589{
590 CHECK_MOUNTED()
591
592 auto smb = getMetaBuffer(file);
593 if(smb == nullptr) {
594 return Error::InvalidHandle;
595 }
596 return smb->setxattr(tag, data, size);
597}
598
599int FileSystem::fgetxattr(FileHandle file, AttributeTag tag, void* buffer, size_t size)
600{

Callers

nothing calls this directly

Calls 1

setxattrMethod · 0.45

Tested by

no test coverage detected