xolint man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

XOLINT(1)		  BSD General Commands Manual		     XOLINT(1)

NAME
     xolint — detect errors in programs using xo_emit(3)

SYNOPSIS
     xolint [-c] [-C <flags>] [-d] [-D] [-I] [-p] [-V] [-X] [files...]

DESCRIPTION
     xolint is a tool for reporting common mistakes in format strings in
     source code that invokes xo_emit(3).  It allows these errors to be diag‐
     nosed at build time, rather than waiting until runtime.

     xolint takes one or more C files as arguments, and reports error, warn‐
     ing, or informational messages as needed.

     -c		Invoke 'cpp' against the input file

     -C <flags>
		Flags that are passed to 'cpp'

     -d		Enable debug output

     -D		Generate documentation for all xolint messages

     -I		Generate a table of xo_info_t structures.

     -p		Print the offending lines after the error message is displayed

     -V		Do not report errors, but instead print a complete list of all
		field names, sorted alphabetically.  The output can help spot
		inconsistencies and spelling errors.

     -X		Extract samples from xolint, suitable for internal testing.

     The output message contains the source filename and line number, the
     class of the message, the message, and, if -p is given, the line that
     contains the error:

	       % xolint -t xolint.c
	       xolint.c: 16: error: anchor format should be "%d"
	       16	  xo_emit("{[:/%s}");

ADDITIONAL DOCUMENTATION
     Complete documentation can be found on github:

	   http://juniper.github.io/libxo/libxo-manual.html

     libxo lives on github as:

	   https://github.com/Juniper/libxo

     The latest release of libxo is available at:

	   https://github.com/Juniper/libxo/releases

SEE ALSO
     libxo(3), xo_emit(3)

HISTORY
     The libxo library was added in FreeBSD 11.0.

AUTHOR
     Phil Shafer

BSD			       December 4, 2014				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net