le
1.16.8
About: le is a terminal text editor (many block operations with stream and rectangular blocks, tunable syntax highlighting, etc.).
![]() ![]() |
#include <config.h>
#include <fcntl.h>
#include <sys/types.h>
#include "cloexec.h"
#include <errno.h>
#include <stdarg.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
Go to the source code of this file.
Macros | |
#define | __need_system_fcntl_h |
#define | REPLACE_OPEN_DIRECTORY 0 |
Functions | |
static int | orig_open (const char *filename, int flags, mode_t mode) |
int | open (const char *filename, int flags,...) |
int open | ( | const char * | filename, |
int | flags, | ||
... | |||
) |
Definition at line 59 of file open.c.
References _gl_register_fd(), filename, O_CLOEXEC, O_NONBLOCK, O_SEARCH, orig_open(), REPLACE_OPEN_DIRECTORY, S_ISDIR, and set_cloexec_flag().
Referenced by alarmsave(), CreateBak(), getprogname(), LoadFile(), openat_needs_fchdir(), openat_permissive(), openat_proc_name(), opendir(), orig_open(), Read(), save_cwd(), SaveFile(), Terminate(), and Write().