Home
last modified time | relevance | path

Searched refs:flopen (Results 1 – 6 of 6) sorted by relevance

/f-stack/tools/libutil/tests/
H A Dflopen_test.c55 fd = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_create()
80 fd = flopen(fn, O_RDWR); in test_flopen_open()
102 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_self()
106 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); in test_flopen_lock_self()
128 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_other()
134 fd2 = flopen(fn, O_RDWR|O_NONBLOCK); in test_flopen_lock_other()
160 fd1 = flopen(fn, O_RDWR|O_CREAT, 0640); in test_flopen_lock_child()
172 if ((fd2 = flopen(fn, O_RDWR|O_NONBLOCK)) != -1) { in test_flopen_lock_child()
/f-stack/tools/libutil/
H A DMakefile25 SRCS= _secure_path.c auth.c expand_number.c flopen.c fparseln.c \
38 MAN+= expand_number.3 flopen.3 fparseln.3 getlocalbase.3 hexdump.3 \
46 MLINKS+=flopen.3 flopenat.3
H A Dflopen.c126 flopen(const char *path, int flags, ...) in flopen() function
H A Dlibutil.h101 int flopen(const char *_path, int _flags, ...);
H A Dpw_util.c179 lockfd = flopen(masterpasswd, O_RDONLY|O_NONBLOCK|O_CLOEXEC, 0); in pw_lock()
H A Dgr_util.c106 lockfd = flopen(group_file, O_RDONLY|O_NONBLOCK|O_CLOEXEC, 0); in gr_lock()