Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commandLineToArgv (0.18 sec)

  1. src/os/exec_windows.go

    		nslash = 0
    		b = append(b, c)
    	}
    	return appendBSBytes(b, nslash), ""
    }
    
    // commandLineToArgv splits a command line into individual argument
    // strings, following the Windows conventions documented
    // at http://daviddeley.com/autohotkey/parameters/parameters.htm#WINARGV
    func commandLineToArgv(cmd string) []string {
    	var args []string
    	for len(cmd) > 0 {
    		if cmd[0] == ' ' || cmd[0] == '\t' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/zsyscall_windows.go

    	r1, _, e1 := syscall.Syscall(procSetupUninstallOEMInfW.Addr(), 3, uintptr(unsafe.Pointer(infFileName)), uintptr(flags), uintptr(reserved))
    	if r1 == 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func commandLineToArgv(cmd *uint16, argc *int32) (argv **uint16, err error) {
    	r0, _, e1 := syscall.Syscall(procCommandLineToArgvW.Addr(), 2, uintptr(unsafe.Pointer(cmd)), uintptr(unsafe.Pointer(argc)), 0)
    	argv = (**uint16)(unsafe.Pointer(r0))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 195.8K bytes
    - Viewed (0)
Back to top