[][src]Function libuv::misc::set_process_title

pub fn set_process_title(title: &str) -> Result<(), Box<dyn Error>>

Sets the current process title. You must call uv_setup_args before calling this function. On platforms with a fixed size buffer for the process title the contents of title will be copied to the buffer and truncated if larger than the available space. Other platforms will return ENOMEM if they cannot allocate enough space to duplicate the contents of title.