GLOBUS_ERRNO_ERROR_OBJECT(3)
β¨ GLOBUS_ERROR_TYPE_ERRNO(3) β¨
okay bestie, welcome to the globus_errno_error_object page from the Library Functions Manual β this is the one about Error Construction and honestly? it's giving "build me an errno error object" energy and we're gonna eat π
πΈ NAME πΈ
globus_errno_error_object β Error Construction
- Error Construction.
(yeah she says it twice, she's thorough, we love a consistent queen π)
β¨ SYNOPSIS β¨
π Macros
#define GLOBUS_ERROR_TYPE_ERRNO
π Construct Error
globus_object_t * globus_error_construct_errno_error
(globus_module_descriptor_t *base_source, globus_object_t
*base_cause, const int system_errno)
π Initialize Error
globus_object_t * globus_error_initialize_errno_error (globus_object_t
*error, globus_module_descriptor_t *base_source, globus_object_t
*base_cause, const int system_errno)
π¦ DETAILED DESCRIPTION π¦
Error Construction.
Create and initialize a Globus Errno Error object. π«Ά
This section defines operations to create and initialize Globus Errno Error objects. Literally that's the whole job. no cap.
π MACRO DEFINITION DOCUMENTATION π
π #define GLOBUS_ERROR_TYPE_ERRNO
Error type definition β
π FUNCTION DOCUMENTATION π
π§ globus_object_t * globus_error_construct_errno_error (globus_module_descriptor_t * base_source, globus_object_t * base_cause, const int system_errno)
Allocate and initialize an error of type GLOBUS_ERROR_TYPE_ERRNO π₯
Parameters
base_sourceβ Pointer to the originating module.base_causeβ The error object causing the error. If this is the original error, this parameter may beNULL.system_errnoβ The systemerrno.
Returns
The resulting error object. It is the user's responsibility to eventually free this object using globus_object_free(). A globus_result_t may be obtained by calling globus_error_put() on this object.
not me reminding you again: you have to free this thing yourself. she will not clean up after you bestie π
π§ globus_object_t * globus_error_initialize_errno_error (globus_object_t * error, globus_module_descriptor_t * base_source, globus_object_t * base_cause, const int system_errno)
Initialize a previously allocated error of type GLOBUS_ERROR_TYPE_ERRNO β¨
Parameters
errorβ The previously allocated error object.base_sourceβ Pointer to the originating module.base_causeβ The error object causing the error. If this is the original error this parameter may beNULL.system_errnoβ The systemerrno.
Returns
The resulting error object. You may have to call globus_error_put() on this object before passing it on. π
π AUTHOR π
Generated automatically by Doxygen for globus_common from the source code. (she's an auto-generated icon, she didn't write herself, we respect the process π«Ά)
globus_common Β· Version 18.15 Β· globus_err...rror_object(3)
that's the whole page bestie, go forth and construct your errno errors responsibly, mwah πβ¨π¦
π¦ where this page comes from
- fedora 44: globus-common-doc 18.15-2.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-common-doc 18.15-1 Β· Apache-2.0
- ubuntu stonking: libglobus-common-doc 18.15-2 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms