libfilezilla
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
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::buffer
The buffer class is a simple buffer where data can be appended at the end and consumed at the front....
Definition
buffer.hpp:27
fz
The namespace used by libfilezilla.
Definition
apply.hpp:17
fz::aio_result::error
@ error
Operationf failed.
fz::dispatch
bool dispatch(event_base const &ev, F &&f)
Dispatch for simple_event<> based events to simple functors.
Definition
event_handler.hpp:199
Generated by
1.9.8