littlekernel / lk

LK embedded kernel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[libc][printf] limited number of characters support

milisarge opened this issue · comments

Need to add printing feature limited number of char from a string, such as printf("%.*s\n", 5, mystr); or printf("first 5 chars only: %.5s\n", mystr)