* SerialPortStream.cs: Send a break on the Unix case.
svn path=/trunk/mcs/; revision=87453
+2007-10-13 Miguel de Icaza <miguel@novell.com>
+
+ * SerialPortStream.cs: Send a break on the Unix case.
+
2007-08-12 Lukasz Byczynski <lukaszb@forcom.com.pl>
* SerialPortStream.cs: added timeout handling on write
throw new IOException ();
}
+ [DllImport ("MonoPosixHelper")]
+ static extern int breakprop (int fd);
+
public void SetBreakState (bool value)
{
- throw new NotImplementedException ();
+ if (value)
+ breakprop (fd);
}
}