summaryrefslogtreecommitdiff
path: root/src/basic/async.h
blob: 9ada32c9948fcfe3294dc6b79239220be8ade614 (plain)
1
2
3
4
5
6
7
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

int asynchronous_job(void* (*func)(void *p), void *arg);

int asynchronous_sync(pid_t *ret_pid);
int asynchronous_close(int fd);