NetBSD Problem Report #46447

From  Sun May 13 00:29:17 2012
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 7AA4263B915
	for <>; Sun, 13 May 2012 00:29:17 +0000 (UTC)
Message-Id: <>
Date: Sun, 13 May 2012 00:29:16 +0000 (UTC)
Subject: No documentation for kernel sockets - socreate sobind soclose etc.
X-Send-Pr-Version: www-1.0

>Number:         46447
>Category:       misc
>Synopsis:       No documentation for kernel sockets - socreate sobind soclose etc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 13 00:30:00 +0000 2012
>Originator:     Nat Sloss
>Release:        NetBSD Current 6.99.6
NetBSD beast 6.99.6 NetBSD 6.99.6 (LOCKDEBUG) #6: Sat May 12 00:23:26 EST 2012  build@beast:/usr/src/sys/arch/i386/compile/obj/LOCKDEBUG i386

After trying to program using kernel sockets I found it frustrating that the functions socreate sobind soclose etc. were not documented.

I managed though to work it out by reading the source and various include files as well as reading the manual pages for other BSDs.

Other BSDs have manual pages for kernel sockets but our sockets differ (mbufs) so documentation would be useful.
Refer to above.
Other sources for kernel socket manual pages include:

FreeBSD socket.9
OpenBSD socreate.9



NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.