aboutsummaryrefslogtreecommitdiff
path: root/dev_openbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'dev_openbsd.go')
-rw-r--r--dev_openbsd.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev_openbsd.go b/dev_openbsd.go
new file mode 100644
index 0000000..cb35e8e
--- /dev/null
+++ b/dev_openbsd.go
@@ -0,0 +1,8 @@
+package robo
+
+import "io"
+
+func Open() (io.ReadWriteCloser, error) {
+ // note: ulpt* doesn't support read(), thus this dev is broken atm.
+ return NewLP("/dev/ulpt0")
+}