… | |
… | |
2528 | retval = &PL_sv_undef; |
2528 | retval = &PL_sv_undef; |
2529 | #endif |
2529 | #endif |
2530 | XPUSHs (retval); |
2530 | XPUSHs (retval); |
2531 | } |
2531 | } |
2532 | |
2532 | |
2533 | int |
2533 | ssize_t |
2534 | splice (aio_rfd rfh, SV *off_in, aio_wfd wfh, SV *off_out, size_t length, unsigned int flags) |
2534 | splice (aio_rfd rfh, SV *off_in, aio_wfd wfh, SV *off_out, size_t length, unsigned int flags) |
2535 | CODE: |
2535 | CODE: |
2536 | { |
2536 | { |
2537 | #if HAVE_LINUX_SPLICE |
2537 | #if HAVE_LINUX_SPLICE |
2538 | loff_t off_in_, off_out_; |
2538 | loff_t off_in_, off_out_; |
… | |
… | |
2546 | #endif |
2546 | #endif |
2547 | } |
2547 | } |
2548 | OUTPUT: |
2548 | OUTPUT: |
2549 | RETVAL |
2549 | RETVAL |
2550 | |
2550 | |
2551 | int |
2551 | ssize_t |
2552 | tee (aio_rfd rfh, aio_wfd wfh, size_t length, unsigned int flags) |
2552 | tee (aio_rfd rfh, aio_wfd wfh, size_t length, unsigned int flags) |
2553 | CODE: |
2553 | CODE: |
2554 | #if HAVE_LINUX_SPLICE |
2554 | #if HAVE_LINUX_SPLICE |
2555 | RETVAL = tee (rfh, wfh, length, flags); |
2555 | RETVAL = tee (rfh, wfh, length, flags); |
2556 | #else |
2556 | #else |