Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/addon/ao/aoopenfilespec.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/addon/ao/aoopenfilespec.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/addon/ao/aoopenfilespec.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/addon/ao/aoopenfilespec.html on line 8
Finds the first control that can open a file in a given mode
#include <aoi.h>
AOIStream_t *AoOpenFilespec(const char *filename,
const char *mode);
- filename
- The file name you want to open
- mode
- The mode for opening the file; one of:
- rb
- Read binary.
- wb
- Write binary.
libaoi.so
This function iterates through all the available addons (addons that have been added using an AoAdd*() function) that export a AOIStreamer interface and returns the AOIStream_t for the first addon that successfully opens the given filespec in the given mode. In this case, the control element of the AOIStream_t structure is filled in with the control, and the control is held. When the stream has been closed, you should release this control.
A pointer to an AOIStream_t for the successfully opened stream, orNULL if no streamer addons are found.
QNX Neutrino
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
AOIStream_t,
AoRelease()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/addon/ao/aoopenfilespec.html on line 112
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/addon/ao/aoopenfilespec.html on line 112