avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #23409] Provide an implementation for strtok()


From: Joerg Wunsch
Subject: [avr-libc-dev] [bug #23409] Provide an implementation for strtok()
Date: Wed, 28 May 2008 13:06:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]