类型 格式 注意事项
    ssize_t %zd
    size_t %zu
    intmax_t %jd
    uintmax_t %ju
    ptrdiff_t %t
    signed char %hhd
    unsigned char %hhu
    short int %hd
    unsigned short int %hu
    int %d
    unsigned int %u
    long int %ld
    unsigned long int %lu
    long long int %lld
    unsigned long long int %llu
    int32_t %PRId32 以下,#include
    uint32_t %PRIu32
    int64_t %PRId64
    uint64_t %PRIu64


    https://www.cnblogs.com/aspirant/p/3638510.html