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

Function ocreat

freebsd/kern/vfs_syscalls.c:1237–1243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235};
1236#endif
1237int
1238ocreat(struct thread *td, struct ocreat_args *uap)
1239{
1240
1241 return (kern_openat(td, AT_FDCWD, uap->path, UIO_USERSPACE,
1242 O_WRONLY | O_CREAT | O_TRUNC, uap->mode));
1243}
1244#endif /* COMPAT_43 */
1245
1246/*

Callers

nothing calls this directly

Calls 1

kern_openatFunction · 0.70

Tested by

no test coverage detected