ttyname.3

来自「Unix操作系统minix 2.0源码」· 3 代码 · 共 26 行

3
26
字号
.TH TTYNAME 3.SH NAMEttyname \- file descriptor to terminal device name.SH SYNOPSIS.nf.ft B#define _POSIX_SOURCE	1#include <unistd.h>char *ttyname(int \fIfd\fP).ft P.fi.SH DESCRIPTION.B Ttynamesearches through the.B /devdirectory for the terminal device file that is associated with filedescriptor.IR fd .It returns the full path name of the terminal file if found, NULL isreturned otherwise..SH "SEE ALSO".BR ttyslot (3)..SH AUTHORKees J. Bot (kjb@cs.vu.nl)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?