Function SDL_CreateProcessWithProperties

pub unsafe extern "C" fn SDL_CreateProcessWithProperties(
    props: u32,
) -> *mut SDL_Process
Available on crate feature dep_sdl3 only.
Expand description

Create a new process with the specified properties.

These are the supported properties:

On POSIX platforms, wait() and waitpid(-1, …) should not be called, and SIGCHLD should not be ignored or handled because those would prevent SDL from properly tracking the lifetime of the underlying process. You should use SDL_WaitProcess() instead.

§Parameters

  • props: the properties to use.

§Return value

Returns the newly created and running process, or NULL if the process couldn’t be created.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also