| 73 | } |
| 74 | |
| 75 | static int |
| 76 | ngctl_recvfrom(struct recvfrom_args *uap) |
| 77 | { |
| 78 | int error = sys_recvfrom(curthread, uap); |
| 79 | if (error) { |
| 80 | ff_os_errno(error); |
| 81 | return (-1); |
| 82 | } |
| 83 | return curthread->td_retval[0]; |
| 84 | } |
| 85 | |
| 86 | static int |
| 87 | ngctl_sendto(struct sendto_args *uap) |
no test coverage detected