Looking for C source code for snprintf()

前端 未结 3 1022
耶瑟儿~
耶瑟儿~ 2021-01-19 16:08

I need to port snprintf() to another platform that does not fully support GLibC.

I am looking for the underlying declaration in the Glibc 2.14 source code. I follow

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-19 16:52

    http://www.ijs.si/software/snprintf/ has what they claim is a portable implementation of snprintf, including vsnprintf.c, asnprintf, vasnprintf, asprintf, vasprintf. Perhaps it can help.

提交回复
热议问题