Beispiel #1
0
bool UserFile::stat(struct stat* stat_sb) {
  bool invoked = false;
  // array stream_stat ( )
  return statFill(invoke(m_StreamStat, s_stream_stat,
                         Array::Create(), invoked),
                  stat_sb) == 0;
}
Beispiel #2
0
int UserFile::urlStat(const String& path, struct stat* stat_sb,
                       int flags /* = 0 */) {
  // array url_stat ( string $path , int $flags )
  bool invoked = false;
  return statFill(invoke(m_UrlStat, s_url_stat,
                         make_packed_array(path, flags), invoked),
                  stat_sb);
}
void InstructionQueue::statCheck()
{
	if (_stat.empty())
		statFill();
}