Hello,can someone please tell me how to turn something that is C_Stringp into either (1) A NULL terminated C string or (2) A buffer of chars plus the number of chars in the buffer? from what i can tell by the docs it seems that a C_string is not null terminated. i could deal with that except i dont know how to determine its length.

if ( C_truep(C_blockp(w)) && C_truep( C_Stringp( w ) )) {
  int len = ???
  char* buf = ???
}


thanks for any help,
        --rick



_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to