aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sys/socket.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/socket.h b/include/sys/socket.h
index d6737f5..dadd866 100644
--- a/include/sys/socket.h
+++ b/include/sys/socket.h
@@ -3,4 +3,9 @@
/* Now define the internal interfaces. */
extern int __socket (int __domain, int __type, int __protocol) __THROW;
+
+/* Return a socket of any type. The socket can be used in subsequent
+ ioctl calls to talk to the kernel. */
+extern int __opensock (void) internal_function;
+
#endif