PHP: posix_ttyname - Manual

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, 26 Jan 2007

view this page in

# posix_ttyname

(PHP 3 >= 3.0.13, PHP 4, PHP 5)

posix_ttyname -- Determine terminal device name

## Description

string posix_ttyname ( int fd )

Внимание
К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

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)`
add a note
posix_uname posix_times

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST