These can be used in place of the CTRn() macros which require n to match
the number of optional arguments.
Details
Details
- Reviewers
emaste imp - Group Reviewers
manpages - Commits
- rG4eb43c2c46ed: KTR: Add CTR() and TR() macros which accept a variable number of arguments.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I wonder if we should note in the man page that the CTR macro is newer, which could explain why existing cases in the tree are CTRn.
Comment Actions
Manual page syntax looks good, but it'd be nice to have a mention of the timing in the HISTORY section.
share/man/man9/ktr.9 | ||
---|---|---|
88 | Am I reading this right as saying that CTR itself can only handle 5 items to be output using the format argument, vararg or no vararg? |
share/man/man9/ktr.9 | ||
---|---|---|
88 | Yes, though it's been six for several years. (The original macros from BSD/OS only allowed up to 5). |