bugAVR C Runtime Library - Bugs: bug #23409, Provide an implementation for...

 
 

bug #23409: Provide an implementation for strtok()

Submitted by:  Joerg Wunsch <joerg_wunsch>
Submitted on:  Wed 28 May 2008 01:06:49 PM UTC  
 
Category: LibrarySeverity: 1 - Wish
Priority: 3 - LowItem Group: libc code
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: AnyFixed Release: 1.7.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 28 May 2008 01:06:49 PM UTC, original submission:

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);
}

Joerg Wunsch <joerg_wunsch>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arcanum (Updated the item)
  • -unavailable- added by joerg_wunsch (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 20 Aug 2008 03:27:59 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.7.0
    Mon 11 Aug 2008 02:49:36 AM UTCarcanumPriority5 - Normal=>3 - Low

    Back to the top


    Powered by Savane 3.1-cleanup1