addrlen + 1); if (addrp == NULL) /* Handle error */ ; memset(addrp, 0, addrlen + 1); if (getsockname ... have additional (nonstandard) fields in * the structure. */ memset(&name, 0…events) multicast groups. struct sockaddr_nl sa; memset(&sa, 0, sizeof(sa)); sa.nl_family ... sizeof(sa), &iov, 1, NULL, 0, 0 }; memset(&sa, 0, sizeof(sa)); sa.nl_familymemory manipulation functions (for example, memcpy (3), memset (3), stpcpy (3), strcpy (3), strncpymemory manipulation functions (for example, memcpy (3), memset (3), stpcpy (3), strcpy (3), strncpycontrol block buffer before use (see memset (3)). The control block buffer and the buffermemmove (3) Added in POSIX.1-2008 TC2 memset (3) Added in POSIX.1-2008 TC2 mkdir (2) mkdirat