25 #include <sys/types.h>
57 if (new_title ==
NULL)
static void init_process_title_mutex_once(void)
void uv__process_title_cleanup(void)
static uv_once_t process_title_mutex_once
char ** uv_setup_args(int argc, char **argv)
static char * process_title
int uv_set_process_title(const char *title)
int uv_get_process_title(char *buffer, size_t size)
static uv_mutex_t process_title_mutex
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
static static fork const void static count static fd const char const char static newpath char char argv
int void setproctitle(const char *name,...)
pthread_mutex_t uv_mutex_t
char * uv__strdup(const char *s)
UV_EXTERN void uv_mutex_lock(uv_mutex_t *handle)
UV_EXTERN void uv_once(uv_once_t *guard, void(*callback)(void))
UV_EXTERN void uv_mutex_unlock(uv_mutex_t *handle)
UV_EXTERN int uv_mutex_init(uv_mutex_t *handle)