Copyright Digital Equipment Corp. All rights reserved.

Return_Values

   > 0                After the call, the stream is wide-oriented.
   < 0                After the call, the stream is byte-oriented.
   0                  After the call, the stream has no orientation
                      or a stream argument is invalid; the function
                      sets errno.