about summary refs log tree commit diff
path: root/src/process/posix_spawnattr_getflags.c
blob: 7353d24a6c0e01f93cb82313b1eaed18983fb63a (plain) (blame)
1
2
3
4
5
6
7
#include <spawn.h>

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