libfilezilla
Toggle main menu visibility
Loading...
Searching...
No Matches
lib
libfilezilla
glue
unix.hpp
Go to the documentation of this file.
1
#ifndef LIBFILEZILLA_GLUE_UNIX_HEADER
2
#define LIBFILEZILLA_GLUE_UNIX_HEADER
3
7
8
#include "
../libfilezilla.hpp
"
9
10
#ifndef FZ_WINDOWS
11
12
namespace
fz
{
13
19
bool
FZ_PUBLIC_SYMBOL set_cloexec(
int
fd);
20
29
bool
FZ_PUBLIC_SYMBOL create_pipe(
int
fds[2]);
30
35
void
FZ_PUBLIC_SYMBOL disable_sigpipe();
36
38
bool
FZ_PUBLIC_SYMBOL create_socketpair(
int
fds[2]);
39
55
int
FZ_PUBLIC_SYMBOL send_fd(
int
socket
, fz::buffer & buf,
int
fd,
int
&
error
);
56
66
int
FZ_PUBLIC_SYMBOL read_fd(
int
socket
, fz::buffer & buf,
int
&fd,
int
&
error
);
67
69
int
FZ_PUBLIC_SYMBOL set_nonblocking(
int
fd,
bool
non_blocking =
true
);
70
71
}
72
73
#else
74
#error This file is not for Windows
75
#endif
76
77
#endif
fz::socket
IPv6 capable, non-blocking socket class.
Definition
socket.hpp:462
libfilezilla.hpp
Sets some global macros and further includes string.hpp.
fz
The namespace used by libfilezilla.
Definition
apply.hpp:17
fz::aio_result::error
@ error
Operationf failed.
Definition
aio.hpp:199
Generated by
1.17.0