Index: uspace/app/sbi/src/os/posix.c
===================================================================
--- uspace/app/sbi/src/os/posix.c	(revision 051bc69a7034999d45c93c61a56e515474aa78e3)
+++ uspace/app/sbi/src/os/posix.c	(revision c5cb943d5d19ad0d75578f54188f2491dfd64937)
@@ -159,4 +159,25 @@
 }
 
+/** Convert character to new string.
+ *
+ * @param chr		Character
+ * @return		Newly allocated string.
+ */
+char *os_chr_to_astr(wchar_t chr)
+{
+	char *str;
+
+	str = malloc(2);
+	if (str == NULL) {
+		printf("Memory allocation error.\n");
+		exit(1);
+	}
+
+	str[0] = (char) chr;
+	str[1] = '\0';
+
+	return str;
+}
+
 #define OS_INPUT_BUFFER_SIZE 256
 static char os_input_buffer[OS_INPUT_BUFFER_SIZE];
