currently pic_file don't support _IONBF mode

This commit is contained in:
Yuichi Nishiwaki 2014-01-16 19:49:41 +09:00
parent 5ee9539e9b
commit a5f478a7d5
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ int
pic_setvbuf(pic_file *file, char *buf, int mode, size_t bufsiz) pic_setvbuf(pic_file *file, char *buf, int mode, size_t bufsiz)
{ {
/* FIXME: free old buf */ /* FIXME: free old buf */
assert(mode != _IONBF); /* FIXME: support IONBF */
file->mode = mode; file->mode = mode;
if (buf) { if (buf) {