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

Function fo_truncate

freebsd/sys/file.h:341–347  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341static __inline int
342fo_truncate(struct file *fp, off_t length, struct ucred *active_cred,
343 struct thread *td)
344{
345
346 return ((*fp->f_ops->fo_truncate)(fp, length, active_cred, td));
347}
348
349static __inline int
350fo_ioctl(struct file *fp, u_long com, void *data, struct ucred *active_cred,

Callers 3

kern_ftruncateFunction · 0.85
kern_openatFunction · 0.85
kern_fhopenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected