Home / Function/ writev() — netty Function Reference

writev() — netty Function Reference

Architecture documentation for the writev() function in FileDescriptor.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3c6ee8af_d3e5_52a9_6fdf_ae66b7003d98["writev()"]
  5c6e37aa_7064_92fb_4b59_7b76ad32e403["FileDescriptor"]
  3c6ee8af_d3e5_52a9_6fdf_ae66b7003d98 -->|defined in| 5c6e37aa_7064_92fb_4b59_7b76ad32e403
  style 3c6ee8af_d3e5_52a9_6fdf_ae66b7003d98 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-unix-common/src/main/java/io/netty/channel/unix/FileDescriptor.java lines 113–119

    public final long writev(ByteBuffer[] buffers, int offset, int length, long maxBytesToWrite) throws IOException {
        long res = writev(fd, buffers, offset, min(IOV_MAX, length), maxBytesToWrite);
        if (res >= 0) {
            return res;
        }
        return ioResult("writev", (int) res);
    }

Domain

Subdomains

Frequently Asked Questions

What does writev() do?
writev() is a function in the netty codebase, defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/FileDescriptor.java.
Where is writev() defined?
writev() is defined in transport-native-unix-common/src/main/java/io/netty/channel/unix/FileDescriptor.java at line 113.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free