int fd;
off_t length;
{
- quad_t __syscall __P((quad_t, ...));
return(__syscall((quad_t)SYS_ftruncate, fd, 0, length));
}
off_t offset;
int whence;
{
- extern quad_t __syscall();
+ extern off_t __syscall();
return(__syscall((quad_t)SYS_lseek, fd, 0, offset, whence));
}
int fd;
off_t offset;
{
- quad_t __syscall __P((quad_t, ...));
return((caddr_t)(long)__syscall((quad_t)SYS_mmap, addr, len, prot,
flags, fd, 0, offset));
const char *path;
off_t length;
{
- quad_t __syscall __P((quad_t, ...));
return(__syscall((quad_t)SYS_truncate, path, 0, length));
}