Age | Commit message (Collapse) | Author |
|
|
|
|
|
arguably the wrong choice from an usability standpoint, but the right choice
from a performance standpoint.
there's definitely a nicer way to do this
|
|
|
|
fixes e.g. `echo */*` in dash
|
|
makes find(1) run 3x faster
|
|
|
|
|
|
this is very useful for debugging userland programs using the qemu gdb stub
|
|
dash works now :^)))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I've wanted to do this for a while, and since I've just had a relatively
large refactor commit (pcpy), this is as good of a time as any.
Typedefing structs was mostly inspired by Plan 9's coding style. It makes
some lines of code much shorter at basically no expense.
Everything related to userland kept old-style struct definitions, so as not
to force that style onto other people.
I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase,
but I didn't, just in case that'd be confusing.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useful for e.g. `hexdump -r /kdev/eth` to see packets as they come in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
similar to /dev/{stdin,stdout,stderr} on Linux, except handled by the
libc instead of the kernel
because that's the simplest way
|
|
|
|
|
|
|
|
|
|
|
|
|