Author Topic: strtok() manpage  (Read 2445 times)

0 Members and 1 Guest are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
strtok() manpage
« on: November 19, 2005, 03:37:16 pm »
I've always love this man-page.  I figured i'd share it:

Quote
       Never use these functions. If you do, note that:

              These functions modify their first argument.

              These functions cannot be used on constant strings.

              The identity of the delimiting character is lost.

              The  strtok()  function  uses a static buffer while
              parsing, so it's not thread safe. Use strtok_r() if
              this matters to you.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: strtok() manpage
« Reply #1 on: November 19, 2005, 03:55:02 pm »
Haha, that is pretty good :D