bfcd63ec65
posix/fd: add read overloads that take char/byte views
2017-12-19 18:18:10 +11:00
abfc3c7878
except: move posix/win32 exceptions to own units
2017-12-19 18:18:10 +11:00
c22a5a2a07
posix/fd: prefer error::try_value over explicit checks
2017-12-18 15:57:43 +11:00
77c88438d4
except: move posix/win32 exceptions to own units
2017-12-18 15:46:52 +11:00
34788756d2
build: don't use './' as an include prefix
...
GCC produces ODR error when including paths of the form './foo' and
'foo' in the same binary. Rather than managing duplication we just
universally pick the absolute form over the relative form.
2017-11-22 16:49:37 +11:00
09de734185
posix/fd: label write/read calls with warn_unused
2017-02-20 18:10:04 +11:00
353cf839d4
use nested namespace declarations
2017-01-05 15:06:49 +11:00
c4bb04dee7
build: add posix forward decl
2016-10-14 18:01:16 +11:00
9a798446b5
build: remove unnecessary includes
...
discovered with include-what-you-use
2016-10-12 15:08:22 +11:00
5a810010fe
posix/fd: add lseek member function
2016-10-11 20:58:31 +11:00
4196702b38
posix/fd: add read and write member functions
2016-10-11 20:58:19 +11:00
598c5d4e48
change const char paths to std::filesystem::path
2016-10-08 17:18:18 +11:00
ea5c3befe4
posix/fd: default open mode to 0666
2016-10-07 18:15:07 +11:00
51c8ee84ca
posix/fd: add std::string overloads for paths
2016-10-07 18:14:56 +11:00
08249f530e
posix/map: add missing empty method
2016-10-02 16:39:47 +11:00
b949b90dd7
posix/fd: add more comments
2016-10-02 16:34:40 +11:00
4608c65c84
posix/map: start extracting pure mmap class
2016-10-02 16:18:41 +11:00
152a55ad78
Merge remote-tracking branch 'origin/master'
2016-10-02 16:13:31 +11:00
790728d3b1
posix/fd: extract file descriptor into own unit
2016-10-02 15:50:13 +11:00
e17158b0bb
build: add forgotten cxx headers
...
discovered testing clang 3.8 under freebsd
2016-05-12 17:31:33 +10:00
1cdc6b4bad
use more explicit constructors
2016-03-17 18:14:40 +11:00
fbd221a739
posix/dir: add variadic args to directory scanning
2016-02-25 13:18:07 +11:00
960448b6ac
posix: add dir wrapper
2015-08-10 15:50:12 +10:00