sys-utfbytes man page on Inferno

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

SYS-UTFBYTES(2)						       SYS-UTFBYTES(2)

NAME
       utfbytes	 -  compute UTF length of complete Unicode characters in a UTF
       byte sequence

SYNOPSIS
       include "sys.m";
       sys := load Sys Sys->PATH;

       utfbytes: fn(buf: array of byte, n: int): int;

DESCRIPTION
       Utfbytes examines the n-byte UTF sequence in buf and returns the number
       of  bytes  representing complete Unicode characters.  The value will be
       less than n when the region  inspected  ends  with  an  incomplete  UTF
       sequence.

DIAGNOSTIC
       A bounds check error results if n exceeds the length of the array.

SEE ALSO
       sys-intro(2), sys-byte2char(2), utf(6)

							       SYS-UTFBYTES(2)
[top]

List of man pages available for Inferno

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