[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
tty and filesystem
- To: tech_(_at_)_openbsd_(_dot_)_org
- Subject: tty and filesystem
- From: Naomaru Itoi <itoi_(_at_)_eecs_(_dot_)_umich_(_dot_)_edu>
- Date: Thu, 21 May 1998 02:08:20 -0400
- Delivery-date: Wed May 20 23:11:30 1998
Hello.
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?
Thanks.
--
Concentration .. Naomaru Itoi
Visit your host, monkey.org