Re: Issue in man page getgrent.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Helge,

On Wed, Nov 01, 2023 at 02:02:10PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    NULL-terminated →  NUL-terminated

NUL would be wrong.  It is a pointer to an array of pointers to char,
of which the last contains a null pointer, which marks the end of the
array.

Cheers,
Alex

> 
> msgid ""
> "struct group {\n"
> "    char   *gr_name;        /* group name */\n"
> "    char   *gr_passwd;      /* group password */\n"
> "    gid_t   gr_gid;         /* group ID */\n"
> "    char  **gr_mem;         /* NULL-terminated array of pointers\n"
> "                               to names of group members */\n"
> "};\n"

-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux