Summary

In this chapter, you learned about the limitations of the simple atoi(3) family of functions. The sscanf(3) function was discussed as a better replacement, and it was noted that some limitations remain with that approach. The remainder of the chapter covered the details of the strtol(3), strtoul(3), and strtod(3) functions.

The next chapter covers the UNIX library calls for working with dates and times. There you will learn how each user can manage his own concept of a time zone, and the system manages time for everyone. Conversions from strings to dates and dates to strings

Get Advanced UNIX Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.