Skip to content

RFC Various patches to system_data_types(7)

Alejandro Colomar linux-man 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest37 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/37stat.2, system_data_types.7: Document 'struct stat' in system_data_types(7)man2/stat.2 man7/system_data_types.7+144 -1400 replies
2/37stat-struct.3: New link to system_data_types(7)man3/stat-struct.3+1 -00 replies
3/37aiocb-struct.3, lconv-struct.3, sigevent-struct.3, sigval-union.3, sockaddr-struct.3, timespec-struct.3, timeval-struct.3: Rename some links to system_data_types.7 to add -{struct,union} suffixman3/aiocb-struct.3 man3/lconv-struct.3 man3/sigevent-struct.3 +4 more+1 -00 replies
4/37system_data_types.7: Link to the stat structure definitionman7/system_data_types.7+17 -50 replies
5/37system_data_types.7: ssize_t: Note that some headers only provide the type since POSIX.1-2008man7/system_data_types.7+9 -00 replies
6/37system_data_types.7: Document useconds_tman7/system_data_types.7+29 -00 replies
7/37useconds_t.3: New link to system_data_types(7)man3/useconds_t.3+1 -00 replies
8/37usleep.3: Remove incorrect portability noteman3/usleep.3+1 -180 replies
9/37aiocb-struct.3, system_data_types.7: Move text to a separate pageman3/aiocb-struct.3 man7/system_data_types.7+31 -350 replies
10/37blkcnt_t.3, system_data_types.7: Move text to a separate pageman3/blkcnt_t.3 man7/system_data_types.7+20 -210 replies
11/37blksize_t.3, system_data_types.7: Move text to a separate pageman3/blksize_t.3 man7/system_data_types.7+20 -210 replies
12/37cc_t.3, system_data_types.7: Move text to a separate pageman3/cc_t.3 man7/system_data_types.7+17 -170 replies
13/37clock_t.3, system_data_types.7: Move text to a separate pageman3/clock_t.3 man7/system_data_types.7+26 -250 replies
14/37clockid_t.3, system_data_types.7: Move text to a separate pageman3/clockid_t.3 man7/system_data_types.7+24 -230 replies
15/37dev_t.3, system_data_types.7: Move text to a separate pageman3/dev_t.3 man7/system_data_types.7+23 -260 replies
16/37div_t.3, system_data_types.7: Move text to a separate pageman3/div_t.3 man7/system_data_types.7+19 -240 replies
17/37double_t.3, system_data_types.7: Move text to a separate pageman3/double_t.3 man7/system_data_types.7+41 -430 replies
18/37double_t.3, float_t.3, system_data_types.7: Move float_t to double_t.3man3/double_t.3 man3/float_t.3 man7/system_data_types.7+26 -650 replies
19/37select.2, system_data_types.7: Move fd_set to select.2man2/select.2 man7/system_data_types.7+19 -220 replies
20/37fenv_t.3, system_data_types.7: Move text to a separate pageman3/fenv_t.3 man7/system_data_types.7+17 -170 replies
21/37fenv_t.3, system_data_types.7: Move fexcept_t to fenv_t.3man3/fenv_t.3 man3/fexcept_t.3 man7/system_data_types.7+11 -200 replies
22/37FILE.3, system_data_types.7: Move text to a separate pageman3/FILE.3 man7/system_data_types.7+25 -240 replies
23/37id_t.3, system_data_types.7: Move text to a separate pageman3/id_t.3 man7/system_data_types.7+25 -240 replies
24/37gid_t.3, id_t.3, system_data_types.7: Move gid_t to id_t.3man3/gid_t.3 man3/id_t.3 man7/system_data_types.7+31 -360 replies
25/37id_t.3, pid_t.3, system_data_types.7: Move pid_t to id_t.3man3/id_t.3 man3/pid_t.3 man7/system_data_types.7+40 -490 replies
26/37id_t.3, uid_t.3, system_data_types.7: Move uid_t to id_t.3man3/id_t.3 man3/uid_t.3 man7/system_data_types.7+22 -310 replies
27/37div_t.3, imaxdiv_t.3, system_data_types.7: Move imaxdiv_t to div_t.3man3/div_t.3 man3/imaxdiv_t.3 man7/system_data_types.7+19 -270 replies
28/37intmax_t.3, system_data_types.7: Move text to a separate pageman3/intmax_t.3 man7/system_data_types.7+50 -570 replies
29/37intmax_t.3, uintmax_t.3, system_data_types.7: Move uintmax_t to intmax_t.3man3/intmax_t.3 man3/uintmax_t.3 man7/system_data_types.7+31 -640 replies
30/37intmax_t.3: Document the [U]INTMAX_* macrosman3/intmax_t.3+28 -130 replies
31/37intN_t.3, system_data_types.7: Move text to a separate pageman3/int16_t.3 man3/int32_t.3 man3/int64_t.3 +3 more+84 -860 replies
32/37intN_t.3, uint16_t.3, uint32_t.3, uint64_t.3, uint8_t.3, uintN_t.3, system_data_types.7: Move uintN_t to intN_t.3man3/intN_t.3 man3/uint16_t.3 man3/uint32_t.3 +4 more+50 -1080 replies
33/37intN_t.3: Document the [U]INTN_* macrosman3/intN_t.3+53 -00 replies
34/37lconv-struct.3, system_data_types.7: Move text to a separate pageman3/lconv-struct.3 man7/system_data_types.7+45 -490 replies
35/37div_t.3, ldiv_t.3, system_data_types.7: Move ldiv_t to div_t.3man3/div_t.3 man3/ldiv_t.3 man7/system_data_types.7+11 -280 replies
36/37div_t.3, lldiv_t.3, system_data_types.7: Move lldiv_t to div_t.3man3/div_t.3 man3/lldiv_t.3 man7/system_data_types.7+11 -280 replies
37/37mode_t.3, system_data_types.7: Move text to a separate pageman3/mode_t.3 man7/system_data_types.7+31 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 00/37] Various patches to system_data_types(7)

Hey Branden,

This RFC is mostly directed to you.

The changes are:

- Add a few types:
- struct stat
- useconds_t
- Slightly related changes:
- Remove a note in usleep(3)
- Use -struct suffix for struct pages (and -union likewise)
- Move some types to separate pages (of course the intention is to do it with all of them, but that's slow).
The page already got too big, so I'm breaking it into smaller chunks.
- Add related macros to some pages (_WIDTH, _MAX, _MIN, _C(), ...).

If you have some time, could you please have a look at it?
I don't intend to take a lot of time from you, which this might, just some general opinion, and possibly if you differ with me in things like using \f, I'd like to know.

Thanks,

Alex

---

Alejandro Colomar (37):
stat.2, system_data_types.7: Document 'struct stat' in
system_data_types(7)
stat-struct.3: New link to system_data_types(7) aiocb-struct.3, lconv-struct.3, sigevent-struct.3, sigval-union.3,
sockaddr-struct.3, timespec-struct.3, timeval-struct.3: Rename some links to system_data_types.7 to add -{struct,union} suffix
system_data_types.7: Link to the stat structure definition system_data_types.7: ssize_t: Note that some headers only provide the

    type since POSIX.1-2008
  system_data_types.7: Document useconds_t
  useconds_t.3: New link to system_data_types(7)
  usleep.3: Remove incorrect portability note
  aiocb-struct.3, system_data_types.7: Move text to a separate page
  blkcnt_t.3, system_data_types.7: Move text to a separate page
  blksize_t.3, system_data_types.7: Move text to a separate page
  cc_t.3, system_data_types.7: Move text to a separate page
  clock_t.3, system_data_types.7: Move text to a separate page
  clockid_t.3, system_data_types.7: Move text to a separate page
  dev_t.3, system_data_types.7: Move text to a separate page
  div_t.3, system_data_types.7: Move text to a separate page
  double_t.3, system_data_types.7: Move text to a separate page
  double_t.3, float_t.3, system_data_types.7: Move float_t to double_t.3
  select.2, system_data_types.7: Move fd_set to select.2
  fenv_t.3, system_data_types.7: Move text to a separate page
  fenv_t.3, system_data_types.7: Move fexcept_t to fenv_t.3
  FILE.3, system_data_types.7: Move text to a separate page
  id_t.3, system_data_types.7: Move text to a separate page
  gid_t.3, id_t.3, system_data_types.7: Move gid_t to id_t.3
  id_t.3, pid_t.3, system_data_types.7: Move pid_t to id_t.3
  id_t.3, uid_t.3, system_data_types.7: Move uid_t to id_t.3
  div_t.3, imaxdiv_t.3, system_data_types.7: Move imaxdiv_t to div_t.3
  intmax_t.3, system_data_types.7: Move text to a separate page
  intmax_t.3, uintmax_t.3, system_data_types.7: Move uintmax_t to
    intmax_t.3

intmax_t.3: Document the [U]INTMAX_* macros
intN_t.3, system_data_types.7: Move text to a separate page intN_t.3, uint16_t.3, uint32_t.3, uint64_t.3, uint8_t.3, uintN_t.3,
system_data_types.7: Move uintN_t to intN_t.3
intN_t.3: Document the [U]INTN_* macros
lconv-struct.3, system_data_types.7: Move text to a separate page div_t.3, ldiv_t.3, system_data_types.7: Move ldiv_t to div_t.3 div_t.3, lldiv_t.3, system_data_types.7: Move lldiv_t to div_t.3 mode_t.3, system_data_types.7: Move text to a separate page

 man2/select.2                          |   20 +-
 man2/stat.2                            |  143 +---
 man3/FILE.3                            |   26 +-
 man3/aiocb-struct.3                    |   31 +
 man3/blkcnt_t.3                        |   21 +-
 man3/blksize_t.3                       |   21 +-
 man3/cc_t.3                            |   18 +-
 man3/clock_t.3                         |   27 +-
 man3/clockid_t.3                       |   25 +-
 man3/dev_t.3                           |   24 +-
 man3/div_t.3                           |   47 +-
 man3/double_t.3                        |   45 +-
 man3/fenv_t.3                          |   25 +-
 man3/fexcept_t.3                       |    2 +-
 man3/float_t.3                         |    2 +-
 man3/gid_t.3                           |    2 +-
 man3/id_t.3                            |  108 ++-
 man3/imaxdiv_t.3                       |    2 +-
 man3/int16_t.3                         |    2 +-
 man3/int32_t.3                         |    2 +-
 man3/int64_t.3                         |    2 +-
 man3/int8_t.3                          |    2 +-
 man3/intN_t.3                          |  160 +++-
 man3/intmax_t.3                        |   88 +-
 man3/lconv-struct.3                    |   45 +
 man3/ldiv_t.3                          |    2 +-
 man3/lldiv_t.3                         |    2 +-
 man3/mode_t.3                          |   32 +-
 man3/pid_t.3                           |    2 +-
 man3/{aiocb.3 => sigevent-struct.3}    |    0
 man3/{lconv.3 => sigval-union.3}       |    0
 man3/{sigval.3 => sockaddr-struct.3}   |    0
 man3/{sockaddr.3 => stat-struct.3}     |    0
 man3/{timespec.3 => timespec-struct.3} |    0
 man3/{timeval.3 => timeval-struct.3}   |    0
 man3/uid_t.3                           |    2 +-
 man3/uint16_t.3                        |    2 +-
 man3/uint32_t.3                        |    2 +-
 man3/uint64_t.3                        |    2 +-
 man3/uint8_t.3                         |    2 +-
 man3/uintN_t.3                         |    2 +-
 man3/uintmax_t.3                       |    2 +-
 man3/useconds_t.3                      |    1 +
 man3/usleep.3                          |   19 +-
 man7/system_data_types.7               | 1076 ++++--------------------
 45 files changed, 956 insertions(+), 1082 deletions(-)
 create mode 100644 man3/aiocb-struct.3
 create mode 100644 man3/lconv-struct.3
 rename man3/{aiocb.3 => sigevent-struct.3} (100%)
 rename man3/{lconv.3 => sigval-union.3} (100%)
 rename man3/{sigval.3 => sockaddr-struct.3} (100%)
 rename man3/{sockaddr.3 => stat-struct.3} (100%)
 rename man3/{timespec.3 => timespec-struct.3} (100%)
 rename man3/{timeval.3 => timeval-struct.3} (100%)
 create mode 100644 man3/useconds_t.3
Signature · 1 line
2.33.1