libowfat_fmt_utf8 man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

fmt_utf8(3)							   fmt_utf8(3)

NAME
       fmt_utf8 - encode 31-bit unsigned integer using UTF-8 rules

SYNTAX
       #include <fmt.h>

       size_t fmt_utf8(char *dest,uint32_t source);

DESCRIPTION
       fmt_utf8 encodes a 31-bit unsigned integer using the UTF-8 rules.  This
       can take from 1 byte (0-0x7f) up	 to  5	bytes  (0x4000000-0x7fffffff).
       Values larger than 0x7fffffff cannot be represented in this encoding.

       If  dest	 equals FMT_LEN (i.e. is NULL), fmt_utf8 returns the number of
       bytes it would have written.

       For convenience, fmt.h defines the integer FMT_UTF8 to be big enough to
       contain every possible fmt_utf8 output.

SEE ALSO
       scan_utf8(3)

								   fmt_utf8(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net