use SIGAR_FIELD_NOTIMPL constant in place of -1 or 0 for fields which are not implemented for a given platform

This commit is contained in:
Doug MacEachern committed 2004-12-05 23:36:48 +00:00
1 parent 136f564d4b
commit dfdff8b635
9 files changed
+91 -85

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ typedef unsigned long long sigar_uint64_t;
#endif
#define SIGAR_FIELD_NOTIMPL -1
#define SIGAR_OK 0
#define SIGAR_START_ERROR 20000
#define SIGAR_ENOTIMPL (SIGAR_START_ERROR + 1)