github.com/aloncn/graphics-go@v0.0.1/src/runtime/stubs_android.go (about)

     1  package runtime
     2  
     3  import "unsafe"
     4  
     5  // Return values of access/connect/socket are the return values of the syscall
     6  // (may encode error numbers).
     7  
     8  // int access(const char *, int)
     9  //go:noescape
    10  func access(name *byte, mode int32) int32
    11  
    12  // int connect(int, const struct sockaddr*, socklen_t)
    13  func connect(fd int32, addr unsafe.Pointer, len int32) int32
    14  
    15  // int socket(int, int, int)
    16  func socket(domain int32, typ int32, prot int32) int32