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

search for in the

posix_uname> <posix_times
Last updated: Fri, 22 Aug 2008

view this page in

posix_ttyname

(PHP 4, PHP 5)

posix_ttynameDetermina el nombre del dispositivo terminal

Descripción

string posix_ttyname ( int $fd )

Necesita ser escrito.



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

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

When using pseudo terminal 1 (ie ssh)

posix_uname> <posix_times
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites