Home
last modified time | relevance | path

Searched refs:st_buf (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dhistory.c1116 struct stat st_buf; in read_hrecs_file() local
1125 if (fstat (fd, &st_buf) < 0) in read_hrecs_file()
1131 if (!(st_buf.st_size)) in read_hrecs_file()
1137 cpstart = xnmalloc (2, STAT_BLOCKSIZE (st_buf)); in read_hrecs_file()
1148 if (nl - cp >= STAT_BLOCKSIZE (st_buf)) in read_hrecs_file()
1151 (unsigned long) STAT_BLOCKSIZE(st_buf)); in read_hrecs_file()
1157 i = read (fd, nl, STAT_BLOCKSIZE(st_buf)); in read_hrecs_file()
/netbsd-src/external/gpl3/binutils/dist/binutils/
H A Delfedit.c83 struct stat st_buf; in update_gnu_property() local
97 if (fstat (fileno (file), &st_buf) < 0) in update_gnu_property()
103 map = mmap (NULL, st_buf.st_size, PROT_READ | PROT_WRITE, in update_gnu_property()
249 munmap (map, st_buf.st_size); in update_gnu_property()
/netbsd-src/external/gpl3/binutils.old/dist/binutils/
H A Delfedit.c83 struct stat st_buf; in update_gnu_property() local
97 if (fstat (fileno (file), &st_buf) < 0) in update_gnu_property()
103 map = mmap (NULL, st_buf.st_size, PROT_READ | PROT_WRITE, in update_gnu_property()
249 munmap (map, st_buf.st_size); in update_gnu_property()