Home
last modified time | relevance | path

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

/external/mksh/src/
Dhistrap.c963 off_t sizenow; in writehistfile() local
968 if ((sizenow = lseek(histfd, (off_t)0, SEEK_END)) < 0) in writehistfile()
970 else if (sizenow < histfsize) { in writehistfile()
977 sizenow <= MKSH_MAXHISTFSIZE in writehistfile()
980 sizenow > histfsize in writehistfile()
983 bytes = (size_t)(sizenow - histfsize); in writehistfile()
984 base = (void *)mmap(NULL, (size_t)sizenow, PROT_READ, in writehistfile()
996 munmap(caddr_cast(base), (size_t)sizenow); in writehistfile()