summaryrefslogtreecommitdiffstats
path: root/include/shell.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-09-17 09:50:04 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-09-18 09:17:13 +0200
commit56ee5d3aac2d73dbe1e699000cb83eea18278e68 (patch)
treefd1d1e1251ff657b813b9273c22efdc113a8025b /include/shell.h
parent179ed619f428da8a86ddabe3033f0acdf5159236 (diff)
downloadbarebox-56ee5d3aac2d73dbe1e699000cb83eea18278e68.tar.gz
barebox-56ee5d3aac2d73dbe1e699000cb83eea18278e68.tar.xz
process_escape_sequence: add support to \$?
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/shell.h')
-rw-r--r--include/shell.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/shell.h b/include/shell.h
new file mode 100644
index 0000000000..b98cac3dc5
--- /dev/null
+++ b/include/shell.h
@@ -0,0 +1,12 @@
+/*
+ * (C) Copyright 2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+ *
+ * Under GPLv2 only
+ */
+
+#ifndef __SHELL_H__
+#define __SHELL_H__
+
+int shell_get_last_return_code(void);
+
+#endif /* __SHELL_H__ */