internal static unsafe int fsetattrlist(SafeHandle handle, AttrList *attrList, void *attrBuf, nint attrBufSize, CULong options) { bool refAdded = false; try { handle.DangerousAddRef(ref refAdded); return(fsetattrlist(handle.DangerousGetHandle().ToInt32(), attrList, attrBuf, attrBufSize, options)); } finally { if (refAdded) { handle.DangerousRelease(); } } }
internal static unsafe partial int setattrlist(string path, AttrList *attrList, void *attrBuf, nint attrBufSize, CULong options);
private static unsafe partial int fsetattrlist(int fd, AttrList *attrList, void *attrBuf, nint attrBufSize, CULong options);