diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-06-18 23:15:53 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-06-18 23:15:53 (GMT) |
commit | 52ac5273d5dddb7076e6c75d2e9f538f0d77aa1d (patch) | |
tree | 6936eb62fbc641e43f94fe3ecd1752a24508a594 /src/H5private.h | |
parent | d41b9fffdfca2e97c36bc0ad0899fbb7b055f926 (diff) | |
download | hdf5-52ac5273d5dddb7076e6c75d2e9f538f0d77aa1d.zip hdf5-52ac5273d5dddb7076e6c75d2e9f538f0d77aa1d.tar.gz hdf5-52ac5273d5dddb7076e6c75d2e9f538f0d77aa1d.tar.bz2 |
[svn-r4013] Purpose:
POSIX Removal
Description:
Removed calls to POSIX functions and replaced them with the HD*
equivalents.
Solution:
Did just that. Also had to create two new HD* macros, the
gettimeofday() and getrusage()
Platforms tested:
Linux
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index fcaf4c2..fb05118 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -588,7 +588,9 @@ __DLL__ int HDfprintf (FILE *stream, const char *fmt, ...); #define HDgetppid() getppid() #define HDgetpwnam(S) getpwnam(S) #define HDgetpwuid(U) getpwuid(U) +#define HDgetrusage(X,S) getrusage(X,S) #define HDgets(S) gets(S) +#define HDgettimeofday(S,P) gettimeofday(S,P) #define HDgetuid() getuid() #define HDgmtime(T) gmtime(T) #define HDisalnum(C) isalnum((int)(C)) /*cast for solaris warning*/ |