Skip to content

Commit

Permalink
Update comment for _io_write_fn
Browse files Browse the repository at this point in the history
	[BZ #2074]
	* libio/libio.h (__io_write_fn): Update comment.
  • Loading branch information
frobtech authored and ajaeger committed Apr 12, 2012
1 parent 247c3ed commit ec98af7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2012-04-12 Roland McGrath <[email protected]>

[BZ #2074]
* libio/libio.h (__io_write_fn): Update comment.

2012-04-12 Petr Baudis <[email protected]>

[BZ #2074]
Expand Down
10 changes: 5 additions & 5 deletions libio/libio.h
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ extern _IO_FILE *_IO_stderr attribute_hidden;
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);

/* Write N bytes pointed to by BUF to COOKIE. Write all N bytes
unless there is an error. Return number of bytes written, or -1 if
there is an error without writing anything. If the file has been
opened for append (__mode.__append set), then set the file pointer
to the end of the file and then do the write; if not, just write at
the current file pointer. */
unless there is an error. Return number of bytes written. If
there is an error, return 0 and do not write anything. If the file
has been opened for append (__mode.__append set), then set the file
pointer to the end of the file and then do the write; if not, just
write at the current file pointer. */
typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf,
size_t __n);

Expand Down

0 comments on commit ec98af7

Please sign in to comment.