A mystery with the es_statfs_t online documentation

https://developer.apple.com/documentation/endpointsecurity/es_statfs_t

It seems like the online documentation for es_statfs_t is based on the 32-bit statfs API while the 64-bit statfs API is actually used.

Am I missing something?

This is likely just an artefact of the way that the docs are built. However, the only reference to es_statfs_t in the latest macOS SDK is:

/**
 * This typedef is no longer used, but exists for API backwards compatibility.
 */
typedef struct statfs es_statfs_t;

so I’m not going to lose a lot of sleep about this (-:

IMO the right thing to do here would be to remove es_statfs_t from the docs entirely. But that’s just my opinion. I recommend that you file a bug against the docs with yours (-:

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

A mystery with the es_statfs_t online documentation
 
 
Q