Re: [cc65] Re: cc65/C questions

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2006-09-14 08:53:55
On Wed, Sep 13, 2006 at 04:10:47PM -0700, Adam Thornton wrote:
> I missed the original question, but strtok() in libc is the classic
> function to do this; strsep is the newer way to do it.
>
> #include <string.h> to get either of them.

Beware: strsep is not ISO C, and cc65 does not implement it for this reason.
It's a BSDism, so I doubt it's available under Windows or other non Unix
operating systems.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Sep 14 08:54:03 2006

This archive was generated by hypermail 2.1.8 : 2006-09-14 08:54:06 CEST