Next: , Previous: Overview, Up: Top


2 GnomeVFSResult

Result of I/O operations, the equivalent of errno

2.1 Overview

2.2 Usage

— Function: gnome-vfs-result-to-string (res <gnome-vfs-result>) ⇒  (ret mchars)

Returns a string representing result, useful for debugging purposes, but probably not appropriate for passing to the user.

result
a <gnome-vfs-result> to convert to a string.
ret
a string representing result.
— Function: gnome-vfs-result-from-errno-code (errno_code int) ⇒  (ret <gnome-vfs-result>)

Converts a system errno value to a <gnome-vfs-result>.

errno-code
integer of the same type as the system "errno".
ret
a <gnome-vfs-result> equivalent to errno-code.
— Function: gnome-vfs-result-from-errno ⇒  (ret <gnome-vfs-result>)

Converts the system errno to a <gnome-vfs-result>.

ret
a <gnome-vfs-result> equivalent to the current system errno.
— Function: gnome-vfs-result-from-h-errno ⇒  (ret <gnome-vfs-result>)

Converts the system "h_errno" to a <gnome-vfs-result> (h_errno represents errors accessing and finding internet hosts)

ret
a <gnome-vfs-result> equivalent to the current system "h_errno".
— Function: gnome-vfs-result-from-h-errno-val (h_errno_code int) ⇒  (ret <gnome-vfs-result>)

Converts the error code h-errno-code into a <gnome-vfs-result>.

h-errno-code
an integer representing the same error code as the system h_errno.
ret
The <gnome-vfs-result> equivalent to the h-errno-code.