Convert a hexadecimal string to an integer efficiently in C? May 28, 2023 by Tarik You want strtol or strtoul. See also the Unix man page