Finding, Reading, and Selecting File and Directory Metadata
摘要
The Linux ls utility program is a powerful tool that lists the contents of a Linux directory in alphanumeric order. Listing 14-1 shows a C implementation of the algorithm and Listing 14-2 shows an x64 assembly language implementation.