summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-23 23:53:33 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-23 23:53:33 +0000
commit042c7cf849f92c5b956c38942d99b202072d1282 (patch)
treeef1406f0ea8b37988ccddb27d588237521b8ef23 /include/unistd.h
parent4e766ab43ca45164c6231fe99f2f28b5f1e7b549 (diff)
Fix a few more screwups.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 2fc3fac32..85b49297a 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -183,6 +183,10 @@ extern __pid_t vfork __P ((void));
which is not necessarily the same as the hardware page size. */
extern int getpagesize __P ((void)) __attribute__ ((__const__));
+extern int truncate __P ((const char *path, off_t length));
+extern int ftruncate __P ((int fd, off_t length));
+
+
#ifdef __USE_POSIX2
/* Get definitions and prototypes for functions to process the
arguments in ARGV (ARGC of them, minus the program name) for