|
libfru 3.1.0.g6643c5c
FRU Manupulation Library
|
Various utility definitions, not directly related to FRU. More...
Macros | |
| #define | FRU_ARRAY_SZ(a) |
| A convenience macro to get the size of an array in elements. | |
Functions | |
| int16_t | fru_hex2byte (const char *hex) |
| Convert 2 first bytes of hex string into a binary byte. | |
Various utility definitions, not directly related to FRU.
| #define FRU_ARRAY_SZ | ( | a | ) |
A convenience macro to get the size of an array in elements.
| int16_t fru_hex2byte | ( | const char * | hex | ) |
Convert 2 first bytes of hex string into a binary byte.
This is just a convenience utility function, not directly related to FRU.
| -1 | An error occured. See fru_errno |