Lines Matching defs:pid
75 static pid_t pid;
108 /* XXX we should check that the pid argument is really a number */
111 pid = atoi(argv[0]);
115 name[3] = pid;
122 pid = atoi(argv[1]);
134 if (((*d)->ident)(efd, pid, binfile)) {
143 (void)snprintf(fname, sizeof(fname), "core.%d", pid);
152 * SIGINT and SIGTERM (to be passed to the target pid), and then
165 dumper->dump(efd, fd, pid);
175 (void)fprintf(stderr, "usage: gcore [-s] [-c core] [executable] pid\n");