OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
"printf %x 64" wasn't working right on 32 bit because a variable type was wrong.
[android-x86/external-toybox.git]
/
toys
/
posix
/
tty.c
diff --git
a/toys/posix/tty.c
b/toys/posix/tty.c
index
578c9af
..
1694d84
100644
(file)
--- a/
toys/posix/tty.c
+++ b/
toys/posix/tty.c
@@
-10,12
+10,14
@@
config TTY
bool "tty"
default y
help
+ usage: tty [-s]
+
Show filename of terminal connected to stdin.
Prints "not a tty" and exits with nonzero status if no terminal
is connected to stdin.
- -s silent
mode
+ -s silent
, exit code only
*/
#include "toys.h"