Page MenuHomeHEPForge

filesystem.cc
No OneTemporary

Size
297 B
Referenced Files
None
Subscribers
None

filesystem.cc

#include "HEJ/filesystem.hh"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
namespace HEJ {
bool is_regular(char const * filename) {
struct stat buf;
const int err = stat(filename, &buf);
if(err) {
return false;
}
return S_ISREG(buf.st_mode);
}
}

File Metadata

Mime Type
text/x-c
Expires
Tue, Sep 30, 4:39 AM (11 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6420169
Default Alt Text
filesystem.cc (297 B)

Event Timeline