strtok_r for MinGW

后端 未结 4 1942
独厮守ぢ
独厮守ぢ 2020-12-11 16:28

strtok_r is the reentrant variant of strtok. It is POSIX-conformant. However, it is missing from MinGW, and I\'m trying to compile a program that is using it.

Is the

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-11 16:39

    MINGW has no implementation of strtok_r. However you can find a thread-safe implementation in the link below:

    http://www.raspberryginger.com/jbailey/minix/html/strtok__r_8c-source.html

提交回复
热议问题