1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

Add a naive /bin/fgrep for testing pipes.

This commit is contained in:
Andreas Kling 2018-11-11 20:42:41 +01:00
parent d5d45d1088
commit 18e3ddf605
8 changed files with 56 additions and 8 deletions

View file

@ -20,7 +20,7 @@ ssize_t TTY::read(byte* buffer, size_t size)
if (nread == (ssize_t)m_buffer.size())
m_buffer.clear();
else {
dbgprintf("had %u, read %u\n", m_buffer.size(), nread);
kprintf("had %u, read %u\n", m_buffer.size(), nread);
ASSERT_NOT_REACHED();
}
return nread;