gnome_vfs_read returns EOF when requesting zero bytes
- From: Johan Ersvik <jersvik fastmail fm>
- To: "gnome-vfs-list gnome org" <gnome-vfs-list gnome org>
- Subject: gnome_vfs_read returns EOF when requesting zero bytes
- Date: Sat, 19 Feb 2005 17:26:19 +0100
Hi,
I noticed that the call gnome_vfs_read(handle, buffer, 0, &nchars)
returns GNOME_VFS_ERROR_EOF. Is this on purpose or just a boundary case
that has gone unnoticed? The documentation didn't clear things up much
either. Rather it implies that the above call should return
GNOME_VFS_OK.
Thanks,
Johan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]