最終更新:2013-07-17 (水) 18:21:39 (3906d)
O_NOCTTY
Top / O_NOCTTY
int open(const char path, int oflag, . . . /* mode_t mode */);
- If set and the file is a terminal, the terminal will not be allocated as the calling process's controlling terminal.
- pathname が端末 (terminal) デバイスtty(4) を指している 場合に、たとえそのプロセスが制御端末を持っていなくても、オープンしたファイル は制御端末にはならない。
- prevent the OS from assigning the opened file as the process's controlling terminal when opening a TTY device file