Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2015 12:46:32 -0800
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        Lars Engels <lars.engels@0x20.net>, Allan Jude <allanjude@freebsd.org>,  Garrett Cooper <yaneurabeya@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: libXO-ification - Why - and is it a symptom of deeper issues?
Message-ID:  <CA%2BhQ2%2Bj3%2BnMBMBRiA7P4DOBNubd4w%2BH%2B_k-U9=vCfZLsZYdsLQ@mail.gmail.com>
In-Reply-To: <20151118193252.GE27296@e-new.0x20.net>
References:  <0650CA79-5711-44BF-AC3F-0C5C5B6E5BD9@rdsor.ro> <5648C964.2020405@freebsd.org> <2DF061E9-2541-4B10-9744-C49C515FF672@gmail.com> <5648CBA1.9010300@freebsd.org> <20151118193252.GE27296@e-new.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 18, 2015 at 11:32 AM, Lars Engels <lars.engels@0x20.net> wrote:
> On Sun, Nov 15, 2015 at 01:14:57PM -0500, Allan Jude wrote:
>> You can setup an atexit() call to call xo_finish automatically when the
>> program exits. The original changes to uptime had a few other issues,
>> which I fixed.
>>
>
> Is there a list of tools that can already output via libxo? Neither
> "uptime -h", nor its manpage or "apropros libxo" doesn't reveal
> anything.

i was going to suggest doing ldd on the binaries or a grep on the
Makefile but the latter returns a surprisingly low number
of matches.


> grep lxo */*/Makefile*
rescue/rescue/Makefile:CRUNCH_LIBS+= -lcrypt -ledit -ljail -lkvm -ll
-ltermcapw -lutil -lxo
tools/bsdbox/Makefile:CRUNCH_SHLIBS+= -lc -lutil -lcrypt -lxo -lgpio
perhaps

cheers
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2Bj3%2BnMBMBRiA7P4DOBNubd4w%2BH%2B_k-U9=vCfZLsZYdsLQ>