Welcome to the CHICKEN Scheme pasting service

get string part from buffer passed to C added by evhan on Sat Jun 23 14:57:00 2012

(define len (foreign_value SOME_MAX_STRING_LENGTH int))

(let ((str (make-string len)))
  ((foreign-lambda int get_string_from_c_library scheme-pointer unsigned-int) str len)
  (substring str 0 (string-index str #\\x00)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which R5RS procedure can be used to concatenate strings?
Visually impaired? Let me spell it for you (wav file) download WAV