lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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


 - Jeff