[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Init system in Lua
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Thu, 17 Nov 2011 06:32:33 -0600
On Thu, Nov 17, 2011 at 4:46 AM, Natanael Copa wrote:
>file could be a lua binding to libmagic?
Once upon a time I did a quick-and-dirty Pascal binding to llibmagic,
as I remember
the API for llibmagic is quite small and simple.
By the way,
% strace file / 2>&1 | grep share
open("/usr/share/file/magic.mgc", O_RDONLY|O_LARGEFILE) = 3