# lzio.c File Reference

`#include <string.h>`
`#include "lua.h"`
`#include "llimits.h"`
`#include "lmem.h"`
`#include "lstate.h"`
`#include "lzio.h"`

## Defines
#define | lzio_c
#define | LUA_CORE
## Functions
int | luaZ_fill (ZIO *z)
int | luaZ_lookahead (ZIO *z)
void | luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data)
size_t | luaZ_read (ZIO *z, void *b, size_t n)
char * | luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n)

## Define Documentation

#define LUA_CORE

#define lzio_c

## Function Documentation

int luaZ_fill | ( | ZIO * | z | ) |

void luaZ_init | ( | lua_State * | L,
|  | ZIO * | z,
|  | lua_Reader | reader,
|  | void * | data |
| ) |  |  |

int luaZ_lookahead | ( | ZIO * | z | ) |

char* luaZ_openspace | ( | lua_State * | L,
|  | Mbuffer * | buff,
|  | size_t | n |
| ) |  |  |

size_t luaZ_read | ( | ZIO * | z,
|  | void * | b,
|  | size_t | n |
| ) |  |  |