ssh2_send_eof
(PECL ssh2 >= 1.3)
ssh2_send_eof — Send EOF to stream
Beschreibung
$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.
Parameter-Liste
-
channel
-
An SSH stream; can be acquired through functions like ssh2_fetch_stream() or ssh2_connect().
Rückgabewerte
Gibt bei Erfolg true
zurück. Bei einem Fehler wird false
zurückgegeben.
Siehe auch
- ssh2_fetch_stream() - Fetch an extended data stream