Returns the amount of time remaining before a context expires.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+
A pointer to the secondary status result that provides additional information in case of failure.
The context to examine.
A pointer the function uses to return the number of seconds for which the context is valid. Returns 0 if the context is already expired.