aboutsummaryrefslogtreecommitdiff
path: root/include/sys/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/socket.h')
-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 d6737f5b34..dadd866613 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