Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for errorspkg (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Fork, exec, wait, etc.
    
    package windows
    
    import (
    	errorspkg "errors"
    	"unsafe"
    )
    
    // EscapeArg rewrites command line argument s as prescribed
    // in http://msdn.microsoft.com/en-us/library/ms880421.
    // This function returns "" (2 double quotes) if s is empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. src/syscall/exec_unix.go

    	// Both Setctty and Foreground use the Ctty field,
    	// but they give it slightly different meanings.
    	if sys.Setctty && sys.Foreground {
    		return 0, errorspkg.New("both Setctty and Foreground set in SysProcAttr")
    	}
    	if sys.Setctty && sys.Ctty >= len(attr.Files) {
    		return 0, errorspkg.New("Setctty set but Ctty not valid in child")
    	}
    
    	acquireForkLock()
    
    	// Allocate child status pipe close on exec.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_js.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build js && wasm
    
    package syscall
    
    import (
    	errorspkg "errors"
    	"internal/itoa"
    	"internal/oserror"
    	"sync"
    	"unsafe"
    )
    
    const direntSize = 8 + 8 + 2 + 256
    
    type Dirent struct {
    	Reclen uint16
    	Name   [256]byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top