Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 07:30:03 -0700 (PDT)
From:      Evan Sarmiento <kaworu@sektor7.ath.cx>
To:        freebsd-doc@freebsd.org
Subject:   Re: misc/28929: [patch] No man page for pfind()
Message-ID:  <200107131430.f6DEU3N06217@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/28929; it has been noted by GNATS.

From: Evan Sarmiento <kaworu@sektor7.ath.cx>
To: freebsd-gnats-submit@FreeBSD.org, dwmalone@maths.tcd.ie
Cc:  
Subject: Re: misc/28929: [patch] No man page for pfind()
Date: Fri, 13 Jul 2001 10:23:52 -0400 (EDT)

 Hello,
 
 I have updated the pfind and zpfind manpage, hopefully, they are all correct now.
 
 .\" -*- nroff -*-
 .\"
 .\" Copyright (c) 2001 Evan Sarmiento
 .\"
 .\" All rights reserved.
 .\"
 .\" This program is free software.
 .\"
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
 .\" 1. Redistributions of source code must retain the above copyright
 .\"    notice, this list of conditions and the following disclaimer.
 .\" 2. Redistributions in binary form must reproduce the above copyright
 .\"    notice, this list of conditions and the following disclaimer in the
 .\"    documentation and/or other materials provided with the distribution.
 .\"
 .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .Dd July 11, 2001
 .Os
 .Dt pfind 9
 .Sh NAME
 .Nm pfind, zpfind
 .Nd returns pointer to a proc structure in argument
 .Sh SYNOPSIS
 .Fd #include <sys/proc.h>
 .Ft struct proc *
 .Fn pfind "pid_t"
 .Ft static struct proc *
 .Fn zpfind "pid_t"
 .Sh DESCRIPTION
 .Pp
 .Fn pfind
 takes a pid as its argument and returns a pointer to the proc structure whose PID is
 specified in the argument.
 .Pp
 .Nm
 takes a pid as its argument. If zpfind finds a process whose pid is equal to that of argument and is
 a zombie process, zpfind returns a pointer to that proc structure.
 .Pp
 Both zpfind and pfind lock the proc structure that is returned using
 .Fn PROC_LOCK "p"
 .Sh RETURN VALUES
 .Nm
 and
 .Nm zpfind
 both return a pointer to a locked proc structure on success and a NULL on failure.
 .Sh AUTHORS
 This man page was written by
 .An Evan Sarmiento .
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




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