ARGSUSED */
| 494 | #ifdef COMPAT_FREEBSD10 |
| 495 | /* ARGSUSED */ |
| 496 | int |
| 497 | freebsd10_pipe(struct thread *td, struct freebsd10_pipe_args *uap __unused) |
| 498 | { |
| 499 | int error; |
| 500 | int fildes[2]; |
| 501 | |
| 502 | error = kern_pipe(td, fildes, 0, NULL, NULL); |
| 503 | if (error) |
| 504 | return (error); |
| 505 | |
| 506 | td->td_retval[0] = fildes[0]; |
| 507 | td->td_retval[1] = fildes[1]; |
| 508 | |
| 509 | return (0); |
| 510 | } |
| 511 | #endif |
| 512 | |
| 513 | int |
nothing calls this directly
no test coverage detected