lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


David Burgess <dburgess <at> gmail.com> writes:
> if closing stdin/stderr/stdout I would have thought the friendly
> thing to do would be to assign it to NULL,
> 
> fclose(stdin);
> stdin=NULL;

Rici mentioned this isn't standard C.  Actually, on VC2005, it gives this error:

  st.c(7) : error C2106: '=' : left operand must be l-value