Source

linux-scalability-benchmarks / libowfat / open / open_read.c

The default branch has multiple heads

Full commit
#define _FILE_OFFSET_BITS 64
#include <unistd.h>
#include <fcntl.h>
#include "open.h"

#ifndef O_NDELAY
#define O_NDELAY 0
#endif

int open_read(const char *filename) {
  return open(filename,O_RDONLY|O_NDELAY);
}