Figure out if a path corresponds to a macOS package.
- macOS 10.6+
Path to check.
Size of path buffer.
Set to index of start of last path component if the path is found to be a package. Set to -1 if the path is not a known package type.
0 unless some parameter was invalid, in which case EINVAL is returned. Determine package-ness by checking what *component is set to.
Determines if the extension on a path is a known macOS extension type.