Lines Matching refs:st
664 struct stat st;
669 st.st_size = 0;
676 st.st_size = -1;
678 st.st_blksize = BUFSIZ;
687 (fstat(fileno(fin), &st) < 0 || (st.st_mode & S_IFMT) != S_IFREG)) {
711 dout = dataconn(name, st.st_size, "w");
715 send_data(fin, dout, st.st_blksize);
729 struct stat st;
732 if (unique && stat(name, &st) == 0 &&
1178 struct stat st;
1180 if (stat(name, &st) < 0) {
1184 if ((st.st_mode & S_IFMT) == S_IFDIR) {
1235 struct stat st;
1237 if (stat(name, &st) < 0) {
1371 struct stat st;
1377 if (stat(cp ? local : ".", &st) < 0) {
1388 if (stat(new, &st) < 0)
1411 struct stat st;
1443 if (stat(dirname, &st) < 0) {
1460 if ((st.st_mode & S_IFMT) == S_IFREG) {
1472 if ((st.st_mode & S_IFMT) != S_IFDIR)
1490 if (simple || (stat(nbuf, &st) == 0 &&
1491 (st.st_mode & S_IFMT) == S_IFREG)) {