Skip to content
Snippets Groups Projects
Commit 865b7962 authored by Wren Turkal's avatar Wren Turkal
Browse files

Add implmentation for fwide posix function.

This function is used to set the orientation of a stream to either
byte-oriented or wchar-oriented.

More info on this function is here:
https://man7.org/linux/man-pages/man3/fwide.3p.html



This implementation only impmlemnts the manual switching and does
not yet guard against using a byte-oriented stream with wchar
functions and vice versa. Those step will come in additional
commits.

Signed-off-by: default avatarWren Turkal <wt@penguintechs.org>
parent c13ba648
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment