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

Function freebsd6_truncate

freebsd/kern/vfs_syscalls.c:3446–3451  ·  view source on GitHub ↗

Versions with the pad argument */

Source from the content-addressed store, hash-verified

3444#if defined(COMPAT_FREEBSD6)
3445/* Versions with the pad argument */
3446int
3447freebsd6_truncate(struct thread *td, struct freebsd6_truncate_args *uap)
3448{
3449
3450 return (kern_truncate(td, uap->path, UIO_USERSPACE, uap->length));
3451}
3452
3453int
3454freebsd6_ftruncate(struct thread *td, struct freebsd6_ftruncate_args *uap)

Callers

nothing calls this directly

Calls 1

kern_truncateFunction · 0.85

Tested by

no test coverage detected