| 1235 | }; |
| 1236 | #endif |
| 1237 | int |
| 1238 | ocreat(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 | /* |
nothing calls this directly
no test coverage detected