va_arg(9F): Minor typos in the man page
manpage - manual pages
- 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 Electric Monk about 4 years ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit 4d4fcbb2e6013422cc7d02d2dc43e469a8691706 Author: Marcel Telka <email@example.com> Date: 2017-03-22T20:56:01.000Z 7995 va_arg(9F): Minor typos in the man page Reviewed by: Peter Tribble <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Alexander Pyhalov <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>