Page MenuHomeFreeBSD

man/man3: add stdbit.3
AcceptedPublic

Authored by fuz on Mon, Nov 10, 9:32 AM.
Tags
None
Referenced Files
F136848091: D53658.id.diff
Thu, Nov 20, 1:50 AM
F136847945: D53658.id166240.diff
Thu, Nov 20, 1:49 AM
F136847919: D53658.id166112.diff
Thu, Nov 20, 1:48 AM
F136847908: D53658.id166128.diff
Thu, Nov 20, 1:48 AM
F136846761: D53658.diff
Thu, Nov 20, 1:35 AM
Unknown Object (File)
Wed, Nov 19, 5:49 AM
Unknown Object (File)
Tue, Nov 18, 9:31 AM
Unknown Object (File)
Sun, Nov 16, 5:55 PM

Details

Reviewers
markj
adrian
Group Reviewers
manpages
Summary

This is the overview man page for the <stdbit.h> functions.
Individual man pages will follow in a later DR.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 68542
Build 65425: arc lint + arc unit

Event Timeline

fuz requested review of this revision.Mon, Nov 10, 9:32 AM

This is awesome!

share/man/man3/stdbit.3
4

The license block has blank comments at the top and bottom (before 1 and after 3).

11

The .Sh LIBRARY section is deprecated, .Lb libc now goes at the top of .Sh SYNOPSIS

  • stdbit.3: address ziaee's review comments
fuz marked 2 inline comments as done.
  • stdbit.3: remove - from \"-

English looks good to me. Can't speak to the rest.

kib added inline comments.
share/man/man3/stdbit.3
11

May be, 'Standard 2023 C bit and byte utilties'?

51
55
95

Why these (stdc_*) functions are listed in the 'SEE ALSO' section?
First, there is no separate man pages for each of them.
Second, isn't this man page is supposed to document them?

share/man/man3/stdbit.3
11

I don't see why it's important to point out that this header was added in C23. It's not like we say that anywhere else.

55

I would prefer to leave the sentence in, as it clarifies the behaviour on platforms where there are indeed other byte orders.
The new sentence is useful, I'll add that in.

95

D53659 adds man pages for all these functions. There are 70 functions and 14 type-generic macros in total, so I thought it would be more useful to have an individual page for each.

share/man/man3/stdbit.3
11

To direct people to where look for further reference about the functions.

95

Ok.

share/man/man3/stdbit.3
11

We usually handle this with a STANDARDS section

adrian added a subscriber: adrian.

looks good, maybe get a review from @ziaee too for manpage stuff and then land?

This revision is now accepted and ready to land.Tue, Nov 18, 3:03 PM