mconv_rebind_stream(3m17n)
β¨ NAME β¨
mconv_rebind_stream β okay bestie, this is the one that swaps out which stream your converter is vibing with π
πΈ SYNOPSIS πΈ
MConverter* mconv_rebind_stream (MConverter * converter, FILE * fp)
π¦ DESCRIPTION π¦
Bind a stream to a code converter. That's the whole gig, fr fr.
The mconv_rebind_stream() function binds stream fp to code converter converter. And then β and this is the part that matters β following decodings and encodings are done to/from this newly bound stream. So like, every decode and every encode after this call? Yeah, they're all talking to the fresh fp now. No cap. π
π RETURN VALUE π
This function always returns converter. Always always. It's giving "I have literally one job and I did it." π
π SEE ALSO π
mconv_rebind_buffer()β the buffer-flavoured sibling, go say hi π«Ά
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
And that's the whole page, bestie β m17n Library Version 1.8.4, dated Mon Sep 25 2023. Go rebind a stream, you absolute icon. π§π
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms