20:38:42drmeisterWith Common Lisp CFFI - what is the idiomatic way to allocate an array of characters that I can pass a pointer to a function that will fill it with a zero terminated string. I know the maximum length of the zero-terminated string.
20:43:00drmeisterThere is also foreign-string-alloc/foreign-string-free
20:43:10lacedaemonwith-foreign-pointer-as-string will do that, see the example in https://common-lisp.net/project/cffi/manual/html_node/with_002dforeign_002dpointer_002das_002dstring.html