Searched refs:PROCFS (Results 1 - 5 of 5) sorted by relevance
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/ |
H A D | m_svr4.c | 90 #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 D | m_svr5.c | 96 #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 D | m_linux.c | 85 #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 D | m_linuxthr.c | 81 #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 D | m_sunos5.c | 129 #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