-# if defined __sun && defined _LP64 /* Solaris/{SPARC,AMD64} 64-bit */
-# define fp_ ((struct { unsigned char *_ptr; \
- unsigned char *_base; \
- unsigned char *_end; \
- long _cnt; \
- int _file; \
- unsigned int _flag; \
- } *) fp)
- return fp_->_flag & (_IONBF | _IOFBF);
-# else
-# if defined _SCO_DS /* OpenServer */
-# define _flag __flag
-# endif
- if (fp->_flag & _IONBF)