mtext_ncat(3m17n)
β¨ mtext_ncat β¨
okay bestie, welcome to mtext_ncat(3m17n) from The m17n Library β yes it's a section 3 man page, yes we're gonna make it cute, no we are NOT skipping a single detail π
πΈ NAME πΈ
mtext_ncat β literally just the name, the original leaves the description blank so I'm leaving it blank too, we respect the source material in this house π«Ά
π¦ SYNOPSIS π¦
MText* mtext_ncat (MText * mt1, MText * mt2, int n)
π DESCRIPTION π
so the vibe here is: append a part of an M-text to another. iconic behavior, honestly.
The mtext_ncat() function appends the first n characters of M-text mt2 to the end of M-text mt1 while inheriting all the text properties. every single one. no crumbs left behind π
If the length of mt2 is less than n, all characters are copied. like, she'll take what she can get, she's not greedy π
mt2 is not modified. she's just the donor, she stays exactly as she was. no cap π§
β¨ RETURN VALUE β¨
- If the operation was successful,
mtext_ncat()returns a pointer to the resulting M-textmt1. slay π - If an error is detected, it returns
NULLand assigns an error code to the global variablemerror_code. π not themerror_codejump scare
π ERRORS π
MERROR_RANGE
π SEE ALSO π
mtext_cat()mtext_cat_char()
π 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, every flag, every default, every error code, all of it present and accounted for π«Ά
Version 1.8.4 Β· Mon Sep 25 2023 β that's the tea, mwah πβ¨
π¦ 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