Le Thu,  1 Apr 2010 02:27:57 +0200, Andreas Färber a écrit :
> Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*.
> Provide a no-op implementation similar to null-gc.
> 

Again, TIOCOUTQ is not found on opengroup.org, neither are TIOCM_* 
which seem to be from SysV.

As I said, there is no reason to skip serial support because of that...

TIOCOUTQ can be easily added to Haiku, or the BSD variant FIONWRITE.

As for TIOCMGET and friends it should be possible to #ifdef it out to 
return -1 with errno = ENOSYS. The calls already have provisions to 
return errors. Unless used by a low level app like a serial flasher app 
I don't see why one would need to use modem lines directly, so for most 
apps it shouldn't be needed...

François.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to