getpgrp
    Damien Miller 
    djm at mindrot.org
       
    Fri Feb 15 14:00:47 EST 2013
    
    
  
On Fri, 15 Feb 2013, Darren Tucker wrote:
> +#ifndef HAVE_GETPGID
> +pid_t
> +getpgid(pid_t pid)
> +{
> +#ifdef HAVE_GETPGRP
> +	if (pid == 0)
> +		return getpgrp();
> +#endif
getpgrp() takes an argument on BSDs. AC_FUNC_GETPGRP tests for this:
http://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Particular-Functions.html#index-AC_005fFUNC_005fGETPGRP-376
-d
    
    
More information about the openssh-unix-dev
mailing list