Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dsetproctitle.c57 #define MAX_PROCTITLE 2048 macro
77 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()