diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-10-18 11:36:30 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2018-10-18 11:36:30 +0300 |
commit | 7bd9e09a474b0411c0ed00f8b2fefcafc462f24f (patch) | |
tree | b396da4ca9b161231625ca6d7a5171e59df321c9 /include/llfio/v2.0/symlink_handle.hpp | |
parent | fd12a60d26c80d93185ff0e0da1efa4ddbbf3863 (diff) |
Fix minor warnings.
Diffstat (limited to 'include/llfio/v2.0/symlink_handle.hpp')
-rw-r--r-- | include/llfio/v2.0/symlink_handle.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/llfio/v2.0/symlink_handle.hpp b/include/llfio/v2.0/symlink_handle.hpp index 8be1ad3d..9f8249ab 100644 --- a/include/llfio/v2.0/symlink_handle.hpp +++ b/include/llfio/v2.0/symlink_handle.hpp @@ -134,7 +134,8 @@ public: //! Default constructor constexpr buffers_type() {} // NOLINT - //! Constructor + /*! Constructor + */ constexpr buffers_type(path_view link, symlink_type type = symlink_type::symbolic) : _link(link) , _type(type) @@ -440,14 +441,11 @@ public: \return Returns the buffers filled, with its path adjusted to the bytes filled. \param req A buffer to fill with the contents of the symbolic link. - \param kernelbuffer A buffer to use for the kernel to fill. If left defaulted, a kernel buffer - is allocated internally and stored into `req.buffers` which needs to not be destructed until one - is no longer using any items within (the path returned is a view onto the original kernel data). \errors Any of the errors which `readlinkat()` or `DeviceIoControl()` might return, or failure to allocate memory if the user did not supply a kernel buffer to use, or the user supplied buffer was too small. - \mallocs If the `kernelbuffer` parameter is set on entry, no memory allocations. - If unset, then at least one memory allocation, possibly more is performed. + \mallocs If the `kernelbuffer` parameter is set in the request, no memory allocations. + If unset, at least one memory allocation, possibly more is performed. */ LLFIO_MAKE_FREE_FUNCTION LLFIO_HEADERS_ONLY_VIRTUAL_SPEC result<buffers_type> read(io_request<buffers_type> req = {}) noexcept; |