Searched refs:filesize (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/3d/
H A Dcopy.c57 ssize_t filesize; local
71 if ((filesize = st->st_size) <= 0)
72 filesize = 1;
74 mapsize = (filesize < COPYMAP) ? filesize : COPYMAP;
75 if ((filesize > COPYBUF) && ((mapbuf = mmap((caddr_t)0, mapsize, PROT_READ, MAP_SHARED, rfd, 0)) != ((caddr_t)-1)))
86 filesize -= mapsize;
87 if (filesize <= 0) break;
89 if (filesize < mapsize) mapsize = filesize;
[all...]
/ast/src/cmd/mailx/
H A Dcollect.c214 if (!filesize(nf)) {
811 if (filesize(fp) && (s = deadletter()) && (dp = fileopen(s, "Ma"))) {
H A Dlex.c183 state.mailsize = filesize(ibuf);
222 if (!(newsize = filesize(fp)))
H A Dmailx.h943 extern off_t filesize(FILE*);
H A Dsend.c473 if (!filesize(letter.fp))
H A Dfio.c555 filesize(FILE* fp) function

Completed in 23 milliseconds