Actions
Bug #7995
closedva_arg(9F): Minor typos in the man page
Start date:
2017-03-21
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
Description
There is:
- missing space between "if" and "type",
- missing space between "va_list" and "src",
- missing dot between "va_start()" and "It",
here in the va_arg(9F) man page:
If there is no actual next argument, or iftype is not compatible with the type of the actual next argument (as promoted according to the default argument promotions), the behavior is undefined. The va_copy() macro saves the state represented by the va_listsrc in the va_list dest. The va_list passed as dest should not be initialized by a previous call to va_start() It then must be passed to va_end() before being reused as a parameter to va_start() or as the dest parameter of a subsequent call to va_copy(). The behavior is undefined if any of these restrictions are not met.
Also, the code snippet in the EXAMPLES section needs better formatting.
Updated by Marcel Telka about 5 years ago
Updated by Marcel Telka about 5 years ago
- Status changed from In Progress to Pending RTI
Updated by Electric Monk about 5 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
git commit 4d4fcbb2e6013422cc7d02d2dc43e469a8691706
commit 4d4fcbb2e6013422cc7d02d2dc43e469a8691706 Author: Marcel Telka <marcel@telka.sk> Date: 2017-03-22T20:56:01.000Z 7995 va_arg(9F): Minor typos in the man page Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Reviewed by: Alexander Pyhalov <alp@rsu.ru> Approved by: Robert Mustacchi <rm@joyent.com>
Actions