summaryrefslogtreecommitdiffstats
path: root/src/basic/async.h
blob: 3160613184b9653cc78c041d6c195623ef9ef18a (plain)
1
2
3
4
5
6
7
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once

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

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