Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | uv__process_title |
Functions | |
void | uv__set_process_title (const char *title) |
static void | init_process_title_mutex_once (void) |
char ** | uv_setup_args (int argc, char **argv) |
int | uv_set_process_title (const char *title) |
int | uv_get_process_title (char *buffer, size_t size) |
void | uv__process_title_cleanup (void) |
Variables | |
static uv_mutex_t | process_title_mutex |
static uv_once_t | process_title_mutex_once = UV_ONCE_INIT |
static struct uv__process_title | process_title |
static void * | args_mem |
|
static |
Definition at line 41 of file proctitle.c.
References process_title_mutex, and uv_mutex_init().
Referenced by uv_get_process_title(), and uv_set_process_title().
void uv__process_title_cleanup | ( | void | ) |
void uv__set_process_title | ( | const char * | title | ) |
Definition at line 52 of file darwin-proctitle.c.
References err, int, noErr, NULL, out, S, and uv__pthread_setname_np().
Definition at line 129 of file proctitle.c.
References args_mem, init_process_title_mutex_once(), uv__process_title::len, memcpy(), NULL, process_title, process_title_mutex, process_title_mutex_once, uv__process_title::str, uv_mutex_lock(), uv_mutex_unlock(), and uv_once().
Definition at line 99 of file proctitle.c.
References args_mem, uv__process_title::cap, init_process_title_mutex_once(), len, uv__process_title::len, memcpy(), memset(), NULL, process_title, process_title_mutex, process_title_mutex_once, uv__process_title::str, uv_mutex_lock(), uv_mutex_unlock(), and uv_once().
char** uv_setup_args | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 46 of file proctitle.c.
References args_mem, argv, uv__process_title::cap, i, uv__process_title::len, loop, memcpy(), NULL, process_title, s, uv__process_title::str, and uv__malloc().
|
static |
Definition at line 38 of file proctitle.c.
Referenced by uv__process_title_cleanup(), uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
|
static |
Definition at line 36 of file proctitle.c.
Referenced by uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
|
static |
Definition at line 35 of file proctitle.c.
Referenced by init_process_title_mutex_once(), uv_get_process_title(), and uv_set_process_title().
|
static |
Definition at line 36 of file proctitle.c.
Referenced by uv_get_process_title(), and uv_set_process_title().