Preprocessor macro expanding to an expression
| Space | User/kernel |
| Context | Sync/async/rt-irq |
| May block | No |
| SPL | Any |
| Dynamic memory | No |
#include <SYS/TYPES.H>
int e = __PTR_ERR(ptr) This macro converts an error code encoded in pointer with __ERR_PTR back to negative error code.
This macro returns a negative error code.