eof(3)

在通道上檢查檔案結束狀況 · man3 · 繁體中文

eof(3tcl) Tcl Built-In Commands eof(3tcl)

 

eof - 在通道上檢查檔案結束狀況

eof channelId

 

如果在 channelId 上的最近的輸入操作(例如 gets)期間出現(occur)了檔案結束的情況(condition)則返回 1,否則返回0。

file(n), open(n), close(n), fblocked(n)

channel, end of file

寒蟬退士

2001/06/21

http://cmpp.linuxforum.net

本頁面中文版由中文 man 手冊頁計劃提供。
中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh

7.5 Tcl