| 3370 | }; |
| 3371 | #endif |
| 3372 | int |
| 3373 | sys_truncate(struct thread *td, struct truncate_args *uap) |
| 3374 | { |
| 3375 | |
| 3376 | return (kern_truncate(td, uap->path, UIO_USERSPACE, uap->length)); |
| 3377 | } |
| 3378 | |
| 3379 | int |
| 3380 | kern_truncate(struct thread *td, const char *path, enum uio_seg pathseg, |
nothing calls this directly
no test coverage detected