}
public long posix_spawnp(String path, Collection<? extends SpawnFileAction> fileActions,
CharSequence[] argv, CharSequence[] envp) {
AbstractNumberReference<? extends Number> pid = Library.getRuntime(libc()).findType(TypeAlias.pid_t).size() == 4
? new IntByReference(-1) : new LongLongByReference(-1);
Pointer nativeFileActions = nativeFileActions(fileActions);
try {
if (((UnixLibC) libc()).posix_spawnp(pid, path, nativeFileActions, null, argv, envp) < 0) {
Errno e = Errno.valueOf(errno());