PHP Manual

  • English French German Portuguese Spanish
Manual do PHP Referência das Funções Extensões para Controle de Processo POSIX POSIX Funções posix_getppid
POSIX Funções posix_access posix_ctermid posix_errno posix_get_last_error posix_getcwd posix_getegid posix_geteuid posix_getgid posix_getgrgid posix_getgrnam posix_getgroups posix_getlogin posix_getpgid posix_getpgrp posix_getpid posix_getppid posix_getpwnam posix_getpwuid posix_getrlimit posix_getsid posix_getuid posix_initgroups posix_isatty posix_kill posix_mkfifo posix_mknod posix_setegid posix_seteuid posix_setgid posix_setpgid posix_setsid posix_setuid posix_strerror posix_times posix_ttyname posix_uname
  • posix_getpid
  • posix_getpwnam

posix_getppid

(PHP 4, PHP 5)

posix_getppid — Return the parent process identifier

Descrição

int posix_getppid ( void )

Return the process identifier of the parent process of the current process.

Valor Retornado

Returns the identifier, as an integer.

Exemplos

Example #1 Example use of posix_getppid()

<?php
echo posix_getppid(); //8259
?>

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.