Lines Matching refs:pathname
567 char *pathname;
570 /* 1. Parameter: Ptr to pathname / length incl. trailing zero */
591 /* Request pathname using 'm' packet */
592 pathname = alloca (length);
593 retlength = remote_read_bytes (ptrval, pathname, length);
600 /* Check if pathname exists and is not a regular file or directory. If so,
603 if (!stat (pathname, &st))
619 fd = open (pathname, flags, mode);
997 char *pathname;
1001 /* Parameter: Ptr to pathname / length incl. trailing zero */
1007 /* Request pathname using 'm' packet */
1008 pathname = alloca (length);
1009 retlength = remote_read_bytes (ptrval, pathname, length);
1018 if (!stat (pathname, &st) && !S_ISREG (st.st_mode) && !S_ISDIR (st.st_mode))
1025 ret = unlink (pathname);
1038 char *pathname;
1043 /* 1. Parameter: Ptr to pathname / length incl. trailing zero */
1049 /* Request pathname using 'm' packet */
1050 pathname = alloca (length);
1051 retlength = remote_read_bytes (ptrval, pathname, length);
1067 ret = stat (pathname, &st);