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 <[EMAIL PROTECTED]> --- 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]