MCPcopy Create free account
hub / github.com/F-Stack/f-stack / sys_truncate

Function sys_truncate

freebsd/kern/vfs_syscalls.c:3372–3377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

kern_truncateFunction · 0.85

Tested by

no test coverage detected