Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for libc_sendfile (0.14 sec)

  1. src/internal/poll/sendfile_solaris.go

    // license that can be found in the LICENSE file.
    
    package poll
    
    import "syscall"
    
    // Not strictly needed, but very helpful for debugging, see issue #10221.
    //
    //go:cgo_import_dynamic _ _ "libsendfile.so"
    //go:cgo_import_dynamic _ _ "libsocket.so"
    
    // maxSendfileSize is the largest chunk size we ask the kernel to copy
    // at a time.
    const maxSendfileSize int = 4 << 20
    
    // SendFile wraps the sendfile system call.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top