projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history]
/
usr
/
src
/
lib
/
libc
/
sys
/
truncate.c
diff --git
a/usr/src/lib/libc/sys/truncate.c
b/usr/src/lib/libc/sys/truncate.c
index
b4038ca
..
0f6d24b
100644
(file)
--- a/
usr/src/lib/libc/sys/truncate.c
+++ b/
usr/src/lib/libc/sys/truncate.c
@@
-1,12
+1,12
@@
/*
/*
- * Copyright (c) 1992
The Regents of the University of California.
- * All rights reserved.
+ * Copyright (c) 1992
, 1993
+ *
The Regents of the University of California.
All rights reserved.
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
*
* %sccs.include.redist.c%
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)truncate.c
5.2
(Berkeley) %G%";
+static char sccsid[] = "@(#)truncate.c
8.1
(Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@
-22,5
+22,5
@@
truncate(path, length)
off_t length;
{
off_t length;
{
- return(__
indir
((quad_t)SYS_truncate, path, 0, length));
+ return(__
syscall
((quad_t)SYS_truncate, path, 0, length));
}
}