|
Subtract 4 from a given number writen in hexadecimal.
-
Author:
-
Denis BEURIVE
-
Parameters:
-
haddr |
Pointer to a zero terminated string of characters that represents the number writen in hexadecimal base. |
-
Returns:
-
The function returns a pointer to "haddr". The string "haddr" now represents the value "haddr-4".
-
Warning:
-
This function modifies the content of the string pointed by "haddr"). If macro "USE_PLUGINS" is defined, then the function returns a pointer to a statically allocated buffer. Otherwize, the function returns "haddr" itself.
-
Remarks:
-
This function should be used to calculate the MAC address of an HITACHI modem.
Definition at line 97 of file hitachi.c.
References minus1(), and minus4(). |