ttyname.3
来自「minix操作系统最新版本(3.1.1)的源代码」· 3 代码 · 共 29 行
3
29 行
.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).\".\" $PchId: ttyname.3,v 1.2 1996/04/11 06:42:17 philip Exp $
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?