Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 ">

posix_setgid

(PHP 3>= 3.0.13, PHP 4 )

posix_setgid --  Fixe le GID effective du processus courant.

Description

boolean posix_setgid ( int gid)

posix_setgid() fixe le GID effective du processus courant. Reportez-vous à posix_getgrgid() pour transformer cette information en nom de groupe. L'ordre approprié est d'abord posix_setgid(), puis posix_setuid().

posix_setgid() retourne TRUE en cas de succès, FALSE sinon.