aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/process.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe-php-shim/src/process.rs')
-rw-r--r--crates/shirabe-php-shim/src/process.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/crates/shirabe-php-shim/src/process.rs b/crates/shirabe-php-shim/src/process.rs
index b082f472..fd8b7d2d 100644
--- a/crates/shirabe-php-shim/src/process.rs
+++ b/crates/shirabe-php-shim/src/process.rs
@@ -396,22 +396,6 @@ pub fn getmypid() -> i64 {
std::process::id() as i64
}
-// No-op until real signal handling is wired up; signal registration itself is
-// deferred (see the TODO(plugin) notes in SignalRegistry::register).
-pub fn pcntl_async_signals(_enable: bool) {}
-
-pub fn pcntl_signal(_signal: i64, _handler: PhpMixed) -> bool {
- // TODO(phase-c): registering a signal handler requires the signal-handling subsystem to be
- // wired up (cf. SignalRegistry / the TODO(plugin) notes). sigaction(2) itself is reachable, but
- // the handler is a PHP callable whose dispatch depends on the runtime callable mechanism.
- todo!()
-}
-
-pub fn pcntl_signal_get_handler(_signal: i64) -> PhpMixed {
- // TODO(phase-c): see pcntl_signal; needs the signal-handling subsystem.
- todo!()
-}
-
pub fn posix_getuid() -> i64 {
nix::unistd::getuid().as_raw() as i64
}