Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: posix_ttyname - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

posix_uname" width="11" height="7"/> <posix_times
Last updated: Mon, 05 Feb 2007

view this page in

posix_ttyname

(PHP 4, PHP 5)

posix_ttyname — 端末のデバイス名を調べる

説明

string posix_ttyname ( int fd )

警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。



add a note add a note User Contributed Notes
posix_ttyname
casper at bcx dot nl
19-Apr-2006 11:10
<?php
   var_dump
( posix_ttyname(STDOUT) );
?>

returns:
string(10) "/dev/pts/0"

When using pseudo terminal 1 (ie ssh)

posix_uname" width="11" height="7"/> <posix_times
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites