Glibc Support For Statx Is Finally Under Review

Written by Michael Larabel in GNU on 4 July 2018 at 12:11 AM EDT. 12 Comments
GNU --
Red Hat developer Florian Weimer sent out a patch this week adding the statx function to the GNU C Library (glibc).

Statx is the new system call introduced several kernel releases ago and while it's been in the kernel for over a year and picked up by the key Linux file-systems, statx() support is finally being added to Glibc.

As a refresher, the statx system call is designed to provide enhanced file statistics like details on a file's creation time, data version number, and other new attributes depending upon what is supported by the underlying file-system. Statx also provides better compatibility with BSD's stat, additional coherency data, and other benefits. You can learn more about statx via the man page.

Now for C programmers it will be easier to utilize statx with support for it being available via this patch in Glibc on the mailing list that hopefully will soon be merged to mainline, hopefully in time for Glibc 2.28.
Related News
About The Author
Author picture

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week