Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PathMax (0.24 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    // Hand edited based on ztypes_linux_s390x.go
    // TODO: auto-generate.
    
    package unix
    
    const (
    	SizeofPtr      = 0x8
    	SizeofShort    = 0x2
    	SizeofInt      = 0x4
    	SizeofLong     = 0x8
    	SizeofLongLong = 0x8
    	PathMax        = 0x1000
    )
    
    const (
    	SizeofSockaddrAny   = 128
    	SizeofCmsghdr       = 12
    	SizeofIPMreq        = 8
    	SizeofIPv6Mreq      = 20
    	SizeofICMPv6Filter  = 32
    	SizeofIPv6MTUInfo   = 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. src/syscall/syscall_linux.go

    	return Utimes("/proc/self/fd/"+itoa.Itoa(fd), tv)
    }
    
    const ImplementsGetwd = true
    
    //sys	Getcwd(buf []byte) (n int, err error)
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	// Getcwd returns the number of bytes written to buf, including the NUL.
    	if n < 1 || n > len(buf) || buf[n-1] != 0 {
    		return "", EINVAL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	runtime.ExitSyscall()
    	n = clen(buf) + 1
    	if r0 == 0 {
    		err = errnoErr2(e1, e2)
    	}
    	return
    }
    
    func Getwd() (wd string, err error) {
    	var buf [PathMax]byte
    	n, err := Getcwd(buf[0:])
    	if err != nil {
    		return "", err
    	}
    	// Getcwd returns the number of bytes written to buf, including the NUL.
    	if n < 1 || n > len(buf) || buf[n-1] != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux.go

    // Code generated by mkmerge; DO NOT EDIT.
    
    //go:build linux
    
    package unix
    
    const (
    	SizeofShort    = 0x2
    	SizeofInt      = 0x4
    	SizeofLongLong = 0x8
    	PathMax        = 0x1000
    )
    
    type (
    	_C_short int16
    	_C_int   int32
    
    	_C_long_long int64
    )
    
    type ItimerSpec struct {
    	Interval Timespec
    	Value    Timespec
    }
    
    type Itimerval struct {
    	Interval Timeval
    	Value    Timeval
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 251K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ParseRoutingMessage", Func, 0},
    		{"ParseRoutingSockaddr", Func, 0},
    		{"ParseSocketControlMessage", Func, 0},
    		{"ParseUnixCredentials", Func, 0},
    		{"ParseUnixRights", Func, 0},
    		{"PathMax", Const, 0},
    		{"Pathconf", Func, 0},
    		{"Pause", Func, 0},
    		{"Pipe", Func, 0},
    		{"Pipe2", Func, 1},
    		{"PivotRoot", Func, 0},
    		{"Pointer", Type, 11},
    		{"PostQueuedCompletionStatus", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top