serial_setxonlimit() private method

private serial_setxonlimit ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, int xonLimit ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
xonLimit int
return int
Ejemplo n.º 1
0
        public int serial_setxonlimit(SafeSerialHandle handle, int xonLimit)
        {
            int result = UnsafeNativeMethods.serial_setxonlimit(handle, xonLimit);

            errno = Marshal.GetLastWin32Error();
            return(result);
        }