#define SCNuLEAST16 "u" 

decimal scanf format for uint_least16_t