Get the description of an error code
#include <pci/pci.h> const char * const pci_strerror( pci_err_t err );
The pci_strerror() function returns a string pointer for err. This function never returns NULL.
The err argument is of the enumerated type pci_err_t, defined in pci/pci.h. The meaning of specific error codes varies with the PCI API function from which they're returned; each function's reference describes the meanings of any possible errors.
A pointer to the description of the error.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |