Lines Matching refs:ps_strings
39 * Older FreeBSD 2.0, 2.1 and 2.2 had different ps_strings structures and
43 * 3: ps_strings at the very top of the stack.
44 * We only support a kernel providing #3 style ps_strings.
46 * For historical purposes, a definition of the old ps_strings structure
65 static struct ps_strings *ps_strings;
132 if (ps_strings == NULL) {
134 if (sysctlbyname("kern.ps_strings", &ul_ps_strings, &len, NULL,
137 ps_strings = (struct ps_strings *)ul_ps_strings;
144 if (ps_strings->ps_argvstr == NULL)
150 oargc = ps_strings->ps_nargvstr;
151 oargv = ps_strings->ps_argvstr;
172 ps_strings->ps_nargvstr = nargc;
173 ps_strings->ps_argvstr = nargvp;