mirror of https://git.tukaani.org/xz.git
xz: Fix comments
This commit is contained in:
parent
bf6da9a573
commit
260d5d3620
|
@ -993,8 +993,8 @@ io_open_dest(file_pair *pair)
|
||||||
/// \param pair File whose dest_fd should be closed
|
/// \param pair File whose dest_fd should be closed
|
||||||
/// \param success If false, the file will be removed from the disk.
|
/// \param success If false, the file will be removed from the disk.
|
||||||
///
|
///
|
||||||
/// \return Zero if closing succeeds. On error, -1 is returned and
|
/// \return If closing succeeds, false is returned. On error, an error
|
||||||
/// error message printed.
|
/// message is printed and true is returned.
|
||||||
static bool
|
static bool
|
||||||
io_close_dest(file_pair *pair, bool success)
|
io_close_dest(file_pair *pair, bool success)
|
||||||
{
|
{
|
||||||
|
|
|
@ -177,6 +177,6 @@ extern bool io_pread(file_pair *pair, io_buf *buf, size_t size, uint64_t pos);
|
||||||
/// \param buf Buffer containing the data to be written
|
/// \param buf Buffer containing the data to be written
|
||||||
/// \param size Size of the buffer; must be at most IO_BUFFER_SIZE
|
/// \param size Size of the buffer; must be at most IO_BUFFER_SIZE
|
||||||
///
|
///
|
||||||
/// \return On success, zero is returned. On error, -1 is returned
|
/// \return On success, false is returned. On error, error message
|
||||||
/// and error message printed.
|
/// is printed and true is returned.
|
||||||
extern bool io_write(file_pair *pair, const io_buf *buf, size_t size);
|
extern bool io_write(file_pair *pair, const io_buf *buf, size_t size);
|
||||||
|
|
Loading…
Reference in New Issue