<dec f='src/src/sys/sys/proc.h' l='515' type='int pgid_in_session(struct proc * , __pid_t )'/>
<use f='src/src/sys/kern/kern_descrip.c' l='1780' u='c' c='fsetown'/>
<def f='src/src/sys/kern/kern_proc.c' l='540' ll='567' type='int pgid_in_session(struct proc * p, __pid_t pg_id)'/>
<doc f='src/src/sys/kern/kern_proc.c' l='534'>/*
 * Check that the specified process group is in the session of the
 * specified process.
 * Treats -ve ids as process ids.
 * Used to validate TIOCSPGRP requests.
 */</doc>
