Searched refs:title (Results 1 – 15 of 15) sorted by relevance
52 int uv_set_process_title(const char* title) { in uv_set_process_title() argument55 new_title = uv__strdup(title); in uv_set_process_title()64 setproctitle("%s", title); in uv_set_process_title()
36 int uv__set_process_title(const char* title) { in uv__set_process_title() argument38 return uv__thread_setname(title); in uv__set_process_title()159 S(title), in uv__set_process_title()164 uv__thread_setname(title); /* Don't care if it fails. */ in uv__set_process_title()
33 extern void uv__set_process_title(const char* title);96 int uv_set_process_title(const char* title) { in uv_set_process_title() argument105 len = strlen(title); in uv_set_process_title()116 memcpy(pt->str, title, len); in uv_set_process_title()
77 int uv_set_process_title(const char* title) { in uv_set_process_title() argument87 new_title = uv__strdup(title); in uv_set_process_title()
35 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
529 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
941 int uv_set_process_title(const char* title) { in uv_set_process_title() argument951 new_title = uv__strdup(title); in uv_set_process_title()
2051 void uv__set_process_title(const char* title) { in uv__set_process_title() argument2053 prctl(PR_SET_NAME, title); /* Only copies first 16 characters. */ in uv__set_process_title()
27 static void set_title(const char* title) { in set_title() argument34 err = uv_set_process_title(title); in set_title()40 ASSERT_OK(strcmp(buffer, title)); in set_title()
302 Store the program arguments. Required for getting / setting the process title315 Gets the title of the current process. You *must* call `uv_setup_args`319 If `size` cannot accommodate the process title and terminating `nul`324 title. The process title returned will be an empty string until either332 .. c:function:: int uv_set_process_title(const char* title)334 Sets the current process title. You *must* call `uv_setup_args` before337 platforms with a fixed size buffer for the process title the contents of338 `title` will be copied to the buffer and truncated if larger than the340 allocate enough space to duplicate the contents of `title`.
344 int uv_set_process_title(const char* title) { in uv_set_process_title() argument351 err = uv__convert_utf8_to_utf16(title, &title_w); in uv_set_process_title()367 process_title = uv__strdup(title); in uv_set_process_title()
242 test/test-process-title.c \243 test/test-process-title-threadsafe.c \
615 test/test-process-title-threadsafe.c616 test/test-process-title.c
2677 * test: speedup process-title-threadsafe on macOS (cjihrig)3116 * unix: modify argv[0] when process title is set (Matthew Taylor)3145 * doc: add thread safety warning for process title (Matthew Taylor)3147 * unix: always copy process title into local buffer (Matthew Taylor)
1272 UV_EXTERN int uv_set_process_title(const char* title);
Completed in 462 milliseconds