HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //home/ubuntu/neovim/build/include/os/fs.h.generated.h
// IWYU pragma: private, include "nvim/os/fs.h"
#define DEFINE_FUNC_ATTRIBUTES
#include "nvim/func_attr.h"
#undef DEFINE_FUNC_ATTRIBUTES
#ifndef DLLEXPORT
#  ifdef MSWIN
#    define DLLEXPORT __declspec(dllexport)
#  else
#    define DLLEXPORT
#  endif
#endif
DLLEXPORT int os_chdir(const char *path) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_dirname(char *buf, size_t len) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_isrealdir(const char *name) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_isdir(const char *name) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_nodetype(const char *name) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_exepath(char *buffer, size_t *size) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_can_exe(const char *name, char **abspath, _Bool use_path) FUNC_ATTR_NONNULL_ARG(1);
DLLEXPORT int os_open(const char *path, int flags, int mode);
DLLEXPORT FILE *os_fopen(const char *path, const char *flags);
DLLEXPORT int os_set_cloexec(const int fd);
DLLEXPORT int os_close(const int fd);
DLLEXPORT int os_dup(const int fd) FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT int os_open_stdin_fd(void);
DLLEXPORT ptrdiff_t os_read(const int fd, _Bool *const ret_eof, char *const ret_buf, const size_t size, const _Bool non_blocking) FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT ptrdiff_t os_readv(const int fd, _Bool *const ret_eof, struct iovec *iov, size_t iov_size, const _Bool non_blocking) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT ptrdiff_t os_write(const int fd, const char *const buf, const size_t size, const _Bool non_blocking) FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT int os_copy(const char *path, const char *new_path, int flags);
DLLEXPORT int os_fsync(int fd);
DLLEXPORT int32_t os_getperm(const char *name);
DLLEXPORT int os_setperm(const char *const name, int perm) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT void os_copy_xattr(const char *from_file, const char *to_file);
DLLEXPORT vim_acl_T os_get_acl(const char *fname);
DLLEXPORT void os_set_acl(const char *fname, vim_acl_T aclent);
DLLEXPORT void os_free_acl(vim_acl_T aclent);
DLLEXPORT _Bool os_file_owned(const char *fname) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_chown(const char *path, uv_uid_t owner, uv_gid_t group);
DLLEXPORT int os_fchown(int fd, uv_uid_t owner, uv_gid_t group);
DLLEXPORT _Bool os_path_exists(const char *path);
DLLEXPORT int os_file_settime(const char *path, double atime, double mtime);
DLLEXPORT _Bool os_file_is_readable(const char *name) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT int os_file_is_writable(const char *name) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT int os_rename(const char *path, const char *new_path) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_mkdir(const char *path, int32_t mode) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_mkdir_recurse(const char *const dir, int32_t mode, char **const failed_dir, char **const created) FUNC_ATTR_NONNULL_ARG(1, 3) FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT int os_file_mkdir(char *fname, int32_t mode) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT;
DLLEXPORT int os_mkdtemp(const char *templ, char *path) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_rmdir(const char *path) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_scandir(Directory *dir, const char *path) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT const char *os_scandir_next(Directory *dir) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT void os_closedir(Directory *dir) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT int os_remove(const char *path) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_fileinfo(const char *path, FileInfo *file_info) FUNC_ATTR_NONNULL_ARG(2);
DLLEXPORT _Bool os_fileinfo_link(const char *path, FileInfo *file_info) FUNC_ATTR_NONNULL_ARG(2);
DLLEXPORT _Bool os_fileinfo_fd(int file_descriptor, FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_fileinfo_id_equal(const FileInfo *file_info_1, const FileInfo *file_info_2) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT void os_fileinfo_id(const FileInfo *file_info, FileID *file_id) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT uint64_t os_fileinfo_inode(const FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT uint64_t os_fileinfo_size(const FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT uint64_t os_fileinfo_hardlinks(const FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT uint64_t os_fileinfo_blocksize(const FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_fileid(const char *path, FileID *file_id) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_fileid_equal(const FileID *file_id_1, const FileID *file_id_2) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT _Bool os_fileid_equal_fileinfo(const FileID *file_id, const FileInfo *file_info) FUNC_ATTR_NONNULL_ALL;
DLLEXPORT char *os_realpath(const char *name, char *buf, size_t len) FUNC_ATTR_NONNULL_ARG(1);
#include "nvim/func_attr.h"