The Pedigree Project 0.1
pipe-transfer-syscalls.h
1/* Copyright (c) 2026, Pedigree Developers. */
2#ifndef POSIX_PIPE_TRANSFER_SYSCALLS_H
3#define POSIX_PIPE_TRANSFER_SYSCALLS_H
4
5#include "pedigree/kernel/processor/types.h"
6
7struct iovec;
8
9ssize_t posix_splice(int input, int64_t* inputOffset, int output, int64_t* outputOffset,
10 size_t count, unsigned flags);
11ssize_t posix_tee(int input, int output, size_t count, unsigned flags);
12ssize_t posix_vmsplice(int fd, const struct iovec* vectors, size_t vectorCount, unsigned flags);
13
14#endif