|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 209 (0xd1)
Types: TextFile
Names: »isdir.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦this⟧ »EUUGD11/euug-87hel/sec1/news/misc/search/lib/isdir.c«
/* Is this a directory? */
#include "defs.h"
#include <sys/types.h>
#include <sys/stat.h>
bool
isdir(name)
char *name;
{
struct stat s;
return stat(name, &s) >= 0 && (s.st_mode & S_IFMT) == S_IFDIR;
}