[fpc-pascal] file identification using libmagic

José Mejuto joshyfun at gmail.com
Wed Dec 14 22:08:20 CET 2016

El 14/12/2016 a las 19:53, Marc Santhoff escribió:
> Hi,
> I have made a header port of libmagic which is used by the file(1)
> command to identify the type of files. Usage examples are availble, too.


Just a note, I was using magic.dll for Windows a few years ago and I was 
being forced to use dynamic loading as my code must process thousands of 
streams/files and in magic_close the dll left an allocated memory block 
and the only way to remove it was unloading the DLL.


More information about the fpc-pascal mailing list