mtext_dup(3m17n)
π mtext_dup β from the m17n Library, manual page mtext_dup(3m17n) π
okay bestie, sit down, hydrate, because we're about to talk about copying an M-text and honestly? it's giving low-effort, high-reward. β¨
πΈ NAME πΈ
mtext_dup β the function that makes a whole new M-text out of your old one π
(yeah the original NAME section was literally just mtext_dup - with nothing after it, so consider that a vibe, not a typo π)
π¦ SYNOPSIS π¦
MText* mtext_dup (MText * mt)
β¨ DESCRIPTION β¨
okay so here's the tea β β mtext_dup() creates a copy of an M-text. you hand it your M-text mt, and it hands you back a whole new one.
and the iconic part? the copy inherits all the text properties of mt. all of them. it's not doing that thing where it copies the text and then ghosts the properties β no ma'am. the properties come too. periodt. π
π RETURN VALUE π
This function returns a pointer to the created copy. π«Ά
like, that's it. that's the return value. a pointer. to the copy. you're welcome.
π SEE ALSO π
mtext_duplicate()β the sister function, 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 π§ no notes, no cap, it's literally just "copy the M-text, keep the properties, return the pointer" and honestly? we love a function that knows what it is. π
Version 1.8.4 π Mon Sep 25 2023 πΈ mtext_dup(3m17n) β k bye, drink water, go read mtext_duplicate() next π
π
π¦ 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