diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-07-15 15:13:13 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-07-15 15:13:13 (GMT) |
commit | c40dc777a7da925cee445899b57c4954996eb06d (patch) | |
tree | a4b956d7e21d319cc25c330889868240a1a6db7e /src/H5private.h | |
parent | f10e0cc1ebc3204e551b1149ec3b9cd2955808d3 (diff) | |
download | hdf5-c40dc777a7da925cee445899b57c4954996eb06d.zip hdf5-c40dc777a7da925cee445899b57c4954996eb06d.tar.gz hdf5-c40dc777a7da925cee445899b57c4954996eb06d.tar.bz2 |
[svn-r5793] Purpose:
Code cleanup
Description:
Changed a few direct calls to posix functions to use proper wrapper macros.
Also, changed method of extending file to use ftruncate().
Platforms tested:
FreeBSD 4.6 (sleipnir) && IRIX64 6.5 (modi4)
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5private.h b/src/H5private.h index 41b9a16..65b37c3 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -571,6 +571,7 @@ typedef struct _stati64 h5_stat_t; typedef struct stat h5_stat_t; #endif #define HDftell(F) ftell(F) +#define HDftruncate(F,L) ftruncate(F,L) #define HDfwrite(M,Z,N,F) fwrite(M,Z,N,F) #define HDgetc(F) getc(F) #define HDgetchar() getchar() |