2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
23 * Wrapper for mapped memory that automatically calls munmap on destruction
29 * See mmap(3p) for parameter description
31 CMmap(void* addr
, std::size_t length
, int prot
, int flags
, int fildes
, off_t offset
);
38 std::size_t Size() const
44 CMmap(CMmap
const& other
) = delete;
45 CMmap
& operator=(CMmap
const& other
) = delete;