>I am writing an application that needs to respond to input on a serial port. >The input is expecte d very infrequently so I would like to perhaps use an interrupt rather than polling. >Is it correct that I must create my own driver to do interrupt handling? If >so, which one should I use as my starting point (this is for Solaris 8 on a Sparc)? > >Is there perhaps an easier way to do this (other than interrupt handling)?
If it's a standard Solaris serial port, then you can use poll or select on the file descriptor or enable SIGIO. Casper _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code