swoole/Swoole/Coroutine/System.php (21 lines of code) (raw):
<?php
declare(strict_types=1);
namespace Swoole\Coroutine;
class System
{
/**
* @param mixed $domain_name
* @param mixed|null $family
* @param mixed|null $timeout
* @return mixed
*/
public static function gethostbyname($domain_name, $family = null, $timeout = null) {}
/**
* @param mixed $domain_name
* @param mixed|null $timeout
* @param mixed|null $type
* @return mixed
*/
public static function dnsLookup($domain_name, $timeout = null, $type = null) {}
/**
* @param mixed $command
* @param mixed|null $get_error_stream
* @return mixed
*/
public static function exec($command, $get_error_stream = null) {}
/**
* @param mixed $seconds
* @return mixed
*/
public static function sleep($seconds) {}
/**
* @param mixed $hostname
* @param mixed|null $family
* @param mixed|null $socktype
* @param mixed|null $protocol
* @param mixed|null $service
* @param mixed|null $timeout
* @return mixed
*/
public static function getaddrinfo($hostname, $family = null, $socktype = null, $protocol = null, $service = null, $timeout = null) {}
/**
* @param mixed $path
* @return mixed
*/
public static function statvfs($path) {}
/**
* @param mixed $filename
* @return mixed
*/
public static function readFile($filename) {}
/**
* @param mixed $filename
* @param mixed $data
* @param mixed|null $flags
* @return mixed
*/
public static function writeFile($filename, $data, $flags = null) {}
/**
* @param mixed|null $timeout
* @return mixed
*/
public static function wait($timeout = null) {}
/**
* @param mixed $pid
* @param mixed|null $timeout
* @return mixed
*/
public static function waitPid($pid, $timeout = null) {}
/**
* @param mixed $signo
* @param mixed|null $timeout
* @return mixed
*/
public static function waitSignal($signo, $timeout = null) {}
/**
* @param mixed $fd
* @param mixed|null $events
* @param mixed|null $timeout
* @return mixed
*/
public static function waitEvent($fd, $events = null, $timeout = null) {}
/**
* @param mixed $handle
* @param mixed|null $length
* @return mixed
*/
public static function fread($handle, $length = null) {}
/**
* @param mixed $handle
* @param mixed $string
* @param mixed|null $length
* @return mixed
*/
public static function fwrite($handle, $string, $length = null) {}
/**
* @param mixed $handle
* @return mixed
*/
public static function fgets($handle) {}
}