Commit 9606af1
Add mach_error_string (and mach_error_t) (rust-lang#3913)
`mach_error_string` is defined in `/usr/include/mach/mach_error.h`
It is not referenced in the documentation Apple website.
```
char *mach_error_string(
/*
* Returns a string appropriate to the error argument given
*/
mach_error_t error_value
);
```
`mach_error_t` is defined in `/usr/include/mach/error.h`
https://developer.apple.com/documentation/kernel/mach_error_t
```
typedef kern_return_t mach_error_t;
```
(backport <rust-lang#3913>)
(cherry picked from commit d8ff07b)1 parent ccbcfbb commit 9606af1
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2020 | 2020 | | |
2021 | 2021 | | |
2022 | 2022 | | |
| 2023 | + | |
| 2024 | + | |
2023 | 2025 | | |
2024 | 2026 | | |
2025 | 2027 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
6330 | 6331 | | |
6331 | 6332 | | |
6332 | 6333 | | |
| 6334 | + | |
| 6335 | + | |
6333 | 6336 | | |
6334 | 6337 | | |
6335 | 6338 | | |
| |||
0 commit comments