private unsafe int Setxattr(path *path, void *name, void *buffer, UIntPtr size, int flags) { try { return(_fileSystem.SetXAttr(ToSpan(path), ToSpan((path *)name), new ReadOnlySpan <byte>(buffer, (int)size), flags)); } catch { return(-EIO); } }
private unsafe int Setxattr(path *path, void *name, void *buffer, UIntPtr size, int flags) { try { return(_fileSystem.SetXAttr(ToSpan(path), ToSpan((path *)name), new ReadOnlySpan <byte>(buffer, (int)size), flags)); } catch { return(-EIO); } }