aboutsummaryrefslogtreecommitdiff
path: root/busybox.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Turn off the printf attribute for the ?error_msg* functions, since itandersen2001-02-221-4/+4
| | | | | | | | | is ok to pass them a NULL, unlike printf. This silences a pointless warning message. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1891 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another update to the way usage messages are done by Evin Robertsonandersen2001-02-221-7/+0
| | | | | | | | | <nitfol@my-deja.com>, which makes things just a little bit smaller, but makes usage.h more readable/maintainable IMHO. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-2/+9
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in ifconfig and routeandersen2001-02-141-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Several cleanups from Manuel Novoa III.andersen2001-02-141-1/+1
| | | | | | | | | | | | | | | get_kernel_revision -- size reduction NOTE: may want to combine with get_kernel_version in insmod??? parse_mode -- size reduction, multiple settings with "," now work correctly, sticky-bit setting now implemented process_escape_sequence -- size reduction, octal code to big for char bug fixed format -- size reduction, val > LONG_MAX and hr = 1 printing bug fixed (was %ld), git-svn-id: svn://busybox.net/trunk/busybox@1800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make suffix_mult structures const. Thanks to Vladimir N. Oleynik.kraai2001-02-051-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Create find_applet_by_name function. Save 32 bytes.kraai2001-02-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1735 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix wget error message and add (and use) chomp library function.kraai2001-02-011-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1734 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-31/+1
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.andersen2001-01-251-0/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add HUMAN_READABLE define for -m and -h support in du, df, and lsrjune2001-01-221-0/+7
| | | | | | | | Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default) Fix bug #1084 git-svn-id: svn://busybox.net/trunk/busybox@1635 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better dmalloc handlingandersen2001-01-021-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1512 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix tar handling of absolute paths and excluded directories.kraai2000-12-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1470 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote dd.kraai2000-12-181-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1469 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite nc to be simpler, smaller, and to check syscalls for errors.kraai2000-12-151-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1464 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-18/+18
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed isBlank and isWildCard macros that were totally unused (should anyonemarkw2000-12-051-5/+2
| | | | | | | | need isBlank, please use isblank() in ctype.h). Converted isDecimal and isOctal into inline functions. Compiled, tested, worked. git-svn-id: svn://busybox.net/trunk/busybox@1382 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed the comments to match the code and renamed the function to a (hopefully)markw2000-12-051-1/+1
| | | | | | | more descriptive name, and as per the style guide. git-svn-id: svn://busybox.net/trunk/busybox@1379 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Flag day warning!andersen2000-12-041-2/+2
| | | | | | | | Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove #ifdef __STDC__ junk. We don't do K&R round these parts,andersen2000-12-011-2/+1
| | | | | | | so no point acting like we do. git-svn-id: svn://busybox.net/trunk/busybox@1361 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Larry Doolittle (with minor touchups from me so everything compilesandersen2000-11-301-236/+11
| | | | | | | | and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes. git-svn-id: svn://busybox.net/trunk/busybox@1354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch fromkent robotti:andersen2000-11-291-2/+2
| | | | | | | | | | | | Renamed unrpm to original rpmunpack, so you can use an included shell script called unrpm as a front end to it. There's also a shell script called undeb included for debian packages. Change undeb and unrpm scripts to work with the busybox tar and gunzip. git-svn-id: svn://busybox.net/trunk/busybox@1343 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "I will always compile before I commit."andersen2000-11-171-0/+3
| | | | | | | | | "I will always compile before I commit." "I will always compile before I commit." -Erik git-svn-id: svn://busybox.net/trunk/busybox@1324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up builtin overrides, and hack in the binary search for findingandersen2000-11-171-0/+2
| | | | | | | matching applets into the shell. git-svn-id: svn://busybox.net/trunk/busybox@1323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a new perrorMsg function, cleanup up error handling, fixed TRUE/FALSEkraai2000-10-251-0/+1
| | | | | | | uses, and other minor fixes. git-svn-id: svn://busybox.net/trunk/busybox@1239 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added a fatalPerror function to simplify error handling.kraai2000-10-251-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put getopt_usage where it belongs and added *_usage entries in busybox.[ch]markw2000-10-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1206 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added cmp and readlink applets from Matt Kraai.markw2000-10-091-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote head to perservere when it can't open a file, and share codekraai2000-09-271-0/+1
| | | | | | | with cat. git-svn-id: svn://busybox.net/trunk/busybox@1138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrote uniq to be less than a third of the size, and fixed some otherkraai2000-09-271-0/+1
| | | | | | | minor problems. git-svn-id: svn://busybox.net/trunk/busybox@1135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in busybox.h. I renamed it, and forgot to commit the newky named version.andersen2000-09-261-0/+468
-Erik git-svn-id: svn://busybox.net/trunk/busybox@1126 69ca8d6d-28ef-0310-b511-8ec308f3f277