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...
NAMEpgfind - locate a process group by number
SYNOPSISIn sys/param.h In sys/proc.h Ft struct pgrp * Fn pgfind pid_t pgid
DESCRIPTIONThe 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.