projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2007-10-11 Jesper Nilsson <jesper.nilsson@axis.com>
[deliverable/binutils-gdb.git]
/
sim
/
common
/
callback.c
diff --git
a/sim/common/callback.c
b/sim/common/callback.c
index fec1d148874e955845b200bc4886729b4954bd03..f83dd547c220e49d0be3c32cbfdab0b1222e0d31 100644
(file)
--- a/
sim/common/callback.c
+++ b/
sim/common/callback.c
@@
-1136,3
+1136,10
@@
sim_cb_eprintf (host_callback *p, const char *fmt, ...)
p->evprintf_filtered (p, fmt, ap);
va_end (ap);
}
+
+int
+cb_is_stdin (host_callback *cb, int fd)
+{
+ return fdbad (cb, fd) ? 0 : fdmap (cb, fd) == 0;
+}
+
This page took
0.024212 seconds
and
4
git commands to generate.