pub unsafe extern "C" fn SDL_GetProcessProperties(
process: *mut SDL_Process,
) -> SDL_PropertiesIDExpand description
Get the properties associated with a process.
The following read-only properties are provided by SDL:
SDL_PROP_PROCESS_PID_NUMBER: the process ID of the process.SDL_PROP_PROCESS_STDIN_POINTER: anSDL_IOStreamthat can be used to write input to the process, if it was created withSDL_PROP_PROCESS_CREATE_STDIN_NUMBERset toSDL_PROCESS_STDIO_APP.SDL_PROP_PROCESS_STDOUT_POINTER: a non-blockingSDL_IOStreamthat can be used to read output from the process, if it was created withSDL_PROP_PROCESS_CREATE_STDOUT_NUMBERset toSDL_PROCESS_STDIO_APP.SDL_PROP_PROCESS_STDERR_POINTER: a non-blockingSDL_IOStreamthat can be used to read error output from the process, if it was created withSDL_PROP_PROCESS_CREATE_STDERR_NUMBERset toSDL_PROCESS_STDIO_APP.SDL_PROP_PROCESS_BACKGROUND_BOOLEAN: true if the process is running in the background.
§Parameters
process: the process to query.
§Return value
Returns a valid property ID on success or 0 on failure; call
SDL_GetError() for more information.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.