some checks for /proc

This commit is contained in:
Doug MacEachern committed 2005-02-13 05:46:10 +00:00
1 parent 00580471d5
commit 2d375e1f3f
2 files changed
+16

No files matched your search

+2
View File
@@ -28,9 +28,11 @@ struct sigar_t {
kvm_t *kmem;
/* offsets for seeking on kmem */
unsigned long koffsets[KOFFSET_MAX];
int proc_mounted;
#endif
};
#define SIGAR_EPERM_KMEM (SIGAR_OS_START_ERROR+1)
#define SIGAR_EPROC_NOENT (SIGAR_OS_START_ERROR+2)
#endif /* SIGAR_OS_H */