summaryrefslogtreecommitdiff
path: root/src/wchar/fwide.c
blob: a1401a42ef12292c1de7209e924d5abf4f2680c0 (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 "nonstd/io.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)
*/