serial_setdatabits() private method

private serial_setdatabits ( RJCP.IO.Ports.Native.Unix.SafeSerialHandle handle, int databits ) : int
handle RJCP.IO.Ports.Native.Unix.SafeSerialHandle
databits int
return int
示例#1
0
        public int serial_setdatabits(SafeSerialHandle handle, int databits)
        {
            int result = UnsafeNativeMethods.serial_setdatabits(handle, databits);

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