#include <stdlib.h>#include <string.h>#include <errno.h>#include "fileoutputstream.h"#include "xmlcpg.h"Compounds | |
| struct | xmlcpgFILEOUTPUTSTREAM |
Functions | |
| xmlcpgFileOutputStream * | xmlcpgnewFileOutputStreamFILE (FILE *f) |
| Creates a new file output stream with a FILE stream. | |
| xmlcpgFileOutputStream * | xmlcpgnewFileOutputStreamString (const char *name) |
| Creates a new file output stream with a file name. | |
| xmlcpgFileOutputStream * | xmlcpgnewFileOutputStreamFD (int fd) |
| Creates a new file output stream with a file descriptor. | |
| void | xmlcpgdeleteFileOutputStream (xmlcpgFileOutputStream *os) |
| Destroys the output stream. | |
| int | xmlcpgisFileOutputStream (const xmlcpgFileOutputStream *os) |
| Tells if the the object is a file output stream. | |
| int | xmlcpggetFileOutputStreamFD (const xmlcpgFileOutputStream *os) |
| Gets the file output stream file descriptor. | |
| int | xmlcpggetFileOutputStreamEOS (const xmlcpgFileOutputStream *os) |
| Tests the end of stream indicator of the output stream. | |
| int | xmlcpgflushFileOutputStream (xmlcpgFileOutputStream *os) |
| Flushes the output stream. | |
| int | xmlcpgwriteFileOutputStreamChar (xmlcpgFileOutputStream *os, int c) |
| Writes a character to the output stream. | |
| int | xmlcpgwriteFileOutputStream (xmlcpgFileOutputStream *os, const void *ptr, int nb) |
| Writes some bytes of data to the location pointed by ptr. | |
| int | xmlcpgcloseFileOutputStream (xmlcpgFileOutputStream *os) |
| Closes the output stream. | |
| int | xmlcpggetFileOutputStreamError (const xmlcpgFileOutputStream *os) |
| Tests the error indicator of the output stream. | |
| const char * | xmlcpggetFileOutputStreamErrorString (const xmlcpgFileOutputStream *os) |
| Gets the string describing the error. | |
|
|
Closes the output stream.
|
|
|
Destroys the output stream. The stream must be closed before with the xmlcpgcloseFileOutputStream function.
|
|
|
Flushes the output stream.
|
|
|
Tests the end of stream indicator of the output stream.
|
|
|
Tests the error indicator of the output stream.
|
|
|
Gets the string describing the error.
|
|
|
Gets the file output stream file descriptor.
|
|
|
Tells if the the object is a file output stream.
|
|
|
Creates a new file output stream with a file descriptor.
|
|
|
Creates a new file output stream with a FILE stream.
|
|
|
Creates a new file output stream with a file name.
|
|
||||||||||||||||
|
Writes some bytes of data to the location pointed by ptr.
|
|
||||||||||||
|
Writes a character to the output stream.
|
1.2.18