| 467 | }; |
| 468 | #endif |
| 469 | int |
| 470 | sys_writev(struct thread *td, struct writev_args *uap) |
| 471 | { |
| 472 | struct uio *auio; |
| 473 | int error; |
| 474 | |
| 475 | error = copyinuio(uap->iovp, uap->iovcnt, &auio); |
| 476 | if (error) |
| 477 | return (error); |
| 478 | error = kern_writev(td, uap->fd, auio); |
| 479 | free(auio, M_IOV); |
| 480 | return (error); |
| 481 | } |
| 482 | |
| 483 | int |
| 484 | kern_writev(struct thread *td, int fd, struct uio *auio) |
nothing calls this directly
no test coverage detected