Lines Matching defs:Pr
38 pr_open(struct ps_prochandle *Pr, const char *filename, int flags, mode_t mode)
45 if (Pr == NULL) /* no subject process */
76 error = Psyscall(Pr, &rval, SYS_openat, 4, &argd[0]);
89 pr_creat(struct ps_prochandle *Pr, const char *filename, mode_t mode)
96 if (Pr == NULL) /* no subject process */
127 error = Psyscall(Pr, &rval, SYS_openat, 4, &argd[0]);
140 pr_close(struct ps_prochandle *Pr, int fd)
147 if (Pr == NULL) /* no subject process */
157 error = Psyscall(Pr, &rval, SYS_close, 1, &argd[0]);
170 pr_access(struct ps_prochandle *Pr, const char *path, int amode)
177 if (Pr == NULL) /* no subject process */
208 err = Psyscall(Pr, &rval, SYS_faccessat, 4, &argd[0]);