Hello, I've found an error into the example of lsearch man page. All printf' functions are unterminated, using 0 instead of \n" printf("Bad input0); printf("Element found: %d0, *(int *)element); printf("Element not found0); Also, int argc, char**argv into main is useless. Regards.
A commit references this bug: Author: wblock Date: Sun Apr 17 18:25:34 UTC 2016 New revision: 298156 URL: https://svnweb.freebsd.org/changeset/base/298156 Log: Fix markup on "\n" in printf so it renders correctly. PR: 208852 Submitted by: coder@tuxfamily.org MFC after: 1 week Changes: head/lib/libc/stdlib/lsearch.3