globus_xio_file_driver_cntls - Online Linux Manual PageSection : 3
Updated : Tue Jan 26 2021
Source : Version 6.4
Note : globus_xio

NAMEglobus_xio_file_driver_cntls − Attributes and Cntls
 − Attributes and Cntls​.

SYNOPSIS

Enumerationsenum globus_xio_file_attr_cmd_t { GLOBUS_XIO_FILE_SET_MODE, GLOBUS_XIO_FILE_GET_MODE, GLOBUS_XIO_FILE_SET_FLAGS, GLOBUS_XIO_FILE_GET_FLAGS, GLOBUS_XIO_FILE_SET_TRUNC_OFFSET, GLOBUS_XIO_FILE_GET_TRUNC_OFFSET, GLOBUS_XIO_FILE_SET_HANDLE, GLOBUS_XIO_FILE_GET_HANDLE, GLOBUS_XIO_FILE_SET_BLOCKING_IO, GLOBUS_XIO_FILE_GET_BLOCKING_IO, GLOBUS_XIO_FILE_SEEK }

Functionsglobus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_MODE, int mode)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_MODE, int *mode_out)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_FLAGS, int flags)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_FLAGS, int *flags_out)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_TRUNC_OFFSET, globus_off_t offset)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_TRUNC_OFFSET, globus_off_t *offset_out)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_HANDLE, globus_xio_system_file_t handle)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_HANDLE, globus_xio_system_file_t *handle_out)
globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_GET_HANDLE, globus_xio_system_file_t *handle_out)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_BLOCKING_IO, globus_bool_t use_blocking_io)
globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_SET_BLOCKING_IO, globus_bool_t use_blocking_io)
globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_BLOCKING_IO, globus_bool_t *use_blocking_io_out)
globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_GET_BLOCKING_IO, globus_bool_t *use_blocking_io_out)
globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_SEEK, globus_off_t *in_out_offset, globus_xio_file_whence_t whence)

Detailed DescriptionAttributes and Cntls​. File driver specific attrs and cntls​. See also globus_xio_attr_cntl() globus_xio_handle_cntl()

Enumeration Type Documentation

enum globus_xio_file_attr_cmd_tdoxygen varargs filter stuff File driver specific cntls Enumerator GLOBUS_XIO_FILE_SET_MODE  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_GET_MODE  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_SET_FLAGS  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_GET_FLAGS  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_SET_TRUNC_OFFSET  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_GET_TRUNC_OFFSET  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_SET_HANDLE  See usage for: globus_xio_attr_cntl GLOBUS_XIO_FILE_GET_HANDLE  See usage for: globus_xio_attr_cntl , globus_xio_handle_cntl GLOBUS_XIO_FILE_SET_BLOCKING_IO  See usage for: globus_xio_attr_cntl , globus_xio_handle_cntl GLOBUS_XIO_FILE_GET_BLOCKING_IO  See usage for: globus_xio_attr_cntl , globus_xio_handle_cntl GLOBUS_XIO_FILE_SEEK  See usage for: globus_xio_handle_cntl

Function Documentation

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_BLOCKING_IO, globus_bool_t * use_blocking_io_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the blocking io status in use or in attr​. Parameters use_blocking_io_out The flag will be set here​. GLOBUS_TRUE for enabled​. string opt: blocking=bool

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_FLAGS, int * flags_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the file open flags​. Parameters flags_out The current flags will be stored here​.

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_HANDLE, globus_xio_system_file_t * handle_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the file handle in use or in attr​. Parameters handle_out The file handle (fd or HANDLE) will be stored here​. If none is set, GLOBUS_XIO_TCP_INVALID_HANDLE will be set​.

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_MODE, int * mode_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the file create mode​. Parameters mode_out The current mode will be stored here​.

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_GET_TRUNC_OFFSET, globus_off_t * offset_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the file truncate offset​. Parameters offset_out The offset will be stored here​.

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_BLOCKING_IO, globus_bool_t use_blocking_io)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Enable true blocking io when making globus_xio_read/write() calls​. Note: use with caution​. You can deadlock an entire app with this​. Parameters use_blocking_io If GLOBUS_TRUE, true blocking io will be enabled​. GLOBUS_FALSE will disable it (default);

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_FLAGS, int flags)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Set the file open flags​. The default flags specify to create the file if it doesn't exist, open it for reading and writing, and interpret it as a binary file​. Parameters flags A bitwise OR of all the flags desired See also globus_xio_file_flag_t string opt: flags=int

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_HANDLE, globus_xio_system_file_t handle)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Set the file handle to use​. Do not open a new file, use this pre-opened handle instead​. Parameters handle Use this handle (fd or HANDLE) for the file​. Note: close() will not be called on this handle​.

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_MODE, int mode)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Set the file create mode​. Use this to set the permissions a non-existent file is created with, The default mode is 0644​. Parameters mode A bitwise OR of all the modes desired See also globus_xio_file_mode_t string opt: mode=int

globus_result_t globus_xio_attr_cntl (attr, driver, GLOBUS_XIO_FILE_SET_TRUNC_OFFSET, globus_off_t offset)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Set the file truncate offset​. Use this in conjunction with the GLOBUS_XIO_FILE_TRUNC flag to truncate a file to a non-zero offset​. If the file was larger than offset bytes, the extra data is lost​. If the file was shorter or non-existent, it is extended and the extended part reads as zeros​. (default is 0) Parameters offset The desired size of the file​.

globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_GET_BLOCKING_IO, globus_bool_t * use_blocking_io_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the blocking io status in use or in attr​. Parameters use_blocking_io_out The flag will be set here​. GLOBUS_TRUE for enabled​. string opt: blocking=bool

globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_GET_HANDLE, globus_xio_system_file_t * handle_out)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Get the file handle in use or in attr​. Parameters handle_out The file handle (fd or HANDLE) will be stored here​. If none is set, GLOBUS_XIO_TCP_INVALID_HANDLE will be set​.

globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_SEEK, globus_off_t * in_out_offset, globus_xio_file_whence_t whence)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Reposition read/write file offset​. Parameters in_out_offset Specify the desired offset (according to whence)​. On success, the actual file offset will be stored here​.
whence Specify how offset should be interpreted​.
See also globus_xio_file_whence_t GLOBUS_XIO_SEEK

globus_result_t globus_xio_handle_cntl (handle, driver, GLOBUS_XIO_FILE_SET_BLOCKING_IO, globus_bool_t use_blocking_io)This is an overloaded member function, provided for convenience​. It differs from the above function only in what argument(s) it accepts​. Enable true blocking io when making globus_xio_read/write() calls​. Note: use with caution​. You can deadlock an entire app with this​. Parameters use_blocking_io If GLOBUS_TRUE, true blocking io will be enabled​. GLOBUS_FALSE will disable it (default);

AuthorGenerated automatically by Doxygen for globus_xio from the source code​.
0
Johanes Gumabo
Data Size   :   41,890 byte
man-GLOBUS_XIO_FILE_SET_HANDLE.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 165,848
Visitor ID   :     :  
Visitor IP   :   13.58.32.115   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.