convert-from-foreign-string — Converts a foreign string into a Lisp string.Macro
convert-from-foreign-string
foreign-string &key length null-terminated-p
=> string
foreign-string
A foreign string.
length
The length of the foreign string to convert. The
default is the length of the string until a NULL
character is reached.
null-terminated-p
A boolean flag with a default value of T
When true,
the string is converted until the first NULL
character is reached.
A Lisp string.