O'Reilly logo
  • Mickey Malone thinks this is interesting:

Note

The results returned from inet_ntoa(3) are valid only until the next call to this function.

Caution

Due to the limitation given in the previous note, if you use this function in threaded code, you must make certain that only one thread at a time calls this function. Failure to heed this advice will result in returned results being overwritten by other threads.