github.com/cilium/ebpf@v0.16.0/internal/unix/doc.go (about)

     1  // Package unix re-exports Linux specific parts of golang.org/x/sys/unix.
     2  //
     3  // It avoids breaking compilation on other OS by providing stubs as follows:
     4  //   - Invoking a function always returns an error.
     5  //   - Errnos have distinct, non-zero values.
     6  //   - Constants have distinct but meaningless values.
     7  //   - Types use the same names for members, but may or may not follow the
     8  //     Linux layout.
     9  package unix
    10  
    11  // Note: please don't add any custom API to this package. Use internal/sys instead.