IF_NAMESIZE vs. IF_NAMESIZE+1

Viewed 1590

When I use IF_NAMESIZE (from net/if.h in libc implementations) as array size, should I use it as it is or with + 1 for \0 (null byte)?

char iface[IF_NAMESIZE];

or

char iface[IF_NAMESIZE + 1];

I see it using both ways across various open source projects.

1 Answers
Related