1. Takayuki KONDO
  2. linux-scalability-benchmarks

Source

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

The default branch has multiple heads

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

#ifndef O_NDELAY
#define O_NDELAY 0
#endif

int open_write(const char *filename) {
  return open(filename,O_WRONLY|O_CREAT|O_NDELAY,0644);
}