[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tty and filesystem


I am trying to write a filesystem in OpenBSD-2.2 that talks to a
device through a serial port.  I have a trouble starting to code
because I am not sure which interface I can use.  Can I use standard
tty line decipline (ttyopen(), ttread(), etc.) for that purpose?  How
about cttyopen(), cttyread(), etc?  Can I call them from a kernel?


Concentration .. Naomaru Itoi