OSDN Git Service

Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,
authorRob Landley <rob@landley.net>
Thu, 4 Aug 2016 15:16:59 +0000 (10:16 -0500)
committerRob Landley <rob@landley.net>
Thu, 4 Aug 2016 15:16:59 +0000 (10:16 -0500)
commit027a73a903af306449710ce12bc09e0e3550c6c9
treea415cb11fa6f2b34e63b8259fc52342aaa8fec75
parent145b7024b5fbb74f16d5e403fb004ff8209bc4a0
Make xopen() skip stdin/stdout/stderr, add xopen_stdio() if you want stdout,
add xopenro() that takes one argument and understands "-" means stdin,
and switch over lots of users.
37 files changed:
lib/lib.c
lib/lib.h
lib/password.c
lib/xwrap.c
toys/android/load_policy.c
toys/net/rfkill.c
toys/other/blockdev.c
toys/other/fsfreeze.c
toys/other/insmod.c
toys/other/makedevs.c
toys/other/nsenter.c
toys/other/oneit.c
toys/other/shred.c
toys/other/sysctl.c
toys/pending/arp.c
toys/pending/crond.c
toys/pending/crontab.c
toys/pending/dd.c
toys/pending/dhcp.c
toys/pending/dumpleases.c
toys/pending/getty.c
toys/pending/klogd.c
toys/pending/last.c
toys/pending/mdev.c
toys/pending/modprobe.c
toys/pending/openvt.c
toys/pending/sulogin.c
toys/pending/tftp.c
toys/posix/comm.c
toys/posix/cut.c
toys/posix/find.c
toys/posix/grep.c
toys/posix/nohup.c
toys/posix/patch.c
toys/posix/sed.c
toys/posix/uudecode.c
toys/posix/uuencode.c