Page MenuHomeFreeBSD

style.9: update C99 commentary
ClosedPublic

Authored by emaste on Feb 12 2020, 2:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 20, 3:23 AM
Unknown Object (File)
Wed, Sep 17, 4:32 AM
Unknown Object (File)
Sep 5 2025, 2:55 AM
Unknown Object (File)
Aug 27 2025, 3:48 PM
Unknown Object (File)
Aug 27 2025, 12:57 PM
Unknown Object (File)
Aug 27 2025, 10:06 AM
Unknown Object (File)
Aug 14 2025, 4:31 AM
Unknown Object (File)
Jul 29 2025, 4:53 AM
Subscribers

Details

Summary

Make style.9 read as a current statement about C99 preferences, rather than a description of ongoing changes to our preferred style. Also use the short form "C99" on the 2nd and later instances rather than repeating the unwieldy ISO/IEC 9899:1999 ("ISO C99").

MFC after: 1 month

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 12 2020, 2:56 PM

I think the .St -isoC-99 is better than a raw C99. Otherwise, I like the prefers.

share/man/man9/style.9
305 ↗(On Diff #68187)

you changed it below, but not here. why?

share/man/man9/style.9
305 ↗(On Diff #68187)

I believe it's important to include the full name of the standard at least once, but it gets excessive to repeat the whole thing every time. .St -isoC-99 renders as ISO/IEC 9899:1999 ("ISO C99"); IMO it's completely reasonable to use the short form after it's introduced.

Maybe the subsequent ones should be ISO C99 though, matching the parenthetical short form.

I vote for using the parenthetical.

I'm cool with the parenthetical form.

This revision was automatically updated to reflect the committed changes.