ssh2_send_eof
(PECL ssh2 >= 1.3)
ssh2_send_eof — Send EOF to stream
说明
ssh2_send_eof(resource
$channel
): boolSends an EOF to the stream; this is typically used to close standard input, while keeping output and error alive. For example, one can send a remote process some data over standard input, close it to start processing, and still be able to read out the results without creating additional files.
参数
-
channel
-
An SSH stream; can be acquired through functions like ssh2_fetch_stream() or ssh2_connect().
返回值
成功时返回 true
, 或者在失败时返回 false
。
参见
- ssh2_fetch_stream() - Fetch an extended data stream

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/function.ssh2-send-eof.php