PageRenderTime 53ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/gnome-vfs/doc/defuns-gnome-vfs-result.xml.texi

#
Unknown | 71 lines | 45 code | 26 blank | 0 comment | 0 complexity | 92a88ee9d82dd8df6a4b2eee4ac80f24 MD5 | raw file
Possible License(s): GPL-2.0
  1. @c %start of fragment
  2. @deffn Function gnome-vfs-result-to-string (res@tie{}@code{<gnome-vfs-result>}) @result{}@tie{} (ret@tie{}@code{mchars})
  3. Returns a string representing @var{result}, useful for debugging purposes, but
  4. probably not appropriate for passing to the user.
  5. @table @var
  6. @item result
  7. a @code{<gnome-vfs-result>} to convert to a string.
  8. @item ret
  9. a string representing @var{result}.
  10. @end table
  11. @end deffn
  12. @deffn Function gnome-vfs-result-from-errno-code (errno_code@tie{}@code{int}) @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
  13. Converts a system errno value to a @code{<gnome-vfs-result>}.
  14. @table @var
  15. @item errno-code
  16. integer of the same type as the system "errno".
  17. @item ret
  18. a @code{<gnome-vfs-result>} equivalent to @var{errno-code}.
  19. @end table
  20. @end deffn
  21. @deffn Function gnome-vfs-result-from-errno @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
  22. Converts the system errno to a @code{<gnome-vfs-result>}.
  23. @table @var
  24. @item ret
  25. a @code{<gnome-vfs-result>} equivalent to the current system errno.
  26. @end table
  27. @end deffn
  28. @deffn Function gnome-vfs-result-from-h-errno @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
  29. Converts the system "h_errno" to a @code{<gnome-vfs-result>} (h_errno represents
  30. errors accessing and finding internet hosts)
  31. @table @var
  32. @item ret
  33. a @code{<gnome-vfs-result>} equivalent to the current system "h_errno".
  34. @end table
  35. @end deffn
  36. @deffn Function gnome-vfs-result-from-h-errno-val (h_errno_code@tie{}@code{int}) @result{}@tie{} (ret@tie{}@code{<gnome-vfs-result>})
  37. Converts the error code @var{h-errno-code} into a @code{<gnome-vfs-result>}.
  38. @table @var
  39. @item h-errno-code
  40. an integer representing the same error code as the system h_errno.
  41. @item ret
  42. The @code{<gnome-vfs-result>} equivalent to the @var{h-errno-code}.
  43. @end table
  44. @end deffn
  45. @c %end of fragment