antlr3filestream.h man page

include/antlr3filestream.h —

Synopsis

#include <antlr3defs.h>

Functions

ANTLR3_API void antlr3Fclose (ANTLR3_FDSC fd)
Close an operating system file and free any handles etc.
ANTLR3_API ANTLR3_FDSC antlr3Fopen (pANTLR3_UINT8 filename, const char *mode)
Open an operating system file and return the descriptor We just use the common open() and related functions here.
ANTLR3_API ANTLR3_UINT32 antlr3Fread (ANTLR3_FDSC fdsc, ANTLR3_UINT32 count, void *data)

ANTLR3_API ANTLR3_UINT32 antlr3Fsize (pANTLR3_UINT8 filename)

ANTLR3_API ANTLR3_UINT32 antlr3read8Bit (pANTLR3_INPUT_STREAM input, pANTLR3_UINT8 fileName)

Function Documentation

ANTLR3_API void antlr3Fclose (ANTLR3_FDSC fd)

Close an operating system file and free any handles etc.

References ANTLR3_API.

Referenced by antlr3read8Bit().

ANTLR3_API ANTLR3_FDSC antlr3Fopen (pANTLR3_UINT8 filename, const char * mode)

Open an operating system file and return the descriptor We just use the common open() and related functions here. Later we might find better ways on systems such as Windows and OpenVMS for instance. But the idea is to read the while file at once anyway, so it may be irrelevant.

References ANTLR3_API.

Referenced by antlr3read8Bit().

ANTLR3_API ANTLR3_UINT32 antlr3Fread (ANTLR3_FDSC fdsc, ANTLR3_UINT32 count, void * data)

Referenced by antlr3read8Bit().

ANTLR3_API ANTLR3_UINT32 antlr3Fsize (pANTLR3_UINT8 filename)

References _stat, and ANTLR3_API.

Referenced by antlr3read8Bit().

ANTLR3_API ANTLR3_UINT32 antlr3read8Bit (pANTLR3_INPUT_STREAM input, pANTLR3_UINT8 fileName)

References ANTLR3_API, ANTLR3_ERR_NOFILE, ANTLR3_ERR_NOMEM, ANTLR3_MALLOC, ANTLR3_SUCCESS, ANTLR3_TRUE, antlr3Fclose(), antlr3Fopen(), antlr3Fread(), antlr3Fsize(), ANTLR3_INPUT_STREAM_struct::data, ANTLR3_INPUT_STREAM_struct::isAllocated, and ANTLR3_INPUT_STREAM_struct::sizeBuf.

Referenced by antlr3CreateFileStream().

Author

Generated automatically by Doxygen for ANTLR3C from the source code.

Referenced By

antlr3Fclose(3), antlr3Fopen(3), antlr3Fread(3), antlr3Fsize(3) and antlr3read8Bit(3) are aliases of antlr3filestream.h(3).

Tue Oct 4 2016 Version 3.3.1 ANTLR3C