private unsafe int Statfs(path *path, statvfs *vfs) { try { Span <statvfs> span = new Span <statvfs>(vfs, 1); span.Clear(); return(_fileSystem.StatFS(ToSpan(path), ref MemoryMarshal.GetReference(span))); } catch { return(-EIO); } }
private unsafe int Statfs(path *path, statvfs *vfs) { try { Span <statvfs> span = new Span <statvfs>(vfs, 1); span.Clear(); return(_fileSystem.StatFS(ToSpan(path), ref MemoryMarshal.GetReference(span))); } catch { return(-EIO); } }