Subject: lib/6252: daemon(3) has no cross-reference to fork(2)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@mail.weird.com>
List: netbsd-bugs
Date: 10/05/1998 14:50:53
>Number:         6252
>Category:       lib
>Synopsis:       daemon(3) has no cross-reference to fork(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct  5 12:05:00 1998
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        NetBSD-current sup 907587918
>Environment:

irrelevant

>Description:

	The daemon(3) function calls fork(2) and may return with errno
	set to codes defined in the fork(2) manual page [as mentioned in
	the "ERRORS" section], but there's no cross reference to fork(2)
	in the "SEE ALSO" section.

>How-To-Repeat:

	examine the daemon(3) manual page

>Fix:

	apply the following patch

*** /var/sup/sup.NetBSD.ORG/src/lib/libc/gen/daemon.3   Fri Feb  6 07:41:23 1998
--- ./daemon.3  Mon Oct  5 14:45:51 1998
***************
*** 73,78 ****
--- 73,79 ----
  and 
  .Xr setsid 2 .
  .Sh SEE ALSO
+ .Xr fork 2 ,
  .Xr setsid 2
  .Sh HISTORY
  The
>Audit-Trail:
>Unformatted: