1 #ifndef LIBFILEZILLA_GLUE_UNIX_HEADER
2 #define LIBFILEZILLA_GLUE_UNIX_HEADER
8 #include "../libfilezilla.hpp"
19 bool FZ_PUBLIC_SYMBOL set_cloexec(
int fd);
29 bool FZ_PUBLIC_SYMBOL create_pipe(
int fds[2]);
35 void FZ_PUBLIC_SYMBOL disable_sigpipe();
38 bool FZ_PUBLIC_SYMBOL create_socketpair(
int fds[2]);
55 int FZ_PUBLIC_SYMBOL send_fd(
int socket,
fz::buffer & buf,
int fd,
int & error);
66 int FZ_PUBLIC_SYMBOL read_fd(
int socket,
fz::buffer & buf,
int &fd,
int & error);
69 int FZ_PUBLIC_SYMBOL set_nonblocking(
int fd,
bool non_blocking =
true);
74 #error This file is not for Windows
The buffer class is a simple buffer where data can be appended at the end and consumed at the front....
Definition: buffer.hpp:27
The namespace used by libfilezilla.
Definition: apply.hpp:17