简体   繁体   English

是C89中的strtok吗?

[英]Is strtok in C89?

标准C89中的strtok功能吗?

the man page says: 手册页中说:

CONFORMING TO
       strtok()
              SVr4, POSIX.1-2001, 4.3BSD, C89, C99.

       strtok_r()
              POSIX.1-2001.

So I would say yes. 所以我会说是的。

According to the C89 draft I have (the actual standard costs money), the appropriate section is: 根据我拥有的C89草案(实际标准需要花钱),相应的部分是:

4.11 STRING HANDLING <string.h> 4.11字符串处理<string.h>

4.11.5.8 The strtok function 4.11.5.8 strtok功能

There are lists enumerating functions and other identifiers by standard and header. 有一些列表按标准和标题枚举函数和其他标识符。 See eg http://www.schweikhardt.net/identifiers.html 参见例如http://www.schweikhardt.net/identifiers.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM