Пример #1
0
        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();
                }
            }
        }
Пример #2
0
 internal static unsafe partial int setattrlist(string path, AttrList *attrList, void *attrBuf, nint attrBufSize, CULong options);
Пример #3
0
 private static unsafe partial int fsetattrlist(int fd, AttrList *attrList, void *attrBuf, nint attrBufSize, CULong options);