Home
last modified time | relevance | path

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

/external/mksh/src/
Dhistrap.c961 off_t sizenow; in writehistfile() local
966 if ((sizenow = lseek(histfd, (off_t)0, SEEK_END)) < 0) in writehistfile()
968 else if (sizenow < histfsize) { in writehistfile()
975 sizenow <= MKSH_MAXHISTFSIZE in writehistfile()
978 sizenow > histfsize in writehistfile()
981 bytes = (size_t)(sizenow - histfsize); in writehistfile()
982 base = (void *)mmap(NULL, (size_t)sizenow, PROT_READ, in writehistfile()
994 munmap(caddr_cast(base), (size_t)sizenow); in writehistfile()