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

Function freebsd10_pipe

freebsd/kern/sys_pipe.c:496–510  ·  view source on GitHub ↗

ARGSUSED */

Source from the content-addressed store, hash-verified

494#ifdef COMPAT_FREEBSD10
495/* ARGSUSED */
496int
497freebsd10_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
513int

Callers

nothing calls this directly

Calls 1

kern_pipeFunction · 0.85

Tested by

no test coverage detected