Content-type: text/html; charset=UTF-8 Man page of GRAPHEME_TO_TITLECASE_UTF8

GRAPHEME_TO_TITLECASE_UTF8

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
suckless.org  

NAME

grapheme_to_titlecase_utf8 - convert UTF-8-encoded string to titlecase  

SYNOPSIS

In grapheme.h Ft size_t Fn grapheme_to_titlecase_utf8 const char *src size_t srclen char *dest size_t destlen  

DESCRIPTION

The Fn grapheme_to_titlecase_utf8 function converts the UTF-8-encoded string str to titlecase and writes the result to dest up to destlen unless dest is set to NULL

If srclen is set to SIZE_MAX (stdint.h is already included by grapheme.h) the UTF-8-encoded string src is interpreted to be NUL-terminated and processing stops when a NUL-byte is encountered.

For non-UTF-8 input data grapheme_to_titlecase3 can be used instead.  

RETURN VALUES

The Fn grapheme_to_titlecase_utf8 function returns the number of bytes in the array resulting from converting src to titlecase, even if destlen is not large enough or dest is NULL  

SEE ALSO

grapheme_to_titlecase3, libgrapheme(7)  

STANDARDS

Fn grapheme_to_titlecase_utf8 is compliant with the Unicode 15.0.0 specification.  

AUTHORS

An Laslo Hunhold Aq Mt dev@frign.de


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
STANDARDS
AUTHORS

This document was created by man2html, using the manual pages.
Time: 06:27:21 GMT, December 21, 2024