public static void SetProcessGroup()
        {
            int r = Native.Syscall.setpgrp();

            UnixMarshal.ThrowExceptionForLastErrorIf(r);
        }
示例#2
0
 public void SaveFilePosition(FilePosition pos)
 {
     this.AssertNotDisposed();
     UnixMarshal.ThrowExceptionForLastErrorIf(Stdlib.fgetpos(this.file, pos));
     GC.KeepAlive(this);
 }
        public static void SetNiceValue(int inc)
        {
            int r = Native.Syscall.nice(inc);

            UnixMarshal.ThrowExceptionForLastErrorIf(r);
        }