From 824d572b3f496d92deb0512412c000899995f186 Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 4 Aug 2004 04:52:37 -0700 Subject: [PATCH] getuser darcs-hash:20040804115237-24bed-05bc84b2b6260388c093f289f12caa5351ce24ac.gz --- src/org/ibex/nestedvm/support_aux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/org/ibex/nestedvm/support_aux.c b/src/org/ibex/nestedvm/support_aux.c index 03bf2e9..0be4859 100644 --- a/src/org/ibex/nestedvm/support_aux.c +++ b/src/org/ibex/nestedvm/support_aux.c @@ -521,6 +521,11 @@ int vasprintf(char **ret, const char *fmt, va_list ap) { } } +// FIXME: This needs to be in a header +char *getlogin() { + return getenv("USER"); +} + /* * Other People's Code -- 1.7.10.4