PHP
处理控制 | Process Control

EvStat::stat

EvStat::stat

(PECL ev >= 0.2.0)

EvStat::stat — Initiates the stat call

Description

public bool EvStat::stat ( void )

Initiates the stat call(updates internal cache). It stats(using lstat ) the path specified in the watcher and sets to the values found.

Parameters

This function has no parameters.

Return Values

Returns TRUE if path exists. Otherwise FALSE.

See Also

  • EvStat::attr() - Returns the values most recently detected by Ev

  • EvStat::prev() - Returns the previous set of values returned by EvStat::attr

← EvStat::set

EvTimer →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/evstat.stat.php