Chapter 14. Extended Interfaces

In this chapter

  • 14.1 Allocating Aligned Memory: posix_memalign() and memalign() page 530

  • 14.2 Locking Files page 531

  • 14.3 More Precise Times page 543

  • 14.4 Advanced Searching with Binary Trees page 551

  • 14.5 Summary page 562

  • Exercises page 563

This chapter describes several extended APIs. The APIs here are similar in nature to those described earlier in the book or provide additional facilities. Some of them could not be discussed easily until after the prerequisite topics were covered.

The presentation order here parallels the order of the chapters in the first half of the book. The topics are not otherwise related to each other. We cover the following topics: dynamically allocating aligned memory; file locking; a number ...

Get Linux® Programming by Example 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.