xref: /illumos-gate/usr/src/lib/libc/common/sys/__spawn.S (revision ecd9ba3c681525bcbb1953941065d28b8ab9a4ec)
1/*
2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
5 * 1.0 of the CDDL.
6 *
7 * A full copy of the text of the CDDL should have accompanied this
8 * source.  A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
10 */
11
12/*
13 * Copyright 2026 Oxide Computer Company
14 */
15
16	.file	"__spawn.s"
17
18/*
19 * pid_t
20 * __spawn(const char *path, const void *sp, uint32_t spsize,
21 *     const void *sa, uint32_t sasize);
22 */
23
24#include "SYS.h"
25
26	SYSCALL2_RVAL1(__spawn, spawn)
27	RET
28	SET_SIZE(__spawn)
29