Searched refs:MAX_PROCTITLE (Results 1 – 1 of 1) sorted by relevance
57 #define MAX_PROCTITLE 2048 macro77 char buf[MAX_PROCTITLE]; in setproctitle()86 used = snprintf(buf, MAX_PROCTITLE, "%s: ", __progname); in setproctitle()87 if (used >= MAX_PROCTITLE) in setproctitle()88 used = MAX_PROCTITLE - 1; in setproctitle()89 (void)vsnprintf(buf + used, MAX_PROCTITLE - used, fmt, ap); in setproctitle()91 (void)snprintf(buf, MAX_PROCTITLE, "%s", __progname); in setproctitle()