public static void SetProcessGroup() { int r = Native.Syscall.setpgrp(); UnixMarshal.ThrowExceptionForLastErrorIf(r); }
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); }