Home
last modified time | relevance | path

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

/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libc/gen/
H A Dsetproctitle.c42 #define MAX_PROCTITLE 2048 macro
50 static char buf[MAX_PROCTITLE], *bufp = buf; in setproctitle()
55 used = snprintf(buf, MAX_PROCTITLE, "%s: ", __progname); in setproctitle()
56 if (used >= MAX_PROCTITLE) in setproctitle()
57 used = MAX_PROCTITLE - 1; in setproctitle()
60 (void)vsnprintf(buf + used, MAX_PROCTITLE - used, fmt, ap); in setproctitle()
62 (void)snprintf(buf, MAX_PROCTITLE, "%s", __progname); in setproctitle()
/dports/net/nylon/nylon-1.21/src/
H A Dsetproctitle.c65 #define MAX_PROCTITLE 2048 macro
85 char buf[MAX_PROCTITLE]; in setproctitle()
94 used = snprintf(buf, MAX_PROCTITLE, "%s: ", __progname); in setproctitle()
95 if (used >= MAX_PROCTITLE) in setproctitle()
96 used = MAX_PROCTITLE - 1; in setproctitle()
97 (void)vsnprintf(buf + used, MAX_PROCTITLE - used, fmt, ap); in setproctitle()
99 (void)snprintf(buf, MAX_PROCTITLE, "%s", __progname); in setproctitle()
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/gen/
H A Dsetproctitle.c55 #define MAX_PROCTITLE 2048 macro
66 static char buf[MAX_PROCTITLE], *bufp; in setproctitle()