summaryrefslogtreecommitdiff
path: root/src/wchar/fwide.c
blob: 306998369b69cfa46412548d90a0945de820e249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <wchar.h>
#include <stdio.h>
#include "stdio/_stdio.h"
#include "_assert.h"

int fwide(FILE * stream, int mode)
{
	ASSERT_NONNULL(stream);

	if (stream->orientation == 0) {
		stream->orientation = mode;
	}
	return stream->orientation;
}

/*
STDC(199409)
*/