Stefan,
^^^^^^^^^^^^^^^^ that is not read only copy. you can not write into it. replace it withint main(int argc, char* argv[]) { char *c = "whats:your:name:buddy?";
char *c = strdup("whats:your:name:buddy?");
(void*)mystrsep(&c, ":"); }
and it should work. thanks, max _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"