[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    work6 - setvbuf
From:       David Burgess <dburgess () gmail ! com>
Date:       2005-05-25 0:42:02
Message-ID: d010fc8a05052417427cffc0fc () mail ! gmail ! com
[Download RAW message or body]

The addition of setvbuf to liolib.c is welcome, however can we
have an extra parameter to specifiy the buffer size?

liolib.c 421
-  return pushresult(L, setvbuf(f, NULL, mode[op], 0) == 0, NULL);

+  return pushresult(L, setvbuf(f, NULL, mode[op], 
+  luaL_optinteger(L,3,0)) == 0, NULL);

DB


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic