aboutsummaryrefslogtreecommitdiff
path: root/src/process/posix_spawnattr_getflags.c
blob: 2a5b006de7b27c723f45c6f3e3f9f2d6271ee930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <spawn.h>

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


#ifdef TEST
int
main(void) {
	return 0;
}
#endif