summaryrefslogtreecommitdiff
path: root/src/wchar/fwide.c
blob: 13c4d5f079ad12b1a4b8c774bf3e0114bb1a1c91 (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 "nonstd/assert.h"

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

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

/*
STDC(199409)
*/