flopen
lockfd = flopen(group_file, O_RDONLY|O_NONBLOCK|O_CLOEXEC, 0);
int flopen(const char *_path, int _flags, ...);
lockfd = flopen(masterpasswd, O_RDONLY|O_NONBLOCK|O_CLOEXEC, 0);
fd2 = flopen(fn, O_RDWR|O_NONBLOCK);
fd1 = flopen(fn, O_RDWR|O_CREAT, 0640);
fd2 = flopen(fn, O_RDWR|O_NONBLOCK);
fd1 = flopen(fn, O_RDWR|O_CREAT, 0640);
if ((fd2 = flopen(fn, O_RDWR|O_NONBLOCK)) != -1) {
fd = flopen(fn, O_RDWR|O_CREAT, 0640);
fd = flopen(fn, O_RDWR);
fd1 = flopen(fn, O_RDWR|O_CREAT, 0640);
int flopen(const char *_path, int _flags, ...);