#include <stdio.h>
Go to the source code of this file.
Typedefs | |
typedef xmlcpgFILEOUTPUTSTREAM | xmlcpgFileOutputStream |
The file output stream declaration. | |
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. |
|
The file output stream declaration.
|
|
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.
|