globus_errno_error_utility(3) | globus_common | globus_errno_error_utility(3) |
globus_errno_error_utility - Error Handling Helpers
- Error Handling Helpers.
globus_bool_t globus_error_errno_match
(globus_object_t *error, globus_module_descriptor_t *module, int
system_errno)
int globus_error_errno_search (globus_object_t *error)
Search for an errno value in an error chain
"
globus_object_t * globus_error_wrap_errno_error
(globus_module_descriptor_t *base_source, int system_errno, int type,
const char *source_file, const char *source_func, int source_line, const
char *short_desc_format,...)
Error Handling Helpers.
Helper functions for dealing with Globus Errno Error objects.
This section defines utility functions for dealing with Globus Errno Error objects.
Check whether the error originated from a specific module and matches a specific errno.
This function checks whether the error or any of it's causative errors originated from a specific module and contains a specific errno. If the module descriptor is left unspecified this function will check for any error of the specified errno and vice versa.
Parameters
Returns
Search for an errno value in an error chain
This function searches the error object and its causal errors for an error of
type GLOBUS_ERROR_TYPE_ERRNO and returns the errno of that error. If the
error and none of its causes are derived from that type, it returns 0.
Parameters
Returns
Allocate and initialize an error of type GLOBUS_ERROR_TYPE_GLOBUS which contains a causal error of type GLOBUS_ERROR_TYPE_ERRNO.
Parameters
Returns
Generated automatically by Doxygen for globus_common from the source code.
Sun Dec 13 2020 | Version 18.9 |