close_pid


Description:

[ CCode ( cname = "g_spawn_close_pid" ) ]
public void close_pid (Pid pid)

On some platforms, notably Windows, the Pid type represents a resource which must be closed to prevent resource leaking.

close_pid is provided for this purpose. It should be used on all platforms, even though it doesn't do anything under UNIX.

Parameters:

pid

The process reference to close


Namespace: GLib.Process
Package: glib-2.0