Poster of Linux kernelThe best gift for a Linux geek
Opening/Closing

Opening/Closing

Section: globus xio (3) Updated: 7 Jun 2010
Local index Up
 

NAME

Opening/Closing -

An XIO handle with the file driver can be created with globus_xio_handle_create(). 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).  

Author

Generated automatically by Doxygen for globus xio from the source code.


 

Index

NAME
Author

This document was created by man2html, using the manual pages.
Time: 21:46:06 GMT, April 16, 2011