From 7b2b351e8fdcd287739431e25ffed099b66cdee2 Mon Sep 17 00:00:00 2001 From: Paul Green Date: Mon, 21 Jan 2002 18:27:00 -0500 Subject: Support truncate() in VOS port Message-Id: <200201220428.XAA15304@mailhub1.stratus.com> p4raw-id: //depot/perl@14376 --- vos/vosish.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vos/vosish.h') 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); -- cgit v1.2.1