Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Apr 1997 13:11:07 +0400 (MSD)
From:      Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/3229: Missing #include in setsid(2) synopsis
Message-ID:  <199704080911.NAA01150@tejblum.dnttm.rssi.ru>
Resent-Message-ID: <199704080910.CAA26397@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3229
>Category:       docs
>Synopsis:       Missing #include in setsid(2) synopsis
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  8 02:10:03 PDT 1997
>Last-Modified:
>Originator:     Dmitrij Tejblum
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:


>Description:

The setsid() function declared in unistd.h, but this is not mentioned in
the manpage setsid(2).

>How-To-Repeat:

man 2 setsid

>Fix:
	
*** /usr/src/lib/libc/sys/setsid.2	Sun Jan 12 03:38:36 1997
--- setsid.2	Tue Apr  8 13:04:39 1997
***************
*** 39,44 ****
--- 39,45 ----
  .Nd create session and set process group ID
  .Sh SYNOPSIS
  .Fd #include <sys/types.h>
+ .Fd #include <unistd.h>
  .Ft pid_t
  .Fn setsid "void"
  .Sh DESCRIPTION

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704080911.NAA01150>