aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
AgeCommit message (Collapse)Author
2007-01-08Add xaccess()Rob Landley
2007-01-08Add rewrite(), writeall(),and xwrite() to match the read versions.Rob Landley
2007-01-07xopen() wants 2 arguments unless you're creating a file, in which case youRob Landley
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting) so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for the third argument. That way, if we feed O_CREAT to xopen() the permission 000 result should be easy to spot.
2006-11-25Add cat -v.Rob Landley
2006-11-19New option parsing infrastructure (doesn't use getopt). Hook it up toRob Landley
existing applets. Still a bit buggy, but bits of it work.
2006-11-03Implement which. Add hello world to menuconfig. Wrap the various applet mainRob Landley
functions in main.c with USE() macros so --gc-sections can strip them.
2006-11-02Add xabspath(), is_file_type(), which_in_path(), and find_in_path().Rob Landley
2006-10-30Add reread(), readall(), and xread() on the bus ride in to work...landley
2006-10-30Implement df. Add -Wall to build and fix up warnings. Add copyright notices.landley
Add error_msg() and itoa() to library. Remove argc from globals (since argv is null terminated), add optflags to globals.
2006-10-25Add xmsprintf(), xgetcwd(), xgetcwd(), find_in_path().landley
2006-10-18Next drop of toysh, plus more infratructure.landley
2006-10-05Infrastructure, first drop of toy shell, and a bit of work on df.landley