Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
toybox
/
280bb5942526c06211185144a5cdb4c5d05aa2f6
/
lib
/
xwrap.c
44e68a1
mount: start on option parsing, implement loopback and bind mount autodetection.
by Rob Landley
· 10 years ago
d8872c4
Introduce xfork() and make commands use it, and make some WEXITSTATUS() use WIFEXITED() and WTERMSIG()+127.
by Rob Landley
· 10 years ago
ddbaa71
Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), and posix-2008 doesn't say if fflush() covers ferror() (or can return success when the stream's error state is set), so call both.
by Rob Landley
· 10 years ago
5b40582
Group headers by standard (POSIX or LSB) or function (internationalization, networking). Move headers standards ignore (but which have been there >15 years) to lib/portability.h. Fold xregcomp into lib since it's posix.
by Rob Landley
· 11 years ago
ca1b60e
Move mkpathat to lib, remove redundant function used by patch.
by Rob Landley
· 11 years ago
59d85e2
Rename xmsprintf() to just xmprintf().
by Rob Landley
· 11 years ago
dc37317
Pass through all the readfile() arguments from xreadfile().
by Rob Landley
· 11 years ago
afba5b8
Fix some issues raised (albeit indirectly) by Isaac Dunham.
by Rob Landley
· 11 years ago
5ec4ab3
Add xgetpwnam() to lib/xwrap.c.
by Rob Landley
· 11 years ago
9e44a58
Move xgetpwuid() and xgetgrgid() into xwrap.c
by Rob Landley
· 11 years ago
3704f82
Give xstrncpy() a more informative error message.
by Rob Landley
· 11 years ago
46e8e1d
Fix for xpidfile spotted by Felix Janda.
by Rob Landley
· 11 years ago
8fdcfdb
Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL.
by Rob Landley
· 11 years ago
d04dc1f
Add scripts/single.sh to build individual non-multiplexed standalone commands.
by Rob Landley
· 11 years ago
dccfb2a
syslogd: cleanup
by Felix Janda
· 11 years ago
1aa7511
Forgot to check in xfdopen(). My bad.
by Rob Landley
· 11 years ago
bb504f3
Start of TOYBOX_SINGLE support, for building standalone commands with no multiplexer.
by Rob Landley
· 11 years ago
7275667
Add timeout, factoring out common code from sleep.
by Rob Landley
· 11 years ago
d390493
Split lib/xwrap.c from lib/lib.c
by Rob Landley
· 11 years ago