bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Man pages for curs_inwstr


From: Jim Idle
Subject: Man pages for curs_inwstr
Date: Mon, 15 Mar 2004 14:07:29 -0800

 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.

Jim

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.618 / Virus Database: 397 - Release Date: 3/9/2004
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]