<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">Last night Ted Roth wrote</font>
<br><font size=2 face="Courier New">        I also noticed that the strtok_r decl</font>
<br><font size=2 face="Courier New">        in nutos is different than that in</font>
<br><font size=2 face="Courier New">        avr-libc and linux.<br>
</font>
<br><font size=2 face="sans-serif">When I initially wrote STRTOK_R, STRSEP_R and STRSEP_RS quite a few years ago I was unaware of the existing function prototypes. (The net was not as big as it is today.)</font>
<br>
<br><font size=2 face="sans-serif">This is my dilemma. Do I modify these functions to fit in with the existing function prototypes, or do I leave it alone? The prototypes would change from</font>
<br><font size=2 face="Courier New">        char * strtok_r(  char ** pp_str, char * p_term );<br>
        char * strsep_r(  char ** pp_str, char * p_term );</font>
<br><font size=2 face="Courier New">        char * strsep_rs( char ** pp_str, char * p_term, char * p_sep );</font>
<br><font size=2 face="sans-serif">to</font>
<br><font size=2 face="Courier New">        char * strtok_r(  char * p_str, char * p_term, char ** p_save );<br>
        char * strsep_r(  char * p_str, char * p_term, char ** p_save );<br>
        char * strsep_rs( char * p_str, char * p_term, char ** p_save, char * p_sep );</font>
<br>
<br><font size=2 face="sans-serif">Changing it now would mean the minimum amount of code change to others as my version has been in circulation for less than two months.</font>
<br>
<br><font size=2 face="sans-serif">My feeling is my version should change to be the same as linux, qnx, mks, redhat, gnu, novell, etc.. However this may not be the best in the long term. The changes are not big.</font>
<br>
<br><font size=2 face="sans-serif">Your input, and especially Ted Roth's and Harald Kip's input, would be appreciated.</font>
<br>
<br><font size=2 face="sans-serif">Cheers,<br>
Peter Scandrett</font>