开发者

Is strtok in C89?

开发者 https://www.devze.com 2023-02-15 11:13 出处:网络
Is the strtok function in standa开发者_如何转开发rd C89? the man page says: CONFORMING TO strtok()

Is the strtok function in standa开发者_如何转开发rd C89?


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:

4.11 STRING HANDLING <string.h>

     4.11.5.8 The strtok function


There are lists enumerating functions and other identifiers by standard and header. See e.g. http://www.schweikhardt.net/identifiers.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号