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