Home
last modified time | relevance | path

Searched refs:title (Results 1 – 15 of 15) sorted by relevance

/libuv/src/unix/
H A Dbsd-proctitle.c52 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
55 new_title = uv__strdup(title); in uv_set_process_title()
64 setproctitle("%s", title); in uv_set_process_title()
H A Ddarwin-proctitle.c36 int uv__set_process_title(const char* title) { in uv__set_process_title() argument
38 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()
H A Dproctitle.c33 extern void uv__set_process_title(const char* title);
96 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
105 len = strlen(title); in uv_set_process_title()
116 memcpy(pt->str, title, len); in uv_set_process_title()
H A Dos390-proctitle.c77 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
87 new_title = uv__strdup(title); in uv_set_process_title()
H A Dno-proctitle.c35 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
H A Dibmi.c529 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
H A Daix.c941 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
951 new_title = uv__strdup(title); in uv_set_process_title()
H A Dlinux.c2051 void uv__set_process_title(const char* title) { in uv__set_process_title() argument
2053 prctl(PR_SET_NAME, title); /* Only copies first 16 characters. */ in uv__set_process_title()
/libuv/test/
H A Dtest-process-title.c27 static void set_title(const char* title) { in set_title() argument
34 err = uv_set_process_title(title); in set_title()
40 ASSERT_OK(strcmp(buffer, title)); in set_title()
/libuv/docs/src/
H A Dmisc.rst302 Store the program arguments. Required for getting / setting the process title
315 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 either
332 .. c:function:: int uv_set_process_title(const char* title)
334 Sets the current process title. You *must* call `uv_setup_args` before
337 platforms with a fixed size buffer for the process title the contents of
338 `title` will be copied to the buffer and truncated if larger than the
340 allocate enough space to duplicate the contents of `title`.
/libuv/src/win/
H A Dutil.c344 int uv_set_process_title(const char* title) { in uv_set_process_title() argument
351 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()
/libuv/
H A DMakefile.am242 test/test-process-title.c \
243 test/test-process-title-threadsafe.c \
H A DCMakeLists.txt615 test/test-process-title-threadsafe.c
616 test/test-process-title.c
H A DChangeLog2677 * 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)
/libuv/include/
H A Duv.h1272 UV_EXTERN int uv_set_process_title(const char* title);

Completed in 462 milliseconds