version 1.19, 2009/04/24 18:54:34 |
version 1.20, 2009/08/27 16:26:43 |
|
|
* file - find type of a file or files - main program. |
* file - find type of a file or files - main program. |
*/ |
*/ |
|
|
|
#include <sys/types.h> |
|
#include <sys/param.h> /* for MAXPATHLEN */ |
|
#include <sys/stat.h> |
|
|
#include "file.h" |
#include "file.h" |
#include "magic.h" |
#include "magic.h" |
|
|
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <unistd.h> |
#include <unistd.h> |
#include <string.h> |
#include <string.h> |
#include <sys/types.h> |
|
#include <sys/param.h> /* for MAXPATHLEN */ |
|
#include <sys/stat.h> |
|
#ifdef RESTORE_TIME |
#ifdef RESTORE_TIME |
# if (__COHERENT__ >= 0x420) |
# if (__COHERENT__ >= 0x420) |
# include <sys/utime.h> |
# include <sys/utime.h> |