Lines Matching refs:ret
63 int idx, len, ret;
70 ret = rename(filebase, buf);
71 if (ret < 0 && errno != ENOENT)
83 int idx, len, ret;
90 ret = remove(buf);
91 if (ret < 0 && errno != ENOENT)
102 int ret;
114 ret = write(*fd, "test\n", 5);
115 if (ret != 5)
146 int ret;
149 ret = stat(filebase, &st);
150 if (ret == 0 && (st.st_nlink > 2 || st.st_nlink < 1)) {