more controled use of `sprintf'

This commit is contained in:
Roberto Ierusalimschy
2000-10-20 14:36:32 -02:00
parent 2779ceeb12
commit 8b88ab07f7
3 changed files with 26 additions and 14 deletions

5
lzio.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lzio.h,v 1.5 1999/08/16 20:52:00 roberto Exp roberto $
** $Id: lzio.h,v 1.6 2000/05/24 13:54:49 roberto Exp roberto $
** Buffered streams
** See Copyright Notice in lua.h
*/
@@ -33,9 +33,12 @@ size_t zread (ZIO* z, void* b, size_t n); /* read next n bytes */
#define zname(z) ((z)->name)
/* --------- Private Part ------------------ */
#ifndef ZBSIZE
#define ZBSIZE 256 /* buffer size */
#endif
struct zio {
size_t n; /* bytes still unread */