diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2006-10-26 23:07:24 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2006-10-26 23:07:24 +0000 |
commit | ec9496bea543bd5ebb9214880c056b95446b6b13 (patch) | |
tree | f13a58e9814886bf7627a4f566caa7425bd61a25 /ACE/ace/OS_NS_stdio.h | |
parent | d4ce64ef75457044ad7a9334f787d24fbb4c0a23 (diff) | |
download | ATCD-ec9496bea543bd5ebb9214880c056b95446b6b13.tar.gz |
ChangeLogTag:Thu Oct 27 01:59:19 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'ACE/ace/OS_NS_stdio.h')
-rw-r--r-- | ACE/ace/OS_NS_stdio.h | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/ACE/ace/OS_NS_stdio.h b/ACE/ace/OS_NS_stdio.h index 86366e0948f..bc3e5569fcf 100644 --- a/ACE/ace/OS_NS_stdio.h +++ b/ACE/ace/OS_NS_stdio.h @@ -86,8 +86,8 @@ struct flock { short l_type; short l_whence; - off_t l_start; - off_t l_len; /* len == 0 means until end of file */ + ACE_OFF_T l_start; + ACE_OFF_T l_len; /* len == 0 means until end of file */ long l_sysid; pid_t l_pid; long l_pad[4]; /* reserve area */ @@ -187,8 +187,8 @@ namespace ACE_OS { ACE_NAMESPACE_INLINE_FUNCTION void flock_adjust_params (ace_flock_t *lock, short whence, - off_t &start, - off_t &len); + ACE_OFF_T &start, + ACE_OFF_T &len); # endif /* ACE_WIN32 */ ACE_NAMESPACE_INLINE_FUNCTION @@ -204,32 +204,32 @@ namespace ACE_OS { ACE_NAMESPACE_INLINE_FUNCTION int flock_rdlock (ace_flock_t *lock, short whence = 0, - off_t start = 0, - off_t len = 0); + ACE_OFF_T start = 0, + ACE_OFF_T len = 0); ACE_NAMESPACE_INLINE_FUNCTION int flock_tryrdlock (ace_flock_t *lock, short whence = 0, - off_t start = 0, - off_t len = 0); + ACE_OFF_T start = 0, + ACE_OFF_T len = 0); ACE_NAMESPACE_INLINE_FUNCTION int flock_trywrlock (ace_flock_t *lock, short whence = 0, - off_t start = 0, - off_t len = 0); + ACE_OFF_T start = 0, + ACE_OFF_T len = 0); ACE_NAMESPACE_INLINE_FUNCTION int flock_unlock (ace_flock_t *lock, short whence = 0, - off_t start = 0, - off_t len = 0); + ACE_OFF_T start = 0, + ACE_OFF_T len = 0); ACE_NAMESPACE_INLINE_FUNCTION int flock_wrlock (ace_flock_t *lock, short whence = 0, - off_t start = 0, - off_t len = 0); + ACE_OFF_T start = 0, + ACE_OFF_T len = 0); //@} @@ -276,11 +276,6 @@ namespace ACE_OS { ACE_NAMESPACE_INLINE_FUNCTION void set_win32_resource_module (HINSTANCE); - /// Translate fopen's mode char to open's mode. This helper function - /// is here to avoid maintaining several pieces of identical code. - ACE_NAMESPACE_INLINE_FUNCTION - void fopen_mode_to_open_mode_converter (ACE_TCHAR x, int &hmode); - extern ACE_Export ACE_TEXT_OSVERSIONINFO win32_versioninfo_; extern ACE_Export HINSTANCE win32_resource_module_; |