- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetCurrentProcess (0.23 sec)
-
src/internal/poll/fd_windows.go
}) return n, int(o.msg.Control.Len), err } func DupCloseOnExec(fd int) (int, string, error) { proc, err := syscall.GetCurrentProcess() if err != nil { return 0, "GetCurrentProcess", err } var nfd syscall.Handle const inherit = false // analogous to CLOEXEC
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 16:50:42 UTC 2024 - 34.1K bytes - Viewed (0) -
src/os/os_windows_test.go
if err = os.Remove(p); err != nil { t.Fatal(err) } } func TestReadStdin(t *testing.T) { old := poll.ReadConsole defer func() { poll.ReadConsole = old }() p, err := syscall.GetCurrentProcess() if err != nil { t.Fatalf("Unable to get handle to current process: %v", err) } var stdinDuplicate syscall.Handle
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.8K bytes - Viewed (0)