Sha256: dc9d80079393e7dcb033ef936d77d18cefd02d1e491e35d64926fd23a09e43cc
Contents?: true
Size: 151 Bytes
Versions: 3
Compression:
Stored size: 151 Bytes
Contents
#include <sys/stat.h> long fsize(const char* filename){ struct stat s; if(stat(filename, &s) == 0) return s.st_size; return -1; }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
numo-binrw-0.2.1 | ext/numo/binrw/lib.c |
numo-binrw-0.1.1 | ext/numo/binrw/lib.c |
numo-binrw-0.1.0 | ext/numo/binrw/lib.c |