#define SCNdLEAST16 "d" 

decimal scanf format for int_least16_t