summaryrefslogtreecommitdiffstats
path: root/src/shared/data-fd-util.h
blob: db03fba251a8c952a5122fbce2ea85012b457dcf (plain)
1
2
3
4
5
6
7
8
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include <stddef.h>
#include <stdint.h>

int copy_data_fd(int fd);
int memfd_clone_fd(int fd, const char *name, int mode);