<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.posix.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.posix-setuid.php',
    1 => 'posix_setuid',
    2 => 'Imposta l\'UID per il processo corrente',
  ),
  'up' => 
  array (
    0 => 'ref.posix.php',
    1 => 'POSIX Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.posix-setsid.php',
    1 => 'posix_setsid',
  ),
  'next' => 
  array (
    0 => 'function.posix-strerror.php',
    1 => 'posix_strerror',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/posix/functions/posix-setuid.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.posix-setuid" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">posix_setuid</h1> 
    <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">posix_setuid</span> &mdash; <span class="dc-title">
     Imposta l&#039;UID per il processo corrente
    </span></p>

   </div>
   <div class="refsect1 unknown-955" id="refsect1-function.posix-setuid-unknown-955">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description"><span class="methodname"><strong>posix_setuid</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$uid</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

    <p class="para rdfs-comment">
     La funzione imposta il reale ID di utente per il processo corrente.
     Questa è una funzione privilegiata e pertanto richiede gli opportuni privilegi (di solito root)
     per potere essere eseguita.
    </p>
    <p class="para">
     Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
    </p>
    <p class="para">
      Vedere anche
     <span class="function"><a href="function.posix-setgid.php" class="function">posix_setgid()</a></span>.
    </p>
   </div>

  </div><?php manual_footer($setup); ?>