ext/libuv/docs/src/misc.rst in libuv-3.1.3 vs ext/libuv/docs/src/misc.rst in libuv-3.1.4

- old
+ new

@@ -190,10 +190,14 @@ zero, `UV_EINVAL` is returned. If `size` cannot accommodate the process title and terminating `NULL` character, the function returns `UV_ENOBUFS`. .. c:function:: int uv_set_process_title(const char* title) - Sets the current process title. + Sets the current process title. 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 + `UV_ENOMEM` if they cannot allocate enough space to duplicate the contents of + `title`. .. c:function:: int uv_resident_set_memory(size_t* rss) Gets the resident set size (RSS) for the current process.