func syscall.Getpid
5 uses
syscall (current package)
syscall_linux.go#L1296: if err == nil && newlimit != nil && resource == RLIMIT_NOFILE && (pid == 0 || pid == Getpid()) {
zsyscall_linux_amd64.go#L500: func Getpid() (pid int) {
os
exec.go#L286: func Getpid() int { return syscall.Getpid() }
pidfd_linux.go#L164: fd, err := unix.PidFDOpen(syscall.Getpid(), 0)
time
sys_unix.go#L23: syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |