/* * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)truncate.c 5.1 (Berkeley) 07/09/92"; #endif /* LIBC_SCCS and not lint */ #include #include /* * This function provides 64-bit offset padding that * is not supplied by GCC 1.X but is supplied by GCC 2.X. */ int __truncate(path, length) char *path; off_t length; { return(__indir((quad_t)SYS___truncate, path, 0, length)); }