spawn

@extern
object spawn

POSIX spawn.h for Scala

The Open Group Base Specifications Issue 7, 2018 edition.

A method with a PS comment indicates it is defined in POSIX extension "Process Scheduling", not base POSIX.

class Object
trait Matchable
class Any
spawn.type

Type members

Types

type mode_t = mode_t
type pid_t = pid_t
type posix_spawn_file_actions_t = CArray[CUnsignedLongLong, Digit2[_1, _0]]
type posix_spawnattr_t = CArray[CUnsignedLongLong, Digit2[_4, _2]]

Value members

Concrete methods

@name("scalanative_posix_spawn_posix_spawn_resetids")
@name("scalanative_posix_spawn_posix_spawn_setpgroup")
@name("scalanative_posix_spawn_setschedparam")

PS - Unsupported (zero) on Apple

PS - Unsupported (zero) on Apple

@name("scalanative_posix_spawn_setscheduler")

PS - Unsupported (zero) on Apple

PS - Unsupported (zero) on Apple

@name("scalanative_posix_spawn_setsigdef")
@name("scalanative_posix_spawn_setsigmask")
def posix_spawn(pid: Ptr[pid_t], path: CString, file_actions: Ptr[posix_spawn_file_actions_t], attrp: Ptr[posix_spawnattr_t], argv: Ptr[CString], envp: Ptr[CString]): CInt
def posix_spawn_file_actions_addclose(file_actions: Ptr[posix_spawn_file_actions_t], filedes: CInt): CInt
def posix_spawn_file_actions_adddup2(file_actions: Ptr[posix_spawn_file_actions_t], filedes: CInt, newfiledes: CInt): CInt
def posix_spawn_file_actions_open(file_actions: Ptr[posix_spawn_file_actions_t], filedes: CInt, path: CString, oflag: CInt, mode: mode_t): CInt
def posix_spawnattr_getflags(attr: Ptr[posix_spawnattr_t], flags: Ptr[CShort]): CInt
def posix_spawnattr_getpgroup(attr: Ptr[posix_spawnattr_t], pgroup: Ptr[pid_t]): CInt
def posix_spawnattr_getschedparam(attr: Ptr[posix_spawnattr_t], schedparam: Ptr[sched_param]): CInt

PS

PS

def posix_spawnattr_getschedpolicy(attr: Ptr[posix_spawnattr_t], schedpolicy: Ptr[CInt]): CInt

PS

PS

def posix_spawnattr_getschedpolicy(attr: Ptr[posix_spawnattr_t], schedpolicy: CInt): CInt

PS

PS

def posix_spawnattr_getsigdefault(attr: Ptr[posix_spawnattr_t], sigdefault: Ptr[sigset_t]): CInt
def posix_spawnattr_getsigmask(attr: Ptr[posix_spawnattr_t], sigmask: Ptr[sigset_t]): CInt
def posix_spawnattr_setflags(attr: Ptr[posix_spawnattr_t], flags: CShort): CInt
def posix_spawnattr_setpgroup(attr: Ptr[posix_spawnattr_t], pgroup: pid_t): CInt
def posix_spawnattr_setschedparam(attr: Ptr[posix_spawnattr_t], schedparam: Ptr[sched_param]): CInt

PS

PS

def posix_spawnattr_setsigdefault(attr: Ptr[posix_spawnattr_t], sigdefault: Ptr[sigset_t]): CInt
def posix_spawnattr_setsigmask(attr: Ptr[posix_spawnattr_t], sigmask: Ptr[sigset_t]): CInt
def posix_spawnp(pid: Ptr[pid_t], file: CString, file_actions: Ptr[posix_spawn_file_actions_t], attrp: Ptr[posix_spawnattr_t], argv: Ptr[CString], envp: Ptr[CString]): CInt