⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ttyname.3

📁 操作系统设计与实现源码
💻 3
字号:


TTYNAME(3)                Minix Programmer's Manual                 TTYNAME(3)


NAME
     ttyname - file descriptor to terminal device name

SYNOPSIS
     #define _POSIX_SOURCE 1
     #include <unistd.h>

     char *ttyname(int fd)

DESCRIPTION
     Ttyname searches through the /dev directory for the terminal device  file
     that  is  associated  with  file descriptor fd.  It returns the full path
     name of the terminal file if found, NULL is returned otherwise.

SEE ALSO
     ttyslot(3).

AUTHOR
     Kees J. Bot (kjb@cs.vu.nl)

































                                                                             1

⌨️ 快捷键说明

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