You need to sign in or sign up before continuing.
Use snprintf() to be safe.
I _think_ NAME_MAX is indeed the max, unlike the notorious trap of PATH_MAX, but as we already have the buffer's length calculated...
parent
d9e3c9e9
Please register or sign in to comment