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