| 506 | }; |
| 507 | #endif |
| 508 | int |
| 509 | sys_pwritev(struct thread *td, struct pwritev_args *uap) |
| 510 | { |
| 511 | struct uio *auio; |
| 512 | int error; |
| 513 | |
| 514 | error = copyinuio(uap->iovp, uap->iovcnt, &auio); |
| 515 | if (error) |
| 516 | return (error); |
| 517 | error = kern_pwritev(td, uap->fd, auio, uap->offset); |
| 518 | free(auio, M_IOV); |
| 519 | return (error); |
| 520 | } |
| 521 | |
| 522 | int |
| 523 | kern_pwritev(struct thread *td, int fd, struct uio *auio, off_t offset) |
nothing calls this directly
no test coverage detected