An xio handle with the file driver can be created with globus_xio_handle_create() if there is no handle set on the attr passed to the globus_xio_open() call, it performs the equivalent of an open() call. in this case, the contact string must contain either a pathname or one of stdin://, stdout://, or stderr://. if a pathname is used, that path is opened. if one of the schemes are used the corresponding stdio handle is used (retrieved with fileno()). in either of the above cases, it is most efficient to call the blocking version of globus_xio_open(). it is also safe to call within a locked critical section. when the xio handle is closed, the file driver will destroy its internal resources and close the fd (unless this fd was set on an attr or converted from one of the stdio handles).
Generated automatically by Doxygen for globus_xio from the source code.