提交 be757a3f 编写于 作者: M Matthias Bolte

Fix documentation of virStreamRecv

virStreamRecv is for reading.

Also add some missing punctuation to virStreamSend's documentation.
上级 1d575629
......@@ -12730,10 +12730,10 @@ virStreamRef(virStreamPtr stream)
* block the calling application for an arbitrary amount
* of time. Once an application has finished sending data
* it should call virStreamFinish to wait for successful
* confirmation from the driver, or detect any error
* confirmation from the driver, or detect any error.
*
* This method may not be used if a stream source has been
* registered
* registered.
*
* Errors are not guaranteed to be reported synchronously
* with the call, but may instead be delayed until a
......@@ -12825,10 +12825,10 @@ error:
/**
* virStreamRecv:
* @stream: pointer to the stream object
* @data: buffer to write to stream
* @data: buffer to read into from stream
* @nbytes: size of @data buffer
*
* Write a series of bytes to the stream. This method may
* Reads a series of bytes from the stream. This method may
* block the calling application for an arbitrary amount
* of time.
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册