Handbook
Glossary
(wcread) ( n encoding window-ptr -- string )
Vocabulary
curses
.
private
Inputs
n
an
object
encoding
an
object
window-ptr
an
object
Outputs
string
an
object
Definition
USING:
alien.strings
curses.ffi
destructors
libc
math
;
IN:
curses.private
::
(wcread)
( n encoding window-ptr -- string )
[
n 1
+
malloc
&free
:>
str window-ptr str n
wgetnstr
curses-error
str encoding
alien>string
]
with-destructors
;
inline