Re: [PATCH v9 1/8] git-compat-util: add strtoul_ul() with error handling

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

 



On Wed, Jan 8, 2025 at 7:38 PM Eric Ju <eric.peijian@xxxxxxxxx> wrote:

> +// Converts a string to an unsigned long using the standard library's strtoul,
> +// with additional error handling to ensure robustness.

We use comments like this:

/*
 * Converts a string to an unsigned long using the standard library's strtoul,
 * with additional error handling to ensure robustness.
 */

Also we use the imperative mood in comments before a function, so:

s/Converts/Convert/





[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