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

Function sys_lpathconf

freebsd/kern/vfs_syscalls.c:2522–2533  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2520};
2521#endif
2522int
2523sys_lpathconf(struct thread *td, struct lpathconf_args *uap)
2524{
2525 long value;
2526 int error;
2527
2528 error = kern_pathconf(td, uap->path, UIO_USERSPACE, uap->name,
2529 NOFOLLOW, &value);
2530 if (error == 0)
2531 td->td_retval[0] = value;
2532 return (error);
2533}
2534
2535int
2536kern_pathconf(struct thread *td, const char *path, enum uio_seg pathseg,

Callers

nothing calls this directly

Calls 1

kern_pathconfFunction · 0.85

Tested by

no test coverage detected