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

[OFF TOPIC] magic library?



Hi,

Is there such a thing as a library that would provide the functionality of
the file command?  I want to be able to determine the type of a file I
would open.  I don't want to spawn a "file" command (e.g.: via system or
exec) from my own software since that would incur some slight overhead and
since it seems like it shouldn't be necessary.

Thanks,
-Ossama

______________________________________________________________________
Ossama Othman <othman@astrosun.tn.cornell.edu>

--- PGP Keys ---
Public:  http://astrosun.tn.cornell.edu/staff/othman/OO_PUBLIC.asc
REVOKED: http://astrosun.tn.cornell.edu/staff/othman/OO_REVOKED.asc



--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: