#define SCNiLEAST16 "i" 

generic-integer scanf format for int_least16_t