Rob Landley
|
61cb6ab6b9
Move #include <sys/syscall.h> into toys.h.
|
2 年之前 |
Elliott Hughes
|
42af2e52e7
Bumper typo cleanup.
|
5 年之前 |
Rob Landley
|
b8070a7425
OpenEmbedded needs commands installed in specific places.
|
5 年之前 |
Elliott Hughes
|
eb7e847adc
Be more consistent about periods in help text.
|
7 年之前 |
Rob Landley
|
d4c17cdaf1
Replace xcount_cpus() with a call to sysconf(_SC_NPROCESSORS_CONF)
|
8 年之前 |
Rob Landley
|
eb1bbc245d
Add xcount_cpus()
|
8 年之前 |
Rob Landley
|
7a3f53ba44
Mark command-local functions static.
|
9 年之前 |
Rob Landley
|
e2882b47f9
Add nproc.
|
9 年之前 |
Rob Landley
|
c0045207a7
Make toy_exec() check if argc is in optargs and deal with it there so we don't need a separate xexec_optargs().
|
9 年之前 |
Rob Landley
|
a817a02c00
Replace users of xexec(toys.optargs) with xexec_optargs(0) to avoid free/reuse bug during argument parsing.
|
11 年之前 |
Rob Landley
|
5434415c11
Use sched_{set,get}affinity directly so musl doesn't have to provide wrappers.
|
11 年之前 |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 年之前 |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 年之前 |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 年之前 |
Rob Landley
|
3a9241add9
Move commands into "posix", "lsb", and "other" menus/directories.
|
12 年之前 |