summaryrefslogtreecommitdiff
path: root/src/system/FileDescriptor.hxx
AgeCommit message (Collapse)Author
2020-05-05system/FileDescriptor: move to io/Max Kellermann
2020-03-12replace signal.h with csignal.hRosen Penev
The former was deprecated with C++14. The standard says they are the same: The contents of the header<csignal>are the same as the C standard library header<signal.h>. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-12-17io/FileDescriptor: add method FullRead()Max Kellermann
2019-08-19system/FileDescriptor: add method IsRegularFile()Max Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-11-02system/FileDescriptor: check `__linux__` instead of `__linux`Max Kellermann
`__linux` is the deprecated non-standard macros which appears to be not present at all on PowerPC. Closes #398
2018-08-21system/FileDescriptor: add openat() wrapperMax Kellermann
2018-08-20system/FileDescriptor: include cleanupMax Kellermann
2018-08-20system/FileDescriptor: pass FileDescriptor to CheckDuplicate()Max Kellermann
2018-08-20net/SocketDescriptor: make eventfd() and signalfd() mandatory on LinuxMax Kellermann
2018-08-20system/FileDescriptor: make inotify_init1() mandatory on LinuxMax Kellermann
2018-08-20system/FileDescriptor: add pipe2() wrapperMax Kellermann
2018-08-20system/FileDescriptor: add operator!=Max Kellermann
2018-08-20system/FileDescriptor: add "noexcept"Max Kellermann
2018-08-20Compiler.h: move to util/Max Kellermann
2018-08-20system/FileDescriptor: add IsPipe(), IsSocket()Max Kellermann
2018-07-13system/FileDescriptor: no-op implementation of *CloseOnExec() on WindowsMax Kellermann
Fixes the NFS client build, closes #305.
2017-09-13system/FileDescriptor: Close() should not be called on undefined objectMax Kellermann
It does not do much harm - but it causes an unnecessary (failing) system call.
2017-09-13system/FileDescriptor: mention class UniqueFileDescriptor in API documentationMax Kellermann
2017-09-13system/FileDescriptor: add CheckDuplicate()Max Kellermann
2017-09-13system/FileDescriptor: use _WIN32 instead of WIN32Max Kellermann
2017-08-11system/FileDescriptor: add method CreatePipeNonBlock()Max Kellermann
2017-08-11system/FileDescriptor: implement CreatePipe() on WindowsMax Kellermann
2017-08-10system/FileDescriptor: add Open() overload with wchar_t pathMax Kellermann
2017-08-10system/FileDescriptor: add methods EnableCloseOnExec(), DisableCloseOnExec()Max Kellermann
2017-08-10system/FileDescriptor: add method IsReadyForWriting()Max Kellermann
2017-08-10system/FileDescriptor: add method IsValid()Max Kellermann
2017-08-10system/FileDescriptor: use std::exchange()Max Kellermann
2017-05-08*: add "noexcept" to many, many function prototypesMax Kellermann
This eliminates some overhead, because the compiler doesn't need to consider these functions throwing.
2017-01-17AUTHORS, ...: update my email addressMax Kellermann
2016-02-19system/FileDescriptor: add method Skip()Max Kellermann
2015-03-24system/FileDescriptor: add method Tell()Max Kellermann
2015-03-03system/FileDescriptor: Close() returns boolMax Kellermann
2015-03-03system/FileDescriptor: add "mode" parameter to Open()Max Kellermann
2015-03-03system/FileDescriptor: fix WIN32 checksMax Kellermann
2015-03-03system/FileDescriptor: new wrapper class for a file descriptorMax Kellermann