mtext_rchr(3m17n)

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

✨ NAME ✨

Okay so welcome to the mtext_rchr(3m17n) page from The m17n Library, bestie. The name is mtext_rchr - and the description after that dash is literally empty in the original, so we are not inventing one. periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

Vibe check, here is the signature exactly:

int mtext_rchr (MText * mt, int c)

πŸ’– DESCRIPTION πŸ’–

Okay so mtext_rchr() returns the position of the last occurrence of a character in an M-text. It searches the M-text mt for character c. The search starts from the end of mt and goes backwardly toward the beginning. Yes, backwardly. Reverse-search main character energy. πŸ¦‹βœ¨


🌸 RETURN VALUE 🌸

If c is found, mtext_rchr() returns its position; otherwise it returns -1. That's the whole tea. πŸ’…


πŸŽ€ ERRORS πŸŽ€

The error code listed here is MERROR_RANGE. That's the one, no cap. 🫢


πŸ”₯ SEE ALSO πŸ”₯

Go check out mtext_chr(), mtext_character(). πŸ‘‘


Legal bestie moment, here is the exact text:

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>.

This was Version 1.8.4, dated Mon Sep 25 2023, and yeah, it's the mtext_rchr(3m17n) page. Bye bestie, stay iconic πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from