Project

General

Profile

Actions

Bug #13183

closed

Some man pages add a space next to an underscore

Added by Peter Tribble 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
manpage - manual pages
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Some man pages have an errant space next to an underscore, where the underscore is in the middle of a function name or a type.

I think this is a complete list:

usr/src/man/man9f/ddi_prop_create.9f 'ddi_prop_ undefine'
usr/src/man/man9f/ldi_open_by_dev.9f 'cred_ t'
usr/src/man/man3dat/dat_ep_create_with_srq.3dat
'recv_evd_ handle'
'DAT_CONNECTION_ EVENT_NON_PEER_REJECTED'
'DAT_INVALID_ PARAMETER'
usr/src/man/man3dat/dat_lmr_sync_rdma_write.3dat 'local_ segments'
usr/src/man/man3nsl/rpc_gss_getcred.3nsl 'rpc_gss_rawcred_ t'
usr/src/man/man1/pax.1 'c_ mode'
usr/src/man/man3lib/libscf.3lib
'scf_tmpl_value_count_range_ constraints'
'scf_tmpl_value_int_range_ constraints'
'scf_transaction_property_change_ type'
usr/src/man/man3head/stdint.h
'int_least32 t' 'uint least16_t' 'uint_fastN_ t'
usr/src/man/man3head/fenv.h 'FENV_ ACCESS'
usr/src/man/man3head/wctype.h 'wchar t'
usr/src/man/man3head/termios.h.3head 'speed
t'

Actions #1

Updated by Electric Monk 10 months ago

  • Gerrit CR set to 949
Actions #2

Updated by Volker A. Brandt 10 months ago

I think this is a complete list:

This seems to be missing:

usr/src/man/man4/mnttab.4 'MNTIOC_ ioctl'

Actions #3

Updated by Peter Tribble 10 months ago

Volker A. Brandt wrote:

I think this is a complete list:

This seems to be missing:

usr/src/man/man4/mnttab.4 'MNTIOC_ ioctl'

That's actually correct, although it's possible that it could be clearer. It means 'one of the ioctls starting with MNTIOC_'. That sort of pattern is used in a number of other man pages to describe a set of ioctls or variable names with the same prefix.

Actions #4

Updated by Peter Tribble 10 months ago

Tested by quickly eyeballing the changes using the man utility.

Actions #5

Updated by Volker A. Brandt 10 months ago

Peter Tribble wrote:

Volker A. Brandt wrote:

I think this is a complete list:

This seems to be missing:

usr/src/man/man4/mnttab.4 'MNTIOC_ ioctl'

That's actually correct, although it's possible that it could be clearer. It means 'one of the ioctls starting with MNTIOC_'. That sort of pattern is used in a number of other man pages to describe a set of ioctls or variable names with the same prefix.

Yes, I see it now. Thanks!

Actions #6

Updated by Electric Monk 10 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 6e3b881e3444c3c501e8fe27050bc8439c0f4904

commit  6e3b881e3444c3c501e8fe27050bc8439c0f4904
Author: Peter Tribble <peter.tribble@gmail.com>
Date:   2020-09-23T15:48:48.000Z

    13183 Some man pages add a space next to an underscore
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Reviewed by: Volker A. Brandt <vab@bb-c.de>
    Approved by: Robert Mustacchi <rm@fingolfin.org>

Actions

Also available in: Atom PDF