On Mon, Mar 02, 2015 at 05:30:31PM -0800, Alfred Perlstein wrote: > > Read the library. It doesn't care what output format it needs. > It is up to the translation layer to do it. You could even do > a csv format or most any other structured output format without > changing the userland utils. >
Yeah, read the library code because the manpages are atrocious. There are 12 manpages apparently documenting xo_emit(). -- Steve Index: xo_attr.3 =================================================================== --- xo_attr.3 (revision 279526) +++ xo_attr.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_attr +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_create.3 =================================================================== --- xo_create.3 (revision 279526) +++ xo_create.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_create +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_finish.3 =================================================================== --- xo_finish.3 (revision 279526) +++ xo_finish.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_finish +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_flush.3 =================================================================== --- xo_flush.3 (revision 279526) +++ xo_flush.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_flush +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_open_container.3 =================================================================== --- xo_open_container.3 (revision 279526) +++ xo_open_container.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_open_container +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_open_list.3 =================================================================== --- xo_open_list.3 (revision 279526) +++ xo_open_list.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_open_list +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_allocator.3 =================================================================== --- xo_set_allocator.3 (revision 279526) +++ xo_set_allocator.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_allocator +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_flags.3 =================================================================== --- xo_set_flags.3 (revision 279526) +++ xo_set_flags.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_flags +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_info.3 =================================================================== --- xo_set_info.3 (revision 279526) +++ xo_set_info.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_info +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_style.3 =================================================================== --- xo_set_style.3 (revision 279526) +++ xo_set_style.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_style +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS Index: xo_set_writer.3 =================================================================== --- xo_set_writer.3 (revision 279526) +++ xo_set_writer.3 (working copy) @@ -11,8 +11,8 @@ .Dt LIBXO 3 .Os .Sh NAME -.Nm xo_emit -.Nd emit formatted output based on format string and arguments +.Nm xo_set_writer +.Nd FUBAR .Sh LIBRARY .Lb libxo .Sh SYNOPSIS _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"