URL:
<http://savannah.nongnu.org/bugs/?23409>
Summary: Provide an implementation for strtok()
Project: AVR C Runtime Library
Submitted by: joerg_wunsch
Submitted on: Wednesday 05/28/2008 at 15:06
Category: Library
Severity: 1 - Wish
Priority: 5 - Normal
Item Group: libc code
Status: None
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Release: Any
Fixed Release: None
_______________________________________________________
Details:
The library offers strtok_r() but no strtok(). It ought to be
added just for completeness. The implementation is quite
simple:
/* copyright blah blah */
static char *p;
char *
strtok(char *s, const char *delim)
{
return strtok_r(s, delim, &p);
}
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?23409>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev