<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Return the current process group identifier</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.posix-getpgid.html">posix_getpgid</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.posix-getpid.html">posix_getpid</a></div> <div class="up"><a href="ref.posix.html">POSIX Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.posix-getpgrp" class="refentry"> <div class="refnamediv"> <h1 class="refname">posix_getpgrp</h1> <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">posix_getpgrp</span> — <span class="dc-title">Return the current process group identifier</span></p> </div> <div class="refsect1 description" id="refsect1-function.posix-getpgrp-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><strong>posix_getpgrp</strong></span> ( <span class="methodparam">void</span> )</div> <p class="para rdfs-comment"> Return the process group identifier of the current process. </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.posix-getpgrp-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns the identifier, as an <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>. </p> </div> <div class="refsect1 seealso" id="refsect1-function.posix-getpgrp-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member">POSIX.1 and the getpgrp(2) manual page on the POSIX system for more information on process groups.</li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.posix-getpgid.html">posix_getpgid</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.posix-getpid.html">posix_getpid</a></div> <div class="up"><a href="ref.posix.html">POSIX Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>