Searched refs:toWrite (Results 1 – 2 of 2) sorted by relevance
94 ssize_t toWrite = len; in ConsoleOutput() local97 cnt = write(STDOUT_FILENO, str + written, (size_t)toWrite); in ConsoleOutput()98 … if ((cnt < 0) || ((cnt == 0) && ((!OsPreemptable()) || (OS_INT_ACTIVE))) || (toWrite == cnt)) { in ConsoleOutput()102 toWrite -= cnt; in ConsoleOutput()
174 size_t size, written, toWrite; in osShellCmdDoCatShow() local196 for (toWrite = size, written = 0; toWrite > 0;) { in osShellCmdDoCatShow()197 cnt = write(1, buf + written, toWrite); in osShellCmdDoCatShow()208 toWrite -= cnt; in osShellCmdDoCatShow()