summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_unistd.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2010-11-25 12:22:13 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2010-11-25 12:22:13 +0000
commitb655e8cacc8a0a02247ef8a841691af8ed1915f9 (patch)
tree7d10611bc9a9c3f1c060f7d13473e7ffe471c533 /ACE/ace/OS_NS_unistd.cpp
parent77344ee1fcf5bd15d03cfed03a243e6c352be563 (diff)
downloadATCD-b655e8cacc8a0a02247ef8a841691af8ed1915f9.tar.gz
Thu Nov 25 12:17:31 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS_NS_unistd.h: * ace/OS_NS_unistd.cpp: Removed not enabled ftruncate workaround * ace/Env_Value_T.h: Doxygen change * ace/OS_NS_sys_utsname.cpp: * ace/OS_NS_sys_wait.cpp: * ace/OS_NS_time.cpp: * ace/OS_NS_wchar.cpp: Layout changes
Diffstat (limited to 'ACE/ace/OS_NS_unistd.cpp')
-rw-r--r--ACE/ace/OS_NS_unistd.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/ACE/ace/OS_NS_unistd.cpp b/ACE/ace/OS_NS_unistd.cpp
index 49634400781..355d3fb7b80 100644
--- a/ACE/ace/OS_NS_unistd.cpp
+++ b/ACE/ace/OS_NS_unistd.cpp
@@ -22,22 +22,6 @@
# include "cpuset.h"
#endif /* ACE_HAS_VXCPULIB */
-#if defined (ACE_NEEDS_FTRUNCATE)
-extern "C" int
-ftruncate (ACE_HANDLE handle, long len)
-{
- struct flock fl;
- fl.l_whence = 0;
- fl.l_len = 0;
- fl.l_start = len;
- fl.l_type = F_WRLCK;
-
- return ACE_OS::fcntl (handle, F_FREESP, reinterpret_cast <long> (&fl));
-}
-#endif /* ACE_NEEDS_FTRUNCATE */
-
-/*****************************************************************************/
-
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
int