summaryrefslogtreecommitdiff
path: root/vos/vosish.h
diff options
context:
space:
mode:
authorPaul Green <Paul.Green@stratus.com>2002-01-21 18:27:00 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-22 16:46:48 +0000
commit7b2b351e8fdcd287739431e25ffed099b66cdee2 (patch)
treed3623ed182386393e0fbff60e55ca312c0573484 /vos/vosish.h
parentc68a00c0718023d4b3e2aa313bc06f7aa681515e (diff)
downloadperl-7b2b351e8fdcd287739431e25ffed099b66cdee2.tar.gz
Support truncate() in VOS port
Message-Id: <200201220428.XAA15304@mailhub1.stratus.com> p4raw-id: //depot/perl@14376
Diffstat (limited to 'vos/vosish.h')
-rw-r--r--vos/vosish.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vos/vosish.h b/vos/vosish.h
index cc5e4642e3..5befc6586a 100644
--- a/vos/vosish.h
+++ b/vos/vosish.h
@@ -6,3 +6,6 @@
/* The following declaration is an avoidance for posix-950. */
extern int ioctl (int fd, int request, ...);
+
+/* Specify a prototype for truncate() since we are supplying one. */
+extern int truncate (const char *path, off_t len);