Re: [PATCH] path-list documentation: document all functions and data structures

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

 



Miklos Vajna a écrit :
> 
> +. Allocates and clears (`memset(&list, \'\0', sizeof(list));`) a
> +  `struct path_list` variable.

What about just `memset(&list, 0, sizeof(list))` instead?

It's readable in the text format, clean in html and this is the way
memset() is used.

Olivier.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux