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

Function sys_pathconf

freebsd/kern/vfs_syscalls.c:2503–2514  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2501};
2502#endif
2503int
2504sys_pathconf(struct thread *td, struct pathconf_args *uap)
2505{
2506 long value;
2507 int error;
2508
2509 error = kern_pathconf(td, uap->path, UIO_USERSPACE, uap->name, FOLLOW,
2510 &value);
2511 if (error == 0)
2512 td->td_retval[0] = value;
2513 return (error);
2514}
2515
2516#ifndef _SYS_SYSPROTO_H_
2517struct lpathconf_args {

Callers

nothing calls this directly

Calls 1

kern_pathconfFunction · 0.85

Tested by

no test coverage detected