mconv_rebind_stream(3m17n)

πŸ“¦
version 1.8.4 Β· 2 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 (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