summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/process/posix_spawnattr_getflags.c
blob: aa635ddaf6a1703b1237608d540729a544e6d48e (plain)
1
2
3
4
5
6
7
#include <spawn.h>

int posix_spawnattr_getflags(const posix_spawnattr_t *restrict attr, short *restrict flags)
{
	*flags = attr->__flags;
	return 0;
}