Searched refs:readgood (Results 1 – 1 of 1) sorted by relevance
31 int readgood, wstat; in promptpass() local82 readgood = 0; in promptpass()84 red = read(p[0], passwd + readgood, MAXSECRETLEN-1 - readgood); in promptpass()91 readgood = -1; in promptpass()94 readgood += red; in promptpass()95 } while (readgood < MAXSECRETLEN - 1); in promptpass()96 passwd[readgood] = 0; in promptpass()107 if (readgood < 0) in promptpass()109 if (readgood > 0 && passwd[--readgood] == '\n') in promptpass()110 passwd[readgood] = '\0'; in promptpass()