Lines Matching defs:buf
51 int fstat(int fd, struct stat *buf)
60 return stat(filep->f_path, buf);
63 int fstat64(int fd, struct stat64 *buf)
72 return stat64(filep->f_path, buf);
216 * @param buf the returned current directory.
222 char *getcwd(char *buf, size_t n)
230 if (buf == NULL) {
232 return buf;
242 ret = memcpy_s(buf, n, curr->files->workdir, len + 1);
253 return buf;
296 struct stat buf;
312 ret = stat(path, &buf);
317 if (VfsPermissionCheck(buf.st_uid, buf.st_gid, buf.st_mode, amode)) {
683 struct stat buf;
692 result = stat(new_path, &buf);