serial_setrts() private méthode

private serial_setrts ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, bool rts ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
rts bool
Résultat int
Exemple #1
0
        public int serial_setrts(SafeSerialHandle handle, bool rts)
        {
            int result = UnsafeNativeMethods.serial_setrts(handle, rts);

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