Home
last modified time | relevance | path

Searched refs:posix_ttyname (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/posix/tests/
H A Dposix_ttyname.phpt2 Test posix_ttyname()
13 var_dump(posix_ttyname(STDIN));
14 var_dump(posix_ttyname(STDERR));
15 var_dump(posix_ttyname(STDOUT));
H A Dposix_ttyname_value_errors.phpt2 posix_ttyname(): errors for invalid file descriptors
18 var_dump(posix_ttyname($value));
22 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be between 0 and %d in %s on line %d
25 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be between 0 and %d in %s on line %d
H A Dposix_ttyname_error_wrongparams.phpt2 Test posix_ttyname() with wrong parameters
16 var_dump(posix_ttyname(0)); // param not a resource
23 var_dump(posix_ttyname($process)); // wrong resource type
30 posix_ttyname(): supplied resource is not a valid stream resource
H A Dposix_ttyname_manual_zpp.phpt2 posix_ttyname(): manually validating int ZPP param
34 var_dump(posix_ttyname($type));
39 Deprecated: posix_ttyname(): Passing null to parameter #1 ($file_descriptor) of type int is depreca…
54 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be of type int|resource, string given…
57 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be of type int|resource, array given …
60 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be of type int|resource, stdClass giv…
65 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be of type int|resource, classWithToS…
70 Warning: posix_ttyname(): Argument #1 ($file_descriptor) must be of type int|resource, GMP given in…
H A Dposix_ttyname_non_castable_user_stream.phpt2 posix_ttyname(): uncastable user stream
12 var_dump(posix_ttyname($fp));
18 Warning: posix_ttyname(): Could not use stream of type 'user-space' in %s on line %d
H A Dposix_ttyname_no_warning_on_cast.phpt2 posix_ttyname(): casting stream does not emit data loss and should not emit warnings
25 var_dump(posix_ttyname($handle));
/php-src/ext/posix/
H A Dconfig.m463 [AC_MSG_NOTICE([posix_ttyname() will be thread-unsafe])])
H A Dposix.stub.php386 function posix_ttyname($file_descriptor): string|false {} function
H A Dposix_arginfo.h225 ZEND_FUNCTION(posix_ttyname);
299 ZEND_FE(posix_ttyname, arginfo_posix_ttyname)
H A Dposix.c446 PHP_FUNCTION(posix_ttyname) in PHP_FUNCTION() argument

Completed in 24 milliseconds