Yes, it's ok. Posix says that printf field widths are specified in number of bytes.
I've never red nothing about POSIX, but imho, in the past, "char" and "byte" was synonymous
maybe last POSIX definitions are very old...
Yes, it's ok. Posix says that printf field widths are specified in number of bytes.
I've never red nothing about POSIX, but imho, in the past, "char" and "byte" was synonymous
maybe last POSIX definitions are very old...