summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/unixdev.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-02-16 14:52:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-02-16 14:52:01 +0000
commit7a859c54eeedcf5920476d778d16914cb9517fcb (patch)
treee0b72bf06bf60c43b0f99760da39d5a5cd102865 /sys/lib/libsa/unixdev.h
parentf5709ed4c25861af91f3187d3144378de1083066 (diff)
test/debug device, readdir->Makefile
Diffstat (limited to 'sys/lib/libsa/unixdev.h')
-rw-r--r--sys/lib/libsa/unixdev.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/sys/lib/libsa/unixdev.h b/sys/lib/libsa/unixdev.h
new file mode 100644
index 00000000000..86bf0587e7e
--- /dev/null
+++ b/sys/lib/libsa/unixdev.h
@@ -0,0 +1,55 @@
+/* $OpenBSD: unixdev.h,v 1.1 1997/02/16 14:51:59 mickey Exp $ */
+
+/*
+ * Copyright (c) 1996 Michael Shalayeff
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by Michael Shalayeff.
+ * 4. The name of the author may not be used to endorse or promote products
+ * derived from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ *
+ */
+
+
+/* unixdev.c */
+int unixstrategy __P((void *, int, daddr_t, size_t, void *, size_t *));
+int unixopen __P((struct open_file *, ...));
+int unixclose __P((struct open_file *));
+int unixioctl __P((struct open_file *, u_long, void *));
+off_t ulseek __P((int, off_t, int));
+
+int unix_probe __P((void));
+int unix_getc __P((void));
+void unix_putc __P((int));
+int unix_ischar __P((void));
+
+/* unixsys.S */
+int uopen __P((const char *, int, ...));
+int uread __P((int, void *, size_t));
+int uwrite __P((int, void *, size_t));
+int uioctl __P((int, u_long, char *));
+int uclose __P((int));
+void uexit __P((int));
+int syscall __P((int, ...));