HomeSort by: relevance | last modified time | path
    Searched defs:PROCFS (Results 1 - 5 of 5) sorted by relevancy

  /src/external/bsd/top/dist/machine/
m_svr4.c 77 #include <sys/procfs.h>
90 #define PROCFS "/proc"
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);
m_linux.c 85 #define PROCFS "/proc"
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);
m_linuxthr.c 81 #define PROCFS "/proc"
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);
m_svr5.c 62 #include <sys/procfs.h>
96 #define PROCFS "/proc"
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);
m_sunos5.c 50 #include <sys/procfs.h>
93 #include <sys/procfs.h>
129 #define PROCFS "/proc"
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 24 milliseconds