summaryrefslogtreecommitdiff
path: root/src/wchar/fwide.c
blob: 17da898b21370abd2426a238db40f614ad36dc73 (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)
*/