Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static void | init_process_title_mutex_once (void) |
void | uv__process_title_cleanup (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) |
Variables | |
static uv_mutex_t | process_title_mutex |
static uv_once_t | process_title_mutex_once = UV_ONCE_INIT |
static char * | process_title |
|
static |
Definition at line 34 of file bsd-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 | ) |
Definition at line 40 of file bsd-proctitle.c.
Definition at line 73 of file bsd-proctitle.c.
References init_process_title_mutex_once(), len, memcpy(), NULL, process_title, process_title_mutex, process_title_mutex_once, uv_mutex_lock(), uv_mutex_unlock(), and uv_once().
Definition at line 53 of file bsd-proctitle.c.
References init_process_title_mutex_once(), NULL, process_title, process_title_mutex, process_title_mutex_once, setproctitle(), uv__free(), uv__strdup(), uv_mutex_lock(), uv_mutex_unlock(), and uv_once().
char** uv_setup_args | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 47 of file bsd-proctitle.c.
References argv, NULL, process_title, and uv__strdup().
|
static |
Definition at line 31 of file bsd-proctitle.c.
Referenced by uv_get_process_title(), uv_set_process_title(), and uv_setup_args().
|
static |
Definition at line 29 of file bsd-proctitle.c.
Referenced by init_process_title_mutex_once(), uv_get_process_title(), and uv_set_process_title().
|
static |
Definition at line 30 of file bsd-proctitle.c.
Referenced by uv_get_process_title(), and uv_set_process_title().