alien>string ( c-ptr encoding -- string/f )
Factor handbook > C library interface > Passing data between Factor and C > C strings

Prev:malloc-string ( string encoding -- alien )


Vocabulary
alien.strings

Inputs and outputs
c-ptra c-ptr
encodingan encoding descriptor
string/fa string or f


Word description
Reads a null-terminated C string from the specified address with the given encoding.

See also
string>alien, malloc-string

Definition

GENERIC#: alien>string 1 ( c-ptr encoding -- string/f )


Methods