Searched refs:PROCFS (Results 1 - 5 of 5) sorted by relevance

/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/
H A Dm_svr4.c90 #define PROCFS "/proc" macro
255 if (!(proc_dir = opendir (PROCFS)))
257 (void) fprintf (stderr, "Unable to open %s\n", PROCFS);
261 if (chdir (PROCFS))
263 (void) fprintf (stderr, "Unable to chdir to %s\n", PROCFS);
H A Dm_svr5.c96 #define PROCFS "/proc" macro
288 if (!(procdir = opendir (PROCFS)))
290 (void) fprintf (stderr, "Unable to open %s\n", PROCFS);
294 if (chdir (PROCFS))
296 (void) fprintf (stderr, "Unable to chdir to %s\n", PROCFS);
H A Dm_linux.c85 #define PROCFS "/proc" macro
346 if (statfs(PROCFS, &sb) < 0 || sb.f_type != PROC_SUPER_MAGIC)
348 fprintf(stderr, "%s: proc filesystem not mounted on " PROCFS "\n",
355 chdir(PROCFS);
H A Dm_linuxthr.c81 #define PROCFS "/proc" macro
319 if (statfs(PROCFS, &sb) < 0 || sb.f_type != PROC_SUPER_MAGIC)
321 fprintf(stderr, "%s: proc filesystem not mounted on " PROCFS "\n",
328 chdir(PROCFS);
H A Dm_sunos5.c129 #define PROCFS "/proc" macro
1381 if (!(procdir = opendir (PROCFS)))
1383 (void) fprintf (stderr, "Unable to open %s\n", PROCFS);
1387 if (chdir (PROCFS))
1389 (void) fprintf (stderr, "Unable to chdir to %s\n", PROCFS);

Completed in 110 milliseconds