Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 5404

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Make the current process a session leader</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.posix-setpgid.html">posix_setpgid</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.posix-setuid.html">posix_setuid</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-setsid" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">posix_setsid</h1>
  <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">posix_setsid</span> &mdash; <span class="dc-title">Make the current process a session leader</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.posix-setsid-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>posix_setsid</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Make the current process a session leader. 
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.posix-setsid-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns the session id, or -1 on errors.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.posix-setsid-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member">
     The POSIX.1 and the setsid(2) manual page on the POSIX system for more
     information on process groups and job control.
    </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-setpgid.html">posix_setpgid</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.posix-setuid.html">posix_setuid</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>