Print this page
5956 orientate is not a word
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Marcel Telka <marcel@telka.sk>


  69  * _NO_MODE     if iop has been bound to neither Wide nor Byte
  70  */
  71 extern _IOP_orientation_t       _getorientation(FILE *);
  72 
  73 /*
  74  * DESCRIPTION:
  75  * This function/macro sets the orientation to the specified iop.
  76  *
  77  * INPUT:
  78  * flag may take one of the following:
  79  *      _WC_MODE        Wide orientation
  80  *      _BYTE_MODE      Byte orientation
  81  *      _NO_MODE        Unoriented
  82  */
  83 extern void     _setorientation(FILE *, _IOP_orientation_t);
  84 
  85 /*
  86  * From page 32 of XSH5
  87  * Once a wide-character I/O function has been applied
  88  * to a stream without orientation, the stream becomes
  89  * wide-orientated.  Similarly, once a byte I/O function
  90  * has been applied to a stream without orientation,
  91  * the stream becomes byte-orientated.  Only a call to
  92  * the freopen() function or the fwide() function can
  93  * otherwise alter the orientation of a stream.
  94  */
  95 
  96 #define _SET_ORIENTATION_BYTE(iop) \
  97 { \
  98         if (GET_NO_MODE(iop)) \
  99                 _setorientation(iop, _BYTE_MODE); \
 100 }
 101 
 102 #endif  /* _MSE_H */


  69  * _NO_MODE     if iop has been bound to neither Wide nor Byte
  70  */
  71 extern _IOP_orientation_t       _getorientation(FILE *);
  72 
  73 /*
  74  * DESCRIPTION:
  75  * This function/macro sets the orientation to the specified iop.
  76  *
  77  * INPUT:
  78  * flag may take one of the following:
  79  *      _WC_MODE        Wide orientation
  80  *      _BYTE_MODE      Byte orientation
  81  *      _NO_MODE        Unoriented
  82  */
  83 extern void     _setorientation(FILE *, _IOP_orientation_t);
  84 
  85 /*
  86  * From page 32 of XSH5
  87  * Once a wide-character I/O function has been applied
  88  * to a stream without orientation, the stream becomes
  89  * wide-oriented.  Similarly, once a byte I/O function
  90  * has been applied to a stream without orientation,
  91  * the stream becomes byte-oriented.  Only a call to
  92  * the freopen() function or the fwide() function can
  93  * otherwise alter the orientation of a stream.
  94  */
  95 
  96 #define _SET_ORIENTATION_BYTE(iop) \
  97 { \
  98         if (GET_NO_MODE(iop)) \
  99                 _setorientation(iop, _BYTE_MODE); \
 100 }
 101 
 102 #endif  /* _MSE_H */