delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/10/17/14:42:23

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Date: Mon, 17 Oct 2011 20:41:43 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: I need strtok_r() function
In-reply-to: <bf04ff58-89d4-46fe-aaf4-ad5a07eaf8ff@k35g2000yqh.googlegroups.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp AT delorie DOT com
Message-id: <8339erwjdk.fsf@gnu.org>
References: <bf04ff58-89d4-46fe-aaf4-ad5a07eaf8ff AT k35g2000yqh DOT googlegroups DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: RayeR <glaux AT centrum DOT cz>
> Date: Mon, 17 Oct 2011 10:50:22 -0700 (PDT)
> 
> I'm playing with compiling the x264 encoder and fixes on sources are
> almost done but now I need
> char *strtok_r(char *s1, const char *s2, char **s3);
> function to final compile. It seems that djgpp string.h and libc is
> outdated and missing it. Could someone provide a piece of code for
> this function thar will compile in DJGPP? Or even better if there is
> still somebody maintaining the libc could make an update?

Just use strtok.  There are no reentrancy issues with DJGPP, since
it's all single-threaded.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019