[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Man pages for curs_inwstr
From: |
Thomas Dickey |
Subject: |
Re: Man pages for curs_inwstr |
Date: |
Mon, 15 Mar 2004 19:03:54 -0500 (EST) |
On Mon, 15 Mar 2004, Jim Idle wrote:
> The man pages seem to deal in bytes, rather than wchar_t s:
>
> Transfer stops at the end of the current line,
> or when n bytes have been stored at the location
> referenced by wstr.
>
> If the size n is not large enough to store a complete
> character, an error is generated.
>
> The n parameter supplied to these routines should be the number of wchar_t s
> that are available. Then if there are any surrogate pairs that are generated
> (two wchar_t characters needed for the one character) then it can deal with
> them.
>
> Probably just the man page wants updating I guess.
yes - too much cut/paste (thanks).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net