Grid Community Toolkit  6.2.1705709074 (tag: v6.2.20240202)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Error Data Accessors and Modifiers

Error Data Accessors and Modifiers. More...

Get Errno

int globus_error_errno_get_errno (globus_object_t *error)
 

Set Errno

void globus_error_errno_set_errno (globus_object_t *error, const int system_errno)
 

Detailed Description

Error Data Accessors and Modifiers.

Get and set data in a Globus Errno Error object.

This section defines operations for accessing and modifying data in a Globus Errno Error object.

Function Documentation

int globus_error_errno_get_errno ( globus_object_t *  error)

Retrieve the system errno from a errno error object.

Parameters
errorThe error from which to retrieve the errno
Returns
The errno stored in the object
void globus_error_errno_set_errno ( globus_object_t *  error,
const int  system_errno 
)

Set the errno in a errno error object.

Parameters
errorThe error object for which to set the errno
system_errnoThe system errno
Returns
void