pgfind (9)
Leading comments
Copyright (c) 2001 Evan Sarmiento. All rights reserved. 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 ot...
NAME
pgfind - locate a process group by numberSYNOPSIS
In sys/param.h In sys/proc.h Ft struct pgrp * Fn pgfind pid_t pgidDESCRIPTION
The Fn pgfind function takes a Fa pgid as its argument and returns a pointer to the Vt pgrp structure whose pg_id is specified in the argument.Fn pgfind locks the Vt pgrp structure that is returned.