寻找strtok的实施 [英] looking for implementation of strtok
问题描述
在推出我的
之前,有没有人能指出我在C中的实现。
thx
magicman写道:
任何人都可以在我滚动之前指出我在C中的实现
拥有。
thx
1ste Google结果:
http://www.openbsd.org/cgi-bin/cvswe...-cvsweb-markup
- Jensen
4月19日下午5:27,Jensen Somers< jensen.som ... @ gmail.comwrote:
magicman写道:
在我滚动我的
之前,任何人都可以指出我在C中的实现。
thx
1ste Google结果: http://www.openbsd.org/cgi-bin /cvswe...ng/strtok.c?re ...
- Jensen
什么s [-1] = 0;在实现中意味着什么?
magicman写道:
>
can在推出我自己的b $ b之前,有人指出我在C中的实现。
为什么? strtok()是标准C库的一部分,应始终
可用。
7.21.5.8 strtok函数
>
概要
[#1]
#include< string.h>
char * strtok(char * restrict s1 ,
const char * restrict s2);
-
[mail]:Chuck F(cinefalconer at maineline dot net )
[page]:< http://cbfalconer.home.att.net>
尝试下载部分。
**发布于 http://www.teranews.com **
can anyone point me out to its implementation in C before I roll my
own.
thx
magicman wrote:can anyone point me out to its implementation in C before I roll my
own.
thx1ste Google result:
http://www.openbsd.org/cgi-bin/cvswe...-cvsweb-markup
- Jensen
On Apr 19, 5:27 pm, Jensen Somers <jensen.som...@gmail.comwrote:magicman wrote:can anyone point me out to its implementation in C before I roll my
own.
thx
1ste Google result:http://www.openbsd.org/cgi-bin/cvswe...ng/strtok.c?re...
- Jensenwhat does s[-1] = 0; in the implementation mean?
magicman wrote:>
can anyone point me out to its implementation in C before I roll
my own.Why? strtok() is part of the standard C library, and should always
be available.
7.21.5.8 The strtok function
Synopsis
[#1]
#include <string.h>
char *strtok(char * restrict s1,
const char * restrict s2);
--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
** Posted from http://www.teranews.com **
这篇关于寻找strtok的实施的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!