Download
Download Latest
Version Support Policy
Documentation
Documentation Home
Tutorial
Project
Governance
Branding
License
GitHub Repository
Community
Contribute to PHP
Online Communities
Events | Conferences
Mailing Lists
PHP 8.5
All Releases
Search docs
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Exceptions
Generators
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Filesystem Security
Database Security
Error Reporting
Using Register Globals
User Submitted Data
Magic Quotes
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Safe Mode
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Credit Card Processing
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
PCNTL 函数
PHP Manual
PHP Manual
»
PCNTL
»
PCNTL 函数
PCNTL 函数
参见
查看有关
POSIX 函数
的部分可能会有用。
目录
pcntl_alarm
— 为进程设置 alarm 闹钟信号
pcntl_async_signals
— Enable/disable asynchronous signal handling or return the old setting
pcntl_errno
— 别名 pcntl_get_last_error
pcntl_exec
— 在当前进程空间执行指定程序
pcntl_fork
— 在当前进程当前位置产生分叉(fork)
pcntl_forkx
— Create a child process using forkx(2)
pcntl_get_last_error
— Retrieve the error number set by the last pcntl function which failed
pcntl_getcpu
— Get the CPU number on which the calling process last executed
pcntl_getcpuaffinity
— Get the cpu affinity of a process
pcntl_getpriority
— 获取任意进程的优先级
pcntl_getqos_class
— Get the QoS class of the current thread
pcntl_rfork
— Manipulates process resources
pcntl_setcpuaffinity
— Set the cpu affinity of a process
pcntl_setns
— Reassociate the calling process with a namespace of another process
pcntl_setpriority
— 修改任意进程的优先级
pcntl_setqos_class
— Set the QoS class of the current thread
pcntl_signal
— 安装信号处理程序
pcntl_signal_dispatch
— 调用等待信号的处理程序
pcntl_signal_get_handler
— Get the current handler for specified signal
pcntl_sigprocmask
— 设置或检索阻塞信号
pcntl_sigtimedwait
— 带超时机制的信号等待
pcntl_sigwaitinfo
— 等待信号
pcntl_strerror
— Retrieve the system error message associated with the given errno
pcntl_unshare
— Dissociates parts of the process execution context
pcntl_wait
— 等待或返回 fork 的子进程状态
pcntl_waitid
— 等待子进程改变状态
pcntl_waitpid
— 等待或返回 fork 的子进程状态
pcntl_wexitstatus
— 返回一个中断的子进程的返回代码
pcntl_wifcontinued
— Checks whether the child process has continued from a job control stop
pcntl_wifexited
— 检查状态代码是否代表一个正常的退出
pcntl_wifsignaled
— 检查子进程状态码是否代表由于某个信号而中断
pcntl_wifstopped
— 检查子进程当前是否已经停止
pcntl_wstopsig
— 返回导致子进程停止的信号
pcntl_wtermsig
— 返回导致子进程中断的信号
↑
and
↓
to navigate •
Enter
to select •
Esc
to close •
/
to open
Press
Enter
without selection to search using Google